Windows Communication Foundation - SPLessons

WCF Versus Web Services

Home > Lesson > Chapter 4
SPLessons 5 Steps, 3 Clicks
5 Steps - 3 Clicks

WCF Versus Web Services

WCF Vs Web Services

WCF Services

shape Differences

Web Services WCF Services
Web Service file will have a default extension of .Asmx file. WCF Service file will have a default extension of .Svc file.
Web Service does not Provide good security WCF provides good security.
Web Service does not have control over the service classes. WCF Service will have control over the classes.
Web Service supports only one hosting, i.e. at IIS only. WCF supports multiple hosting options like managed environment, windows services, IIS, and in WAS.
Web Service is not reliable and flexible. WCF is most reliable and flexible.
Web service execution performance is very slow. WCF's Execution performance is fast.
Web Service does not support the transaction. WCF Services supports Transactions.
Web Service supports only HTTP Communication. Supports HTTP, TCP, MSMQ, and other communications.
Web Service does not support the cryptographic security. WCF supports the cryptographic security.