ApplicationBuilderExtensions.UseDevExpressControls(IApplicationBuilder) Method
In This Article
Registers the DevExpress middleware.
Namespace: DevExpress.AspNetCore
Assembly: DevExpress.AspNetCore.Common.v24.2.dll
NuGet Package: DevExpress.AspNetCore.Common
#Declaration
C#
public static IApplicationBuilder UseDevExpressControls(
this IApplicationBuilder appBuilder
)
#Parameters
Name | Type | Description |
---|---|---|
app |
IApplication |
An object that provides the mechanisms to configure an application’s request pipeline. |
#Returns
Type | Description |
---|---|
IApplication |
An object that provides the mechanisms to configure an application’s request pipeline. |
#Remarks
Call the UseDevExpressControls method to register the DevExpress middleware. The code snippet below shows how to add the required code in the Program.cs file.
cs
app.UseStaticFiles();
app.UseDevExpressControls();
See Also