Web Service

What Does Web Service Mean?

A Web service, in the context of .NET, is a component that resides on a Web server and provides information and services to other network applications using standard Web protocols such as HTTP and Simple Object Access Protocol (SOAP).

Advertisements

.NET Web services provide asynchronous communications for XML applications that operate over a .NET communications framework. They exist so that users on the Internet can use applications that are not dependent on their local operating system or hardware and are generally browser-based.

Techopedia Explains Web Service

The main advantage of a Web service is that its consumers can use the service without knowing about the details of its implementation, such as the hardware platform, programming language, object model, etc. Web service provides a loose coupling between heterogeneous systems with the help of XML messages, provide interoperability.

Web services are designed to provide the messaging infrastructure necessary for communication across platforms using industry standards. Web services also use asynchronous communication to address the latency issue that arises due to requests from remote locations across the Internet. This allows the execution of background tasks for the client (such as responding to user interactions) until the actual completion of the Web service request.

ASP.NET provides a framework that can be used to build Web services easily by focusing on the application logic rather than on the hardware necessary for writing infrastructure code for communication protocol or message transport. Web services created in ASP.NET can use features of the .NET framework such as caching, authentication and state management.

Web service uses the ".asmx" extension with the @Web service directive (at the top of file) as per the ASP.NET application model. It can be a stand-alone application or a subcomponent of a larger Web application.

Advertisements

Related Terms

Latest Data Management Terms

Related Reading

Margaret Rouse

Margaret Rouse is an award-winning technical writer and teacher known for her ability to explain complex technical subjects to a non-technical, business audience. Over the past twenty years her explanations have appeared on TechTarget websites and she's been cited as an authority in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine and Discovery Magazine.Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages. If you have a suggestion for a new definition or how to improve a technical explanation, please email Margaret or contact her…