Converting ASP.NET MVC application to Syncfusion ASP.NET MVC application
17 Feb 20223 minutes to read
Syncfusion ASP.NET MVC conversion is a Visual Studio add-in that converts an existing ASP.NET MVC application into a Syncfusion ASP.NET MVC (Essential JS 2) Web application by adding the required assemblies and resource files.
The Syncfusion ASP.NET MVC (Essential JS 2) Web Application Project conversion utility is available from v220.127.116.11. Before use, the Syncfusion ASP.NET MVC Project Conversion, check whether the ASP.NET MVC Extensions - Syncfusion 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. If this extension not installed, please install the extension by follow the steps from the download and installation help topic. Also, check whether the corresponding Essential Studio version build installed or not. If the Essential Studio version is not same for both the Extension and build, then the Project Conversion will not be shown.
The steps below help you to convert the ASP.NET MVC application to the Syncfusion ASP.NET MVC application via the Visual Studio 2019:
Open an existing Microsoft ASP.NET MVC Web Application or create a new Microsoft ASP.NET MVC Web Application.
To open the Syncfusion Project Conversion Wizard, follow either one of the options below:
Click Syncfusion Menu and choose Essential Studio for ASP.NET MVC > Convert to Syncfusion ASP.NET MVC Application… in Visual Studio Menu.
From Visual Studio 2019, Syncfusion menu is available under Extensions in Visual Studio menu.
Right-click the Project from Solution Explorer, select Syncfusion Web, and choose the Convert to Syncfusion ASP.NET MVC Application… Refer to the following screenshot for more information.
The Syncfusion ASP.NET MVC Project Conversion window will appear. You can choose the required version of Syncfusion ASP.NET MVC, Assets from, and Themes to convert the application.
The versions are loaded from the Syncfusion ASP.NET MVC NuGet packages which published in NuGet.org and it requires internet connectivity.
The following configurations are used in the Project conversion wizard.
Assets From: Load the Syncfusion Essential JS 2 assets to ASP.NET MVC Project, from either NuGet, CDN, or Installed Location.
Choose the Theme: Choose the required theme.
Check the “Enable a backup before converting” checkbox if you want to take the project backup and choose the location.
The required Syncfusion NuGet packages, Scripts and CSS are included in the ASP.NET MVC Web Application. Refer to the following screenshots for more information.
if you enabled project backup before converting, the old project was saved in the specified backup path location, as shown below once the conversion process completed.
If you installed the trial setup or NuGet packages from nuget.org you must register the Syncfusion license key to your project since Syncfusion introduced the licensing system from 2018 Volume 2 (v18.104.22.168) Essential Studio release. Navigate to the help topic 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.