user3875617
user3875617

Reputation:

Difference between WCF REST VS WEB API

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

  1. What is difference between WCF REST and WebAPI?
  2. Why is there a general preference for WebAPI?

Upvotes: 3

Views: 2898

Answers (1)

Oscar
Oscar

Reputation: 13960

WCF is protocol agnostic. It can run over http, tcpip, net pipes, etc. Web API is more suited for building rest apis.

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

Upvotes: 3

Related Questions