Code Model for Web Services
A Web service created using Visual Studio .NET has two parts:
The first part is a file with extension .asmx, which serves as the addressable entry point for the Web service.
The second part is the code behind file with extension .asmx.cs (.asmx.vb for VB.NET), which provides the implementations for the methods that the Web service provides.
The WebService directive present in the .asmx file specifies the public class that implements the Web service logic. In ASP.NET, the .asmx file references code in pre-compiled assemblies, a code-behind file, or the code contained in the .asmx file itself. The Web service class contains one or more public methods for exposure in a Web service. These Web service methods are prefaced ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access