Difference between WCF REST VS WEB API

I think WCF uses SOAP protocol. WebAPI uses a quiescent architecture. But WCF supports both SOAP and REST.

  • What is the difference between WCF REST and WebAPI?
  • Why is there a general preference for WebAPI?
+3


source to share


1 answer


WCF is protocol agnostic. It can work through http, tcpip, net pipe, etc. The web API is more suitable for creating a priori rest.



However, your question is too broad to be answered. Learn more about both technologies and come back with more specific questions.

+3


source







All Articles