Skip to main content
All docs
V25.2
  • BlazorApplication Class

    Manages an XAF Blazor UI application.

    Namespace: DevExpress.ExpressApp.Blazor

    Assembly: DevExpress.ExpressApp.Blazor.v25.2.dll

    NuGet Package: DevExpress.ExpressApp.Blazor

    Declaration

    public class BlazorApplication :
        AspNetCoreApplication

    Remarks

    The BlazorApplication class is the platform-specific descendant of the XafApplication class. In a Blazor UI application project, this class is inherited (see the MySolution.Blazor.Server/BlazorApplication.cs file).

    The descendant is instantiated in the AddXaf fabric (see MySoution.Blazor.Server/Startup.cs file).

    Since the BlazorApplication object is often needed in code, it must be accessible. The following properties (cast to BlazorApplication) give you access to the current app:

    See Also