Should I use WCF or the ASMX web service?

I was looking for an asp.net web service that uses .net 4.0, but every time I select 4.0, the choice of web service goes away.

Someone suggested to me that maybe they (MS) want you to use WCF. I know little about this, but he said that they look like web services, but better. So, did anyone get a comparison guide?

+3
source share
3 answers

First ... FORGET what Microsoft WANTS you use, you must use the technology that best solves your problem.

WCF ASMX . , , , . WCF , , ASMX, IIS.

+1
+2

Windows Communication Foundation (WCF) - .

- - , WCF.

, - WCF.

In .NET 4.0, Microsoft canceled the classic ASMX web services and is directing everyone to WCF. You can create web services that function just like your ASMX web services in WCF, it's just a matter of determining the correct binding.

+1
source

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


All Articles