Search results

Visual Studio Extensions

21 Oct 2021 / 4 minutes to read

Create project

Syncfusion provides the Visual Studio Project Templates for the Syncfusion ASP.NET Core platform to create the Syncfusion ASP.NET Core Web Application using Essential JS 2 components.

The Syncfusion ASP.NET Core (Essential JS 2) project templates are available from v16.2.0.41.

The following steps is used to create the Syncfusion ASP.NET Core (Essential JS 2) Web Application through the Visual Studio Project Template.

Before use the Syncfusion ASP.NET Core Project Template, check whether the ASP.NET Core 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.

  1. To create the Syncfusion ASP.NET Core (Essential JS 2) project, follow either one of the options below:

Option 1

Click Syncfusion Menu and choose Essential Studio for ASP.NET Core (EJ2) > Create New Syncfusion Project… in Visual Studio.

new project

In Visual Studio 2019, Syncfusion menu is available under Extension in Visual Studio menu.

new project

Option 2

Choose File > New > Project and navigate to Syncfusion > .NET Core > Syncfusion ASP.NET Core (Essential JS 2) Web Application in Visual Studio.

syncfusion template

  1. Name the Project, choose the destination location, and then click OK. The Project Configuration Wizard appears.
  2. Choose the options to configure the Syncfusion ASP.NET Core (Essential JS 2) Application in the following Project Configuration dialog.

project configuration

Project configurations

Project Type .NET Core Version Themes Assets From
Web Application (Model-View-Controller) 2.0, 2.1, 2.2, 3.0, 3.1, and .NET 5.0 Material, Fabric, Bootstrap 4, Bootstrap 5, High Contrast, Tailwind CSS CDN, NPM, Installed Location
Angular 2.0, 2.1, 2.2, 3.0, 3.1, and .NET 5.0 Material, Fabric, Bootstrap 4, Bootstrap 5, High Contrast, Tailwind CSS CDN, NPM
React 2.0, 2.1, 2.2, 3.0, 3.1, and .NET 5.0 Material, Fabric, Bootstrap 4, Bootstrap 5, High Contrast, Tailwind CSS CDN, NPM

The Syncfusion ASP.NET Core (Essential JS 2) Project Template provides ASP.NET Core, Angular, and React project templates support from v17.1.0.47.

.NET Core Version: Select the version of ASP.NET Core Project.

.net core version

Assets From: Load the Syncfusion Essential JS 2 assets to ASP.NET Core Project, either NPM, CDN, or Installed Location.

Installed location option will be available only when the Syncfusion Essential JavaScript 2 setup has been installed.

Theme Selection: Themes will be listed out based on the selected project type and choose the required theme from the available list.

theme selection

  1. Click Create, the Syncfusion ASP.NET Core (Essential JS 2) Application has been created.

css refernce

  1. The required Syncfusion NuGet/NPM packages, Scripts, and CSS have been added to the Project.

Web Application (Model-View-Controller):

NuGet: Syncfusion.EJ2.AspNet.Core NuGet package will be installed.

Scripts/Styles: Scripts and CSS entries will be added in _Layout.cshtml.

Angular:

NPM: All the Syncfusion Angular NPM packages entries will be added in package.json, it will automatically restore while build the application or save the package.json file before compile the project.

Styles: CSS entries will be added in index.html based on the selected .NET Core version.

React:

NPM: All the Syncfusion React NPM packages entries will be added in package.json, it will automatically restore while build the application or save the package.json file before compile the project.

Styles: CSS entries will be added in or index.html based on the selected project .Net Core version.

nuget package

css refernce

  1. 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 (v16.2.0.41) 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.

syncfusion license