Visual Studio Integration

NOTE
At the time of version 16.1, DevExtreme ASP.NET MVC Wrappers were in the Community Technology Preview (CTP) status. Currently, this product changed its status to Release Candidate (RC). Renewed documentation is available since version 16.2.

This article describes Visual Studio tools that help you create a new DevExtreme ASP.NET MVC application or add resources required by DevExtreme ASP.NET MVC Wrappers to a standard ASP.NET MVC application.

See Also

Project Templates

DevExtreme ASP.NET MVC Wrappers offer the following project templates.

Template Where to find
ASP.NET MVC 5 Application (Visual C#) DevExtreme
Visual C# | Web
ASP.NET MVC 5 Application (Visual Basic) DevExtreme
Visual Basic | Web
ASP.NET Core Application (Visual C#) DevExtreme
Visual C# | Web
Visual C# | .NET Core

Each template includes (or automatically restores) all the needed scripts and libraries, and gives an example of configuring a widget using DevExtreme ASP.NET MVC Wrappers.

See Also

Add the Required Resources to Your Project

NOTE
At present, ASP.NET Core projects are not supported since the structure of the ASP.NET Core project template has not been established yet.

To add resources required by DevExtreme ASP.NET MVC Wrappers to your project, follow these steps.

  1. Open your project in Visual Studio. See Environment and Requirements for information on supported Visual Studio versions.
  2. Right-click your project in the Solution Explorer window and select Add DevExtreme to the Project on the menu.

    DevExtreme HTML5 ASPNET MVCWrappers

  3. In the appeared dialog box, click OK.

    DevExtreme HTML5 ASPNET MVCWrappers

  4. Wait a few seconds while DevExtreme and its dependencies are being added. At that time, you can follow the log of this process in the Output window.

    DevExtreme HTML5 ASPNET MVCWrappers

A success message concluding the log means that all is set up for you to start using DevExtreme ASP.NET MVC Wrappers in your project. If any issues appear during the process, address them by following the messages in the Output window. After that, repeat the steps above starting from step 2.

NOTE
Certain resources are added, but not linked, because either they are already linked in the basic project template, or they provide a very specific functionality. Those resources are: jQuery, JSZip for client-side export in the DataGrid widget and data for the VectorMap widget. To link any of those resources, uncomment the corresponding codelines in the AppStart/DevExtremeBundleConfig.cs file.
See Also