You must Sign In to post a response.
Category: WCF
#766422
Benefits of WCF are as follows
1. Enables building services that support multiple transport protocols ((HTTP, TCP, UDP, and custom transports)
2. Enables building services that support multiple encodings (Text, MTOM, and Binary)
3. Supports building services with WS-* standards like Reliable Messaging, Transactions, Message Security.
4. Supports Request-Reply, One Way, and Duplex message exchange patterns.
5. WCF SOAP services can be described in WSDL allowing automated tools to generate client proxies even for services with complex schemas.
Web has some limitation like:
1. Enables building services that support HTTP only
2. Enables building Web APIs that support, XML and JSON
Thanks
Koolprasd2003
Editor, DotNetSpider MVM
Microsoft MVP 2014 [ASP.NET/IIS]
1. Enables building services that support multiple transport protocols ((HTTP, TCP, UDP, and custom transports)
2. Enables building services that support multiple encodings (Text, MTOM, and Binary)
3. Supports building services with WS-* standards like Reliable Messaging, Transactions, Message Security.
4. Supports Request-Reply, One Way, and Duplex message exchange patterns.
5. WCF SOAP services can be described in WSDL allowing automated tools to generate client proxies even for services with complex schemas.
Web has some limitation like:
1. Enables building services that support HTTP only
2. Enables building Web APIs that support, XML and JSON
Thanks
Koolprasd2003
Editor, DotNetSpider MVM
Microsoft MVP 2014 [ASP.NET/IIS]
#766430
Hi,
If you want to know in which scenario you want to use WCF and in which scenario you want to use Web API, then refer below link this might be helpful to you to understand better about those 2 concepts.
http://www.c-sharpcorner.com/UploadFile/2b481f/difference-between-Asp-Net-web-api-and-wcf/
--------------------------------------------------------------------------------
Give respect to your work, Instead of trying to impress your boss.
N@veen
Blog : http://naveens-dotnet.blogspot.in/
If you want to know in which scenario you want to use WCF and in which scenario you want to use Web API, then refer below link this might be helpful to you to understand better about those 2 concepts.
http://www.c-sharpcorner.com/UploadFile/2b481f/difference-between-Asp-Net-web-api-and-wcf/
--------------------------------------------------------------------------------
Give respect to your work, Instead of trying to impress your boss.
N@veen
Blog : http://naveens-dotnet.blogspot.in/
#766451
Hi,
With the use of Windows Communication Foundation(WCF) we can create services used in multiple platforms where as WEB API is mostly usefull when we are dealing with the internet services.
You may find some important details regarding there comparison over here:
http://www.c-sharpcorner.com/UploadFile/8a67c0/who-is-winner-web-api-or-wcf/
With the use of Windows Communication Foundation(WCF) we can create services used in multiple platforms where as WEB API is mostly usefull when we are dealing with the internet services.
You may find some important details regarding there comparison over here:
http://www.c-sharpcorner.com/UploadFile/8a67c0/who-is-winner-web-api-or-wcf/
Return to Return to Discussion Forum