ASMX web Service:
- ASMX is refer Web Service that implements a contract that defines a request-reply communication pattern.
- Can be hosted in IIS only.
- Support for HTTP only.
- Limited Security.
- Uses XmlSerialize.
Windows Communication Foundation (WCF):
- Multiple Hosting Option as IIS, WAS, Console, WinNT Service.
- Support for HTTP, TCP, MSMQ NamedPipes.
- A Consistent Security Programming Model.
- Uses DataContractSerialize