share
Stack OverflowWCF for the totally clueless
[+67] [9] Kyralessa
[2008-11-17 16:22:39]
[ wcf tutorials .net-3.0 ]
[ http://stackoverflow.com/questions/296040/wcf-for-the-totally-clueless ] [DELETED]

I've been hearing about WCF for a couple of years now, and I still don't get it. I understand that it's supposed to be a replacement for web services, remoting, MSMQ, and a few other things.

The trouble is, every tutorial I find assumes that I've done one of those things, and it tends to follow the line of "Here are the differences; you know the rest." But I don't know the rest!

So: Do you know of any tutorial articles, books, etc. that assume that the reader knows C# or VB .NET, but nothing about web services, MSMQ, remoting, and all those other technologies that WCF replaces?

(2) Not for the first time, a 'not constructive' question has been massively useful for me. Is there no way that these questions could fit into the SO world somehow? (Apologies if this is a stupid place to raise this point (it clearly is), and yet more apologies if it is a debate which has been completed elsewhere too) - Ted
[+13] [2008-11-17 16:39:10] Panos

Here are some resources from MSDN that I do not think that require any prior knowledge:

[1] http://social.msdn.microsoft.com/content/en-us/msft/netframework/wcf/screencasts
[2] http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?culture=en-US&EventID=1032344313&CountryCode=US
[3] http://social.msdn.microsoft.com/content/en-us/msft/netframework/wcf/codesamples
[4] http://social.msdn.microsoft.com/content/en-us/msft/netframework/wcf/Resources

Here is a full series of Michelle's webcasts: dasblonde.net/2007/06/24/WCFWebcastSeries.aspx - bychkov
Note: You'll need to use IE to try viewing/downloading the webcasts. I wasn't able to do it with Firefox. So frustrating! >_< - Ecyrb
1
[+13] [2008-11-17 16:47:50] Tad Donaghe

" Learning WCF [1]" by Michele Leroux Bustamante is an excellent book as well. It contains a ton of step-by-step tutorials for just about every scenario that one can think of with WCF.

From what I've seen WCF has a pretty steep learning curve up until you just "get it" - there'll be a moment of epiphany where you just go, "OH YEAH!!" It's not as complicated as it looks at first blush.

Seriously though, take a look at this book. The version that I have focuses on VS 2005 implementation which is a bit different from what you'll find in VS 2008. Maybe there's a new edition, but either way it's not impossible to follow.

Keep at it and you'll get it.

[1] http://oreilly.com/catalog/9780596101626/index.html

There is a reprint which covers VS2008 - see the author's website - MarkJ
it s actually pretty straight forward and the learning curve is not that high. lets say two days. - DarthVader
@Terry link is broken. - RHaguiuda
May have been superseded with a newer edition. Just search Amazon for Michele Leroux Bustamante. - Tad Donaghe
2
[+6] [2008-11-17 16:42:31] Corbin March

I thought the MSDN Getting Started Tutorial [1] wasn't bad. It walks you through step by step without many assumptions. It also contains references to detailed topics when you're ready to dig deeper.

[1] http://msdn.microsoft.com/en-us/library/ms734712.aspx

3
[+5] [2009-01-08 09:37:31] Sam

I'd recommend "Programming WCF Services" by Juval Löwy. Especially if you want to grow your service big, this book is a real help!


(2) Yeap- except this book isn't really aimed at beginners. - RichardOD
4
[+1] [2010-05-02 21:34:57] msulis

Tutorials and webcasts and books are great, but the only way I was really able to synthesize it all was to start making things. Build a couple projects, play with the endpoint configurations, introduce some deliberate faults to see how it works.

THEN after you've done some playing around, go back and (re)read Juval Lowy's book, and you'll get a lot out of it.


5
[0] [2009-10-05 10:42:20] RichardOD

If you want to know the rest, particularly the differences between things like MSMQ and Web Services, I'd thoroughly recommend you read the first few chapters of the book "Enterprise Integration Patterns". Perhaps look at this site [1] and read about the various integration styles.

[1] http://www.eaipatterns.com/

6
[0] [2011-06-21 13:31:43] msjonathan

Just like Terry said the Learning WCF of Michelle is just great, ease written, nice examples. After that you can go further with the books of Microsoft / Judal Lovy (Programming WCF services). If you'd prefer online videos you should take a look at: http://www.pluralsight-training.net/microsoft/ (You will have to pay to view the vids but it's totally worth it).


7
[0] [2011-07-11 18:21:52] Brice

Learn The ABCs Of Programming Windows Communication Foundation: http://msdn.microsoft.com/en-us/magazine/cc163647.aspx


8
[0] [2011-12-22 10:57:35] nootn

I actually went on a 5 day course called "WCF Master Class".. best, most valuable course I ever went on:

http://idesign.net/idesign/DesktopDefault.aspx?tabindex=0&tabid=20 [1]

WCF is a big beast. Sure you can "get by" googling and so on, but the best way is to have face-to-face training, you will take so much more in.

This book is good and will definitely give you the core knowledge you need: http://www.amazon.com/Programming-WCF-Services-Juval-Lowy/dp/0596526997 [2]

Don't just "wing it", either read the book and take note.. or have formal training. WCF is excellent but only if you completely understand it.

[1] http://idesign.net/idesign/DesktopDefault.aspx?tabindex=0&tabid=20
[2] http://rads.stackoverflow.com/amzn/click/0596526997

9