System.Web.Services 1.0.5000.0 2.0.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.ComponentModel.MarshalByValueComponent

If you don't need access to the common ASP.NET objects, you can still create an XML Web service without deriving from . Additional ASP.NET objects can be accessed through .

XML Web service methods that have the property of either or set to true, do not have access to their . As such, accessing any of the properties of the class, from within that XML Web service method, return null.

If you are using the .NET Framework version 1.0 XML Web service methods that have either the or attribute applied to them with the property of set to true, do not have access to their using the static property. To access the , derive the class implementing the XML Web service method from and access the property.

Defines the optional base class for XML Web services, which provides direct access to common ASP.NET objects, such as application and session state.

- Constructor
  To be added

  Initializes a new instance of the class.

  1.0.5000.0
  2.0.0.0
- Property
  System.Web.HttpApplicationState a

  XML Web services can use both application state and session state. Application state is maintained across all sessions accessing an XML Web service regardless of whether session state is turned off for a method(by using the property of the ).

  Gets the application object for the current HTTP request.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
  System.ComponentModel.Description("The ASP.NET application object for the current request.")
  System.ComponentModel.Browsable(false)
- Property
  System.Web.HttpContext a

  XML Web service methods that have either the or attribute applied to them with the property of set to true, do not have access to their using the static property. To access the , derive the class implementing the XML Web service method from and access the property.

  Gets the ASP.NET for the current request, which encapsulates all HTTP-specific context used by the HTTP server to process Web requests.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
  System.ComponentModel.Browsable(false)
- Property
  System.Web.HttpServerUtility a

  The class provides several methods that can be used in the processing of Web requests, including (for instantiating COM objects).

  Gets the for the current request.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
  System.ComponentModel.Browsable(false)
- Property
  System.Web.SessionState.HttpSessionState a To be added

  Gets the instance for the current request.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
  System.ComponentModel.Browsable(false)
- Property
  2.0.0.0
  System.Runtime.InteropServices.ComVisible(false)
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
  System.ComponentModel.Browsable(false)
  System.Web.Services.Protocols.SoapProtocolVersion To be added.

  If the SOAP protocol was not used to communicate with the XML Web service, such as HTTP-GET or HTTP-POST, the value of the property is .

  For XML Web services that do not derive from the class, the version of the SOAP protocol used to make the SOAP request to the XML Web service can be also be accessed using the "WebServiceSoapVersion" entry of the property. That entry is of type .

  Gets the version of the SOAP protocol used to make the SOAP request to the XML Web service.

- Property
  System.Security.Principal.IPrincipal a

  Both Internet Information Services (IIS) and the .NET Framework need to be configured for authentication in order for the property to be meaningful. Authentication is the process of accepting credentials from a user and validating those credentials against some authority. If the credentials are valid, you have an authenticated identity. Authentication in the .NET Framework is configured by placing entries in the web.config file.

  The following example demonstrates the entries you place in the web.config file to enable Windows authentication.

  `<security> <authentication mode="Windows"> <!-- Mode Options are Windows, Cookie, Passport and None or Empty String --> </authentication> </security>`

  For more information on setting up security for an XML Web service see [<topic://cpconSecuringASPNETWebServices>].

  Gets the ASP.NET server object. Can be used to authenticate whether a user is authorized to execute the request.

  1.0.5000.0
  2.0.0.0
  System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
  System.ComponentModel.Browsable(false)