tags:

views:

743

answers:

2

Hi i have some REST services created with WCF Rest Started Kit and i need to host these services in a WPF app. can someone point in the right direction?

+2  A: 

There's a really good project in Codeplex called "WCF Guidance for WPF developers" which has white papers, articles, mini screencast to show you a lot of ways to use and leverage WCF if you're a WPF developer:

http://wcfguidanceforwpf.codeplex.com/

Not sure if they have anything on REST webservices - but go have a look!

For a series of intros to WCF REST Starter Kit services per se, go see the Pluralsight web site and their screencast series - excellent resources!

http://www.pluralsight.com/main/screencasts/default.aspx

Basically, hosting a WCF REST service in your WPF app is no different from hosting any other WCF service, so I do believe all the excellent Pluralsight screencasts on hosting your own service should definitely give you a heads-up on how to proceeed!

Marc

marc_s
I can't thank you enough for pointing me in this direction.
Michael Hedgpeth
A: 

This example is used as a part of a bigger demo (developing Push services to Windows Phone 7 devices), but at the very least contains an excellent example of a simple REST WCF Service hosted on an WPF Client, check it out, you'll just need to follow it up to step 27:

http://channel9.msdn.com/learn/courses/WP7TrainingKit/WP7Silverlight/UsingPushNotificationsLab/Exercise-1-Introduction-to-Windows-Phone-7-Raw-Notifications-for-Updates/

murki