ASP.NET 3.5 Web Services

I am going to launch my first web service in ASP.NET. when searching google it shows

RestFul Service

SOAP services

WCF 

Which one is stable? What is the difference between the two?

+3
source share
2 answers

Define "stable"; -p

If you mean "time in the field", then for .NET the order will be SOAP (asmx), WCF, REST

Note that there is a big shift between data-oriented REST services (typical of ADO.NET data services) and WCF / asmx, which are work-oriented.

REST, , ; WCF/asmx ( ). , , , - ( WCF) ( ..).

WCF , -, .NET, WSE ( asmx WSE3). , WCF , asmx .

+4

WCF - .

SOAP vs. REST - .

SOAP - , WSDL XSD - , . .

REST, , , Just-point-your-code-at-a-URL-and-get-XML-back. , , , "" - , , - , , -.

, , , , .

+4
source

Source: https://habr.com/ru/post/1726174/


All Articles