1.

What is the difference between ASP.NET Web API and WCF?

Answer»
Web API
WCF
It is a web Application Programming Interface
It is a Windows Communication Foundation
It uses HTTP which is suitable for various protocols which support on various browser
Multiple protocols like: HTTP, HTTPS, Name Pipes, MSMQ,  ETC., are supported and is allowed to switch between any of them
Web API   a SIMPLE class file with .cs (C#) extension
The Extension of WCF service is .svc
Web API support JSON or XML
It support JSON,XML,ATOM data format
It is not open source but it can be UNDERSTOOD by the client who knows the Xml
If the client knows the XML then it doesn't meant for them


Discussion

No Comment Found