Configure a Project
- 2 minutes to read
Create a New Project from Templates
DevExtreme ASP.NET MVC controls ship with the DevExtreme ASP.NET MVC 5 Application (C#) and DevExtreme ASP.NET MVC 5 Application (Visual Basic) project templates.
Each template includes all server-side and client-side resources required for the controls, and provides an example of how to configure the DataGrid control.
You can access a template:
In the standard New Project dialog.
In the DevExpress Template Gallery.
To run the DevExpress Template Gallery, select the DevExpress v21.2 Template Gallery item in the New Project dialog and click Next.
In the Template Gallery, choose the ASP.NET platform and the desired template.
When you select the template, Visual Studio creates a project with the DataGrid control. You can also add other controls to a project.
Add DevExtreme to an Existing Project
To configure an existing project to use DevExtreme ASP.NET MVC controls, add DevExtreme resources to the project:
Open your project in Visual Studio (see supported versions).
Right-click the project in the Solution Explorer window and select the Add DevExtreme to the Project command in the menu.
In the invoked dialog box, click OK.
Wait a few seconds while DevExtreme and its dependencies are added. This process is logged in the Output window.
Certain resources that provide specific functionality are added, but not linked. To link them, uncomment corresponding code lines in the App_Start/DevExtremeBundleConfig.cs or App_Start/DevExtremeBundleConfig.vb file.