Articles → WCF → Difference Between WCF And Web Service

Difference Between WCF And Web Service



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



Posted By  -  Karan Gupta
 
Posted On  -  Friday, May 27, 2022

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250