- Convert into Syncfusion® ASP.NET Core Web Application
- Rendering Control after Syncfusion® ASP.NET Core Conversion
Contact Support
Syncfusion® Project Conversion
28 Jan 20255 minutes to read
Syncfusion® Project Conversion is a Visual Studio add-in that converts an existing ASP.NET Core application into a Syncfusion® ASP.NET Core Web application by adding the required assemblies and resource files.
IMPORTANT
The Syncfusion® ASP.NET Core Web Application Project Conversion utility is available from v15.2.0.40.
Convert into Syncfusion® ASP.NET Core Web Application
The following steps help you to use the Syncfusion® Project Conversion in the existing ASP.NET Core Web Application.
Before use, the Syncfusion® ASP.NET Core (Essential® JS 1) Project Conversion, check whether the Syncfusion® Essential® JS1 AspNet Core 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. 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.
-
Open an existing Microsoft ASP.NET Core Web Application or create a new Microsoft ASP.NET Core Web Application.
-
To open Project Conversion Wizard, follow either one of the options below:
Option 1:
Click Syncfusion® Menu and choose Essential Studio® for ASP.NET Core (EJ1) > Convert to Syncfusion® ASP.NET Core Application… in Visual Studio.NOTE
In Visual Studio 2019, Syncfusion® menu available under Extension in Visual Studio menu.
Option 2:
Right-click the Project from Solution Explorer, select Syncfusion® Essential® JS 1, and then choose Convert to Syncfusion® ASP.NET Core (Essential® JS 1) Application… Refer to the following screenshot for more information. -
Project Conversion Wizard opens to configure the project.
Choose the assets from:
-
Bower - Refer to the assets from Bower package manager.
-
CDN - Refer to the assets from Syncfusion® CDN links.
-
Installed Location - Refer to the assets from Syncfusion® installed locations.
Choose the Theme:
The master page of project will be updated based on selected theme. The Theme Preview section shows the controls preview before convert into a Syncfusion® project
Choose Copy Global Resources:
The localization culture files will be shipped into Scripts\ej\i18n directory of the project.
-
-
Choose the required controls from Components section and Click the Convert button to convert it into a Syncfusion® Project.
The Project Backup dialog will be opened. If click Yes it will backup the current project before converting it to Syncfusion® project. If click No it will convert the project to Syncfusion® project without backup.
-
The required Syncfusion® NuGet/Bower packages, Scripts and CSS are included in the ASP.NET Core Web Application. Refer to the following screenshots for more information.
-
If you installed the trial setup or NuGet packages from nuget.org you have to register the Syncfusion® license key to your project since Syncfusion® introduced the licensing system from 2018 Volume 2 (v16.2.0.41) 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®.
Rendering Control after Syncfusion® ASP.NET Core Conversion
Once you converted your ASP.NET Core Web Application to Syncfusion® ASP.NET Core Web Application using Syncfusion® Visual Studio Extension, Perform the following steps to render the Syncfusion® controls to your project.
-
Include the Syncfusion® control snippets to any of the view page of your project. Refer the following screenshot for more information.
-
Then run the project and the following output will be displayed.
IMPORTANT
Refer all the required external and internal scripts only once in the page with proper order. Refer this link to know about order of script reference.