Loading

Windows Communication Foundation (WCF)

Difference between WCF and Web API.. The Complete Windows Communication Foundation (WCF) Developer Course 2023 [Videos].

WCF is used to create a distributed and interoperable Applications. It provides a framework which is used for building service-oriented-connected applications for the transmission of the data as an asynchronous, from one service-point to other service-point. Previously known as Indigo and is a framework for building, configuring, and deploying network-distributed services.

Web Application Programming Interface:
To create web applications ASP.NET provide the 3 development styles which are ASP.NET Web Pages, ASP.NET MVC, Web Forms.It is like a webservice or WCF service but the exception is that it only supports HTTP protocol.

Difference between WCF and Web API:

SR.NO.WCFWEB API
1WCF ships with .NET framework to create secure, reliable, and high profile development solutions.While, WEB API is a open source and also ships with .NET framework.
2WCF offers supports for limited RESTFUL service.WEB API is ideal for building RESTFUL services.
3WCF used the web.config and attributes to configure a HttpConfiguration classWeb API can be configured using web.config service.
4It depend on the attributes based programming model.WEB API maps http verbs to methods
5WCF does not provide any support for MVC features like controllers, routing, filter, auction results, etc.ASP.NET Web API supports MVC features like routing, controllers, results, filter, action, etc.
6It is not open source software.It is shipped with.Net framework.It is also available as an independent download.
7It rely on IIS hosting, Self-hosting & works activation services.It rely on Self-hosting & IIS hosting.

See All

Comments (739 Comments)

Submit Your Comment

See All Posts

Related Posts

Windows Communication Foundation (WCF) / Blog

What is WCF?

WCF stands for Windows Communication Foundation. It is basically used to create a distributed and interoperable Application. WCF Applications came into the picture in .Net 3.0 Framework. This is a framework, which is used for creating Service oriented Applications. You can send the data asynchronously from one end point to another. I think you all know about Web Service and are thinking, if we already have Web Services and accessing on a remote basis then why did WCF come into picture?
22-Apr-2022 /50 /739

Windows Communication Foundation (WCF) / Blog

Major differences that exist between WCF and a Web service.

WCF (Windows Communication Foundation): WCF, as the name suggests, is a unified .NET framework that is used to develop service-oriented applications. It allows you to develop applications that can communicate using different communication mechanisms.
22-Apr-2022 /50 /739

Windows Communication Foundation (WCF) / Blog

Difference between WCF and Web API.

WCF is used to create a distributed and interoperable Applications. It provides a framework which is used for building service-oriented-connected applications for the transmission of the data as an asynchronous, from one service-point to other service-point. Previously known as Indigo and is a framework for building, configuring, and deploying network-distributed services.
22-Apr-2022 /50 /739