Skip to main content

ApplicationBuilderExtensions.UseDevExpressControls(IApplicationBuilder) Method

Registers the DevExpress middleware.

Namespace: DevExpress.AspNetCore

Assembly: DevExpress.AspNetCore.Common.v24.1.dll

NuGet Package: DevExpress.AspNetCore.Common

Declaration

public static IApplicationBuilder UseDevExpressControls(
    this IApplicationBuilder appBuilder
)

Parameters

Name Type Description
appBuilder IApplicationBuilder

An object that provides the mechanisms to configure an application’s request pipeline.

Returns

Type Description
IApplicationBuilder

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.

app.UseStaticFiles();
app.UseDevExpressControls();
See Also