Bootstrap Controls for ASP.NET Core are in maintenance mode.
We don’t add new controls or develop new functionality for this product line.
Our recommendation is to use the ASP.NET Core Controls suite.
Register the DevExpress NuGet Repository as a package source (https://nuget.devexpress.com/{feed-authorization-key}/api
) and install the DevExpress.AspNetCore.Bootstrap package to your project.
Obtain your personal feed-authorization-key from nuget.devexpress.com.
To properly setup services utilized by DevExpress controls, call the services.AddDevExpressControls()
extension method for the ConfigureServices method body.
Call the app.UseDevExpressControls()
extension method from the Configure method body to register DevExpress middleware components for proper request processing.
Add the @using DevExpress.AspNetCore
directive to the _ViewImport.cshtml file to be able to access this namespace from Razor view.
After this, you can add references to DevExpress stylesheets and scripts to the Layout page
by calling @Html.DevExpress().StyleSheets()
and @Html.DevExpress().Scripts()
methods.
@Html.DevExpress()
extension method.