O'Reilly logo

Real World XML Web Services: For VB and VB .NET Developers by Yasser Shohoud

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

6.3. Leveraging the ASP.NET Framework

.NET Web services execute within the ASP.NET runtime and can leverage many of ASP.NET's useful features. This section explains how you can take advantage of features such as ASP.NET sessions, output caching, and distributed transactions (a feature of .NET Enterprise services). There are many other features of ASP.NET that don't make much sense in the context of Web services. For example, cookie-less sessions are very cool and useful for Web applications but they rely on URL munging, which doesn't work for Web services.

6.3.1. Using ASP.NET Sessions

When a client invokes a Web method on your service, a new instance of your Web service class is created to serve that request. Therefore, a Web service class by ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required