tags:

views:

206

answers:

2

I'm just getting started with WCF, and while it's nice if you directly generate a new assembly with WCF service (where debug automatically picks up that it contains WCF services, and shows them to you), and it helps you to write boilerplate (by using the Add Service Reference ...) I have a hard time to convert a small application from a home-grown messaging system to WCF.

It's an already existing assembly, so if I add a WCF class, I cannot easily debug it (running debug just says the DLL cannot be started as it's a DLL), and I want to host the service from an own application. However, this breaks the "Add Service Stuff", as it cannot find my service (I control both sides, but I lack a function to generate a service reference directly from the service interface -- at least, I cannot find it.)

Is there a good tutorial for getting started with WCF without using wizards and other stuff, just to get some bare-bone RCP working? I understand that WCF can do much more, but I couldn't find a good tutorial for using WCF for really simple RCP (just binary send/receive, and manually configuring the ports...)

+2  A: 

Check out these two screen casts - excellent stuff, both designed to "demystify" and make WCF more approachable and more intuitive:

Also, Aaron Skonnard had an excellent screencast series on how to build your first WCF service and covers lots of ground.

Here are a few blog posts and articles on how to do WCF without wizards:

Marc

marc_s
Miguels' screencast was interesting, but I cannot seem to figure out how you do all this hand crafting for Silverlight. Any suggestions @marc_s?
Richard B
@RichardB: I don't have enough Silverlight background to really tell. Also, as far as I know, you cannot really share common assemblies between Silverlight and full .NET (just yet), so this mechanism might not be applicable to Silverlight (at least for now).
marc_s
+1  A: 

If you want to learn more wcf check these 15 part series

Yassir