Sample Creator

14 Mar 2019 / 4 minutes to read

The Syncfusion Sample Creator is a utility that allows you to create the Syncfusion ASP.NET MVC (Essential JS 2) Projects with required Syncfusion configuration in project to start the development with Syncfusion controls.

IMPORTANT

The Syncfusion ASP.NET MVC (Essential JS 2) Sample Creator utility is available from v16.3.0.17.

Create Syncfusion ASP.NET MVC (Essential JS 2) Application from Sample Creator

The following steps help you to create the Syncfusion ASP.NET MVC (Essential JS 2) Application via the Sample Creator utility:

  1. To launch ASP.NET MVC (Essential JS 2) Sample Creator application, follow either one of the options below:

    Option 1:
    Click Syncfusion Menu and choose Essential Studio for ASP.NET MVC (EJ2) > Launch Sample Creator… in Visual Studio.

    launch the Syncfusion Essential JS 2 ASP.NET MVC Sample Creator via Syncfusion menu

    NOTE

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

    Option 2:
    Launch the Syncfusion ASP.NET MVC (Essential JS 2) Control Panel. Select the Sample Creator button to launch the ASP.NET MVC (Essential JS 2) Sample Creator application.Refer to the following screenshot for more information.

    Syncfusion Essential JS 2 ASP.NET MVC Control Panel to launch the Syncfusion Essential JS 2 ASP.NET MVC Sample Creator

  2. ASP.NET MVC (Essential JS 2) Sample Creator list the Syncfusion controls and its features.

    Syncfusion Essential JS 2 ASP.NET MVC Sample Creator wizard

    Controls Selection

    Choose the required controls. The controls are grouped with Syncfusion products.

    Controls selection in Syncfusion Essential JS 2 ASP.NET MVC Sample Creator

    Feature Selection

    Based on the controls, the feature is enabled to choose the features of the corresponding controls.

    Feature selection in Syncfusion Essential JS 2 ASP.NET MVC Sample Creator for the selected controls

    Project Configuration

    1. You can configure the project with following details.

      • MVC Version: Choose the required MVC Version.
      • VS Version: Choose the Visual Studio version and Framework.
      • View Engine: By default, Syncfusion supports only Razor view engine for ASP.NET MVC projects.
      • Assets From: Load the Syncfusion Essential JS 2 assets to ASP.NET MVC Project, either NuGet, CDN or Installed Location.

      NOTE

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

      • Name: Name your Syncfusion ASP.NET MVC (Essential JS 2) Application.
      • Location: Choose the target location of your project.
      • Theme Selection: Choose the required theme. This section shows the controls preview before creating the Syncfusion project.

      Syncfusion Essential JS 2 ASP.NET MVC Sample Creator project configuration section

    2. Click Create button. Once the project is created you can open the project by clicking Yes. If you click No the corresponding location of the project will be opened. Refer the following screenshot for more information.

      The project successfully created using Syncfusion Essential JS 2 ASP.NET MVC Sample Creator

    3. The new Syncfusion ASP.NET MVC (Essential JS 2) project is created with the resources.

      • Added the required Controllers and View files in the project.

      Required Controllers and View files for the selected Syncfusion Essential JS 2 ASP.NET MVC controls added in the project

      • Included the required Syncfusion ASP.NET MVC (Essential JS 2) scripts and theme files.

      Required Scripts and Themes references added in the Syncfusion Essential JS 2 ASP.NET MVC project

      • The required Syncfusion assemblies are added for selected controls under Project Reference.

      Required Syncfusion reference assemblies added in the Syncfusion Essential JS 2 ASP.NET MVC project