views:

42

answers:

2

Hi All,

I am reading on internet about the difference between ASP.NET web service and WCF and have found that ASP.NET does not support any other protocol except http . Can anyone please explain me the reason why ASP.NET web service don't support other transport protocols ?

+1  A: 

It supports SOAP and other over-HTTP protocols. It is a design limitation, rectified with WCF.

_NT
A: 

ASMX web services are the original web service platform created as part of .NET 1.0. They are quite old, and the architecture is inflexible. In particular, they use the ASP.NET pipeline, which is focused on HTTP, not on multiple protocols.

They were replaced by WCF, which does not have these problems.

John Saunders
thanks John, so you mean the reason is ASP.NET pipeline
Praveen
The pipeline and, in fact, the entire infrastructure. WCF does not depend on these, so it's able to use other protocols, and much more.
John Saunders