Create ASP.NET MVC application
3 Feb 20214 minutes to read
Syncfusion provides the Visual Studio Project Templates for the Syncfusion ASP.NET MVC platform to create the Syncfusion ASP.NET MVC Web Application with the Essential JS 1 components.
Use the following steps to create the Syncfusion ASP.NET MVC (Essential JS 1) Web Application through the Visual Studio Project Template:
Before use the Syncfusion ASP.NET MVC (Essential JS 1) Project Template, check whether the Syncfusion Essential JS1 AspNet MVC VSExtensions installed or not in Visual Studio Extension Manager by clicking on the Tools -> Extensions and Updates -> Installed for Visual Studio 2017 or lower and for Visual Studio 2019 by clicking on the Extensions -> Manage Extensions -> Installed.
To create the Syncfusion ASP.NET MVC (Essential JS 1) project, follow either one of the options below:
Click Syncfusion Menu and choose Essential Studio for ASP.NET MVC (EJ1) > Create New Syncfusion Project… in Visual Studio.
In Visual Studio 2019, Syncfusion menu is available under Extensions in Visual Studio menu.
Choose File > New > Project and navigate to Syncfusion > Web > Syncfusion ASP.NET MVC (Essential JS 1) Application in Visual Studio.
Name the Project, choose the destination location, and set the .NET Framework of the project, and then click OK. The Project Configuration Wizard appears.
Choose the options to configure the Syncfusion ASP.NET MVC (Essential JS 1) application by using the following Project Configuration dialog.
Target MVC Version: Choose the required MVC Version.
View Engine: Choose the View Engine of the Sample.
Theme: Choose the required theme.
Language: Select the language, either C# or VB.
Assemblies From: Choose the assembly location, from where the assembly is added to the project.
Use CDN Support: The master page of the project will be updated based on required Syncfusion CDN links.
Copy Global Resources: If choose Copy Global Resources option, the Syncfusion localization culture files will be shipped to project from Installed Location.
Copy Global Resources option will disable when choose CDN option.
When you do not choose the Add Samples option, then the Syncfusion ASP.NET MVC project is created with required assemblies, CSS, and Script files only.
By choosing the Add Samples option, you can add the code for the selected controls features.
Click Create, the Syncfusion ASP.NET MVC (Essential JS 1) Application will be created.
Controller and View files have been added to the project based on the control selected.
The required Syncfusion Assembly references, Scripts, CSS, and required Web.config entries have been added to the project
Then, Syncfusion licensing registration required message box will be shown, if you installed the trial setup or NuGet packages since Syncfusion introduced the licensing system from 2018 Volume 2 (v220.127.116.11) Essential Studio release. Navigate to the help topic, which is shown in the licensing message box to generate and register the Syncfusion license key to your project. Refer to this blog post for understanding the licensing changes introduced in Essential Studio.