Difference between Web service and WCF service
blog, I’m explaining difference between web service and WCF service.
It can be hosted in IIS.
It can only be invoked by HTTP.
Web services in Asp.net have “.asmx”
It does not support multi-threading.
Web services are slower than WCF.
It use [WebService] and [WebMethod] attributes.
Using webService only public fields/properties
can be serialized and it cannot serialized Hash table.
It can be hosted in IIS, WAS (window Activation
service), Window service ,self hosting.
It can be accessed through Http, TCP, MSMQ,
Message Queuing and point to point.
WCF have “.svc”
It supports multi-threading using “ServiceBehavior” class.
It is faster than Web service.
It use [ServiceContract]
and [serviceContract] attributes.
It can serialize public/private fields as well
as Hash table.