WebApplication.Instance Property

Gets the ASP.NET application instance.

Namespace: DevExpress.ExpressApp.Web

Assembly: DevExpress.ExpressApp.Web.v18.1.dll

Declaration

public static WebApplication Instance { get; }
Public Shared ReadOnly Property Instance As WebApplication

Property Value

Type Description
WebApplication

A WebApplication object, which is the ASP.NET application instance.

Use this property to get the ASP.NET application instance when it is required to access non-static members of the WebApplication object. The instance is obtained from the current session's SessionApplicationVariable variable.

See Also