What are the different protocols used by a .Net Web Service?

 Posted by Tripati_tutu on 12/20/2010 | Category: ASP.NET Interview questions | Views: 3835 | Points: 40

The protocols are normally used in .Net Web Service for communication purposes. A web service can bind with three different protocols such as Http-Get, Http-Post, and SOAP. These protocols are included in the WSDL file that is automatically generated in .NET application.

It is preferable to use Http-Get and Http-Post only when name/value pairs of data is avilable. But if the data is complex in nature that is XML notes, dataset etc, then we can use SOAP which helps to serialize data in simpler form.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response