ASMX
1ASMX uses the XmlSerializer to translate classes into XML for communication, and to translate the XML back into classes on the receiver's end.
2.Only available in IIS
3.Only callable from HTTP
4.Easy and simple to write and configure
5.ASMX services use the HTTP transport protocol for communications with Internet Information Services (IIS) as the host.
6.Authentication and authorization with ASMX is done using IIS and ASP.NET security configurations and transport layer security.
WCF
1.WCF uses a DataContractSerializer to perform the same translation
2.used with HTTP (REST and SOAP), TCP/IP, MSMQ and many more protocols.
3. hosted in IIS, a Windows Service, a Winforms application, a console app - you have total freedom.
4.WCF can use the same security components as ASMX, such as transport layer security and WSE
5.WCF services can also use the HTTP protocol, but unlike ASMX services, you also have the option to use other transport protocols. The following protocols are supported by WCF:
a) Hypertext Transfer Protocol (HTTP)
b)Transmission Control Protocol (TCP)
c)Message Queuing (also known as MSMQ)
d)Named pipes
Maheshvishnu, if this helps please login to Mark As Answer. | Alert Moderator