August 2002
Intermediate to advanced
576 pages
13h 54m
English
The classes that an XML Web service comprises are instantiated for each request; instances aren’t shared between clients or between requests from the same client, and no application state is maintained.
XML Web service classes that require state management must be derived from System.Web.Services.WebService. The WebService class provides two properties that are used for application-level and session-level state management.
The WebService class defines the Application property to provide state management; the property returns an instance of System.Web.HttpApplicationState that is shared across all requests to the XML Web service. The shared HttpApplicationState instance is created automatically the first ...
Read now
Unlock full access