What is the difference between Visual Studio settings: ASP.NET Web Service and WCF Service

I see that there are two options that, as I know, can be used in web services ... WCF, obviously, and ASP.NET Web Services. Who cares? I just started collecting WCF lately and have had little influence on web services in the past, but I'm certainly not an expert.

+4
source share
3 answers

it's pretty easy to spot the differences.

ASP.NET Web Method is called ASMX [due to file extension] (check 4GuysFromRolla about this, they have a good tutorial )

-, ( WS) (). ... , , ..

[] - , , ASMX /, ( ... !)

WCF -, .NET( ) ( ... ! -), WCF IIS, , (, ), TCP/IP .., , WCF - , -. , ASMX IIS -.

WCF SSL ( ASMX WSE - -), , ( ASMX MTOM - ).

, , , , XML, .. ..:)

, , .

: -, , ASMX, , - , WCF!

:

+8

- ASP.NET - Microsoft.

WCF - ASP.NET .NET. WCF , , , , .

WCF, .

+1

- ASP.NET - OKAY - HTTP, IIS, .

WCF supports the path to more transport protocols (HTTP in different ways, TCP, MSMQ, etc.), has a much richer security model (credentials, federated security) and offers hosting options - self-hosting in an application or Windows service, IIS or WAS etc.

In short: if you are starting now, be sure to check out WCF!

Mark

0
source

All Articles