There are lots of article out there to explain you the difference between WCF and Web Api. But while working in practical scenarios which one to choose ? In this article I will cover the difference from the pragmatic point of view which should help you to choose the best among WCF and web api.
WCF
WCF Service Instance- PerCall, PerSession, Single
Do you know we can control the instance creation of WCF service class? Yes, in WCF we can control the WCF service instance unlike WebAPI. [Read more…] about WCF Service Instance- PerCall, PerSession, Single
Adding WCF Service reference to Client
In this article I will show how to add a WCF service reference to the client and what role does service metadata exchange plays. As I discussed in one of my previous article how to create and host the WCF service in C#. In that article I have created the service without using the WCF service template provided by the visual studio.
WCF Bindings and Types Explained
In this article I will discuss about the various WCF bindings and associated behaviours. In one of my article I have discussed how we can create self hosted WCF service in C#. In that project I have used basicHttpBinding to communicate between client and the host. If you want to know about the WCF proxy class, you can read this article.
Using and Generating WCF Proxy class
In this article I will discuss about the WCF proxy class. Basically this article will include what is a WCF proxy class and ways to generate it on the client. In my previous articles I have discussed about the WCF contracts and creating a WCF service from scratch. I will use C# language for this article.