WebService Class and Visual Studio

As we have previously demonstrated, a Web service is nothing but an HTTP request. As such, a Web service can access the intrinsic objects associated with its HTTP request. These are the same intrinsic objects discussed in the section “State in ASP.NET Applications” in the previous chapter. The WebService class has properties that access these intrinsic objects. In this section we discuss the WebService class, and we use Visual Studio, which makes developing Web services and clients much easier.

You need not derive your Web service class from the framework WebService class. You can derive your Web service class from a different base class if necessary. In this case you can use the current HttpContext to access ...

Get Application Development Using Visual Basic® and .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.