Suggestions for WPF & WCF projects

I am trying to work on a home project so I can get some practice working on WPF & WCF applications. Can anyone give out suggestions on a sample WPF and or WCF applications that I can develop?

A project I was thinking about was to help regulate my teenage son's internet usage.

Windows has a UI-based tool to control logon times. A WPF front-end would be nice to duplicate or improve on that tool, but use it to set network usage times. This way, kids could do school work (not prohibited from logging on their computer) but not be distracted by facebook.

The WCF portion would be a WCF service on your computer and WCF client on the kids' computers. The kids' computers would periodically check for restriction updates. If network access is current OFF, then the client (on the kids' computer) would turn off the network adapters (both ethernet and Wifi), turn them on every few minutes to check for updates, then turn them off again.

Just define a data contract for whatever structure/class you want to represent usage, and the service would have an operation contract with a single call, like:

[ServiceContract]
interface INetworkControl
{
    [OperationContract]
    NetworkRestriction GetNetworkRestriction();
}

Maybe it would need more; that would be up to you (i.e., pass the computer name as a parameter, or perhaps logged on user if you wanted to control by user, who knows).

Maybe a peer to peer program ?

Not sure...I learned the 2 technologies by writing a facebook API based on WCF and writing a WPF frontend to browse the albums of my friends. My reasoning was that if WCF can do form-encoded POSTs with bare XML responses then it should be up for a lot of things.

I have bought an excellent program/tutorial here :

http://www.dofactory.com/Framework/Framework.aspx

I includes a program where WCF services are consumed by WPF (as well as by Windows Forms and a ASP.NET website).

It's about design patterns basically, but using services as datasupplier is a design pattern too of course.

(for the record : I really am not advertising for this company :-))

I think this might give you plenty ideas for your own programs, and if the aim is getting to know both technologies, it would be an excellent choice.

Related Articles
  • I am using Visual Studio 2010 and I am trying to create a solution containing an N tier architecture. I have a project each for every tier Common DAL Business // Service // WCF ServiceHost Web the projects are listed above are also called in the same
  • My question is: How do I create an Android stand-alone test project for an Android library? I've got my Android library (which is marked as "Library" in the project settings) and an Android project containing my JUnit test classes. The test proj
  • i was hoping someone could help me in generating a javadoc for my eclipse project. When i select 'Generate Javadoc' from the project menu I get lots of errors like cannot find symbol symbol : class ListView everytime a class referencing an Android AP
  • Possible Duplicate: WPF chart controls I'm looking for a .NET Framework Chart Controls for WPF. I've found this one : http://archive.msdn.microsoft.com/mschart But it seems that it doesn't support WPF. Is there anyone who already used .NET Chart Cont
  • Can anyone suggest me any tool for designing user interface for WPF that can be used in Powerbuilder. Before this I found a few tools such https://mui.codeplex.com/ and http://www.nuget.org/packages/MahApps.Metro but I got problem to use those in my
  • I would like to let the users of my apps (C# + WPF) to build their own themes and skins. What is the best way to achive that? Are there some examples or maybe some sort of "skin engine" I need to look for? Coming from web development I usually u
  • I am trying to create an Android project on Windows using Cordova 2.2.0 (PhoneGap). According to this blog post this command should work - create <project_folder_path> <package_name> <project_name> But I am getting a message "Projec
  • Everywhere I look for information on Windsor or Spring.net its always in reference to MVC. Is there any point trying to implement it for web forms projects or wcf? It just so happens that the nature of an ASP.NET MVC web application lends itself extr
  • Suppose I think I have a great idea for some feature that should be in python's standard library. Not something of the magnitude of a new keyword etc, just a suggestion for another decorator that would help a lot, IMO. How can I suggest such a featur
You Might Also Like