Hosting WCF Rest Services in WPF Application - wcf

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?

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

Related

WCF Service communication using MonoTouch

Can anyone point me in the right direction for where to start when calling a WCF Service from Monotouch?
I am developing an IPad App using Monotouch and its data needs to be provided by a WCF Service
Paul
As igor said in his comment, try http://docs.xamarin.com/ios/Guides/Application_Fundamentals/Introduction_to_Web_Services#Consuming_WCF_Services for a really good introduction.
Also, this video may help http://www.youtube.com/watch?v=BV76V_LVqpM
And there are also articles available on how to do cross platform wcf clients - eg http://sim4all.com/blogging/?p=173

Tutorial on consuming WCF 4.0 with Asp.net in Vs2010

I want a good tutorial with WCF on VS2010. This service will be consumed in an ASP.Net Mvc 2/3.
The development will be done in VS2010.
This is a good start, but still not exactly what I need.
Can anyone recommend a good tutorial?
The link you have provided is very good, it has shown all the steps of creating and consuming WCF service. The only difference in your case is, the client. You want consume WCF service in ASP.Net MVC, and in the tutorial the client is console app.
Following are some of the links which might help you
Scott Guthrie's Nerd Dinner walkthrough to get a really good understanding of MVC basics.
How to Configure wcf service programatically
Blogs on how to write a Layered ASP.NET MVC Applicaiton with a WCF Service
Part I (General Concepts)
Part II (Building a Repository)
Part III (Building The Service)
Part IV (Using The Service)
Hope this helps you.

how do i convert my API hosted in remoting to WCF

i have a API which is hosted using Remoting for security and creating a business logic which is shared among all my other applications
now i want to convert this API into WCF do i need to rewrite it or is there any option available
Some great resources out there on the web for this topic:
From .NET Remoting to the Windows Communication Foundation (WCF)
Migrating .NET Remoting to WCF (and even ASMX!)
And a lot more - just Google or Bing for them!
Given that your application is "layered" - so the business logic resides in its own classes - this should be fairly straightforward.
Good places to start to learn WCF are MSDN here: http://msdn.microsoft.com/en-us/library/ms734712.aspx and the "fish book", "Programming WCF Services", here: http://shop.oreilly.com/product/9780596526993.do

Do we need Web Service working experience to learn/work on WCF for web application?

I have not worked on Web Services, but now I am planning to work on WCF Services in my next web application project. Do we need to have prior working experience on Web Services to work on WCF ?
can we start learning/working on WCF directly with out working experience in Web Services ?
You do not need any prior experience in web services to use WCF, though it would of course help in some situations. Having said that, WCF does have a learning curve (like everything), so you should consider going through some training, like the excellent Pluralsight training.
In addition to some sort of training, a must have resource for WCF in my opinion is Juval Lowy's book, Programming WCF Services.
Good luck!
What do you mean by Web Services? Do you mean ASP.NET Web Services (ASMX)? If so, you don't need experience with them to learn WCF.
WCF is API for creating web services (and remote services generally) so once you start learning WCF you will start learning how to create and work with web services.
I think yes. It should not be a problem to write a WCF service even if you do not have web service development background. At least, I did not have this experience at the beginning :). I have posted a link to good WCF book at:
Recommended beginner's learning resources for WCF

Tutorial on Consuming a WCF service in ASP.Net web site?

I'm attempting to create my first WCF service.
I've created the service and now I'm trying to call it from a asp.net (vb) web site and I've tried adding a web reference to it and using the scvutil.exe to consume the service.
So far neither have worked. It's not letting me declare the service in my code. If someone could point me to a good tutorial on how to consume a WCF service in an ASP.Net web site that would be great.
I've found numerous on how to use them with AJAX or silverlight or windows apps but nothing on using it in just a plain old website.
Please see Beginner's Guide to Windows Communication Foundation. It's part of the WCF Developer Center on MSDN, which is full of good resources.
The link above is broken. Some other links I've found while searching for it:
Developing Service-Oriented Applications
Windows Communication Foundation
Conceptual Overview
Getting Started Tutorial
How to: Create a Windows Communication Foundation Client
Basic WCF Programming
Just add service reference, use the service reference as using "reference1.xxxx" and then use the client code.
That's all after the initialization. It works for me. Let me know if you require any help.