Articles → WCF → Difference Between WCF And Web Service
Difference Between WCF And Web Service
- WCF supports various protocols like HTTP, HTTPS, TCP, Named Pipes and MSMQ whereas it supports only HTTP and HTTPS protocols.
- Web service can only be hosted on IIS whereas WCF can be hosted using console application, windows application and windows service as well.
- Web Services Use XmlSerializer but WCF Uses DataContractSerializer which is better in Performance as compared to XmlSerializer.
- In web service proxy class can be created using wsdl.exe utility whereas in WCF proxy class can be created using svcutil.exe utility.