Facilities for client, WCF or Web API? [closed]

0

I need to create a Web service to insert data on a database that needs validation to ensure data integrity.

I have as a requirement, to facilitate the use of my "clients". So, should I opt for WCF (SOAP) or Web API (Rest)?

    
asked by anonymous 11.06.2014 / 19:17

2 answers

2

As always, the answer is "it depends." What do you mean by "facilitating" customers? What functionalities are required for the service? How will the service be exposed, especially in relation to security issues?

WCF (or some other SOAP alternative) has the advantage that it is relatively easy to create a proxy (a class with methods equivalent to service operations) that the client can use to call the service. If you have strong security requirements (such as client authentication via certificates) or need typical web services features (such as reliable messaging , WS-Security

11.06.2014 / 19:54
2

Both technologies can help you. In my opinion, you should opt for the technology that is closest to your knowledge.

For example, WEB API supports HTTP only. WCF already supports several other protocols, such as http, TCP, and UDP. There are other differences that should help you choose.

This article can help you. link

    
11.06.2014 / 19:44