What are the benefits of using WCF?

.net, .net-3.5, c#, wcf

Solution

There's a bit of a learning curve with WCF, but once you learn it it's no harder to implement than an asmx web services. One advantage is you can easily switch protocols and serialization from binary remoting all the way to web protocols. It's also easy to host either in IIS or out.

Other languages can communicate with the web protocols. Binary, not so much...

I just dug into the Getting Started Tutorial. It does a good job of showing the relative ease-of-use. From there, take a look at Hosting and more detailed Features.

Problem

We currently just utilize soap webservices for all our communication but have been thinking about moving to WCF instead. What are the benefits of using it over an asmx service? If we do go with a WCF service, can other languages still communicate with it? SOAP is standardized and all languages can interact with it. Are there any really good examples of how to get started with WCF that show the benefits of it over soap? EDIT - I just found this question which is quite helpful. - The Getting Started Tutorial is great.

Original source

Related problems