.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET Core 3.0+
The page you are viewing does not exist in the .NET Core 3.0+ platform documentation. This link will take you to the parent topic of the current section.

WebApplication.Instance Property

Gets the ASP.NET application instance.

Namespace: DevExpress.ExpressApp.Web

Assembly: DevExpress.ExpressApp.Web.v19.2.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.

Remarks

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