Friday, October 29, 2010

Diffeence between WCF service and Web service

WEB SERVICE: extention shoud be .asmx
WCF: extention of this is .svc

WEB SERVICE: is not secured by default.. we have to provide security manually by writing code
WCF: is secured by default

WEB SERVICE: supports only http protocol
WCF: supports all protocols( http, tcp, msmq....)

WEB SERVICE: in this class shoud be written as [WEB SERVICE]
WCF: in this class shoud be written as [SERVICE CONTRACT]

WEB SERVICE: in this all retun types are not serializable( like DataTable, HashTable)
WCF: all types are serializable

No comments:

Post a Comment