且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

ASMX Web服务,ASP.NET Web API,REST服务,WCF和WCF REST中的大混乱

更新时间:2023-02-15 23:03:29

查看这些链接 [ ^ ]



[ ^ ]


Hi friends,

I am not new in Web-Services and trying to learn and implement new things. But I am confused in terms are being used and the way they are used, there are many articles but they are relating to each other and making me bit confuse.

1) ASMX WEBSERVICES
2) REST SERVICES
3) WEB API
4) ASP.NET WEB API
5) WCF
6) WCF REST SERVICE
7) REST WCF



Please correct me If I have wrong information about them because before learn them it is good to first know them clearly:

A. 3 (WEB API) and 4 (ASP.NET WEB API) are same just the name difference. Use over HTTP protocols with VERBS. Unlike WCF, it does not use any endpoints. Data format use "XML","JSON" and "HTML"
But in WEB APIs it is typical to deal with CORS.

B. Is WCF REST SERVICE same as "WEB API" or "ASP.NET WEB API"? If big YES, then why in WCF?

C. 1 (ASMX WEBSERVICES) are just old web services that we use deploy at IIS and consume with WSDL on SOAP data is consume in XML format.




Please guide me...
Thanks

Check out these links [^]

[^]