Sample Creator for Syncfusion® Document SDK

18 Nov 20185 minutes to read

The Syncfusion® Document SDK Sample Creator lets you create Syncfusion® ASP.NET Core or ASP.NET MVC projects based on the platform selection, with sample code for required Syncfusion® Document SDK component features and control configuration.

The Syncfusion® Document SDK Sample Creator utility is available from v31.2.2.

Create Syncfusion® ASP.NET Core or ASP.NET MVC Web Application from Sample Creator

The following steps help you to create the Syncfusion® ASP.NET Core or ASP.NET MVC Web Application via the Sample Creator utility.

  1. Launch the Syncfusion® Document SDK Control Panel and click the Sample Creator button to launch the Document SDK Sample Creator utility.

    launch the Sample Creator via Syncfusion menu

  2. The Syncfusion® Sample Creator Wizard displays the Syncfusion® Document SDK Controls and its Feature Selection section.

    Syncfusion Document SDK Sample Creator wizard

Controls Selection

The Syncfusion® Document SDK controls are listed here so you can choose the required controls.

Syncfusion Document Sdk Sample Creator Controls selection

Project Configuration

  1. You can configure the following project details in the Sample Creator.

    • Platform Type – Select the type of platform: either ASP.NET Core or ASP.NET MVC.

      • ASP.NET Core:

        • Select the VS Version – Choose the Visual Studio Version.
        • .NET Core – Choose the .NET Core version.
        • Assets From – Load the Syncfusion® assets from either CDN or NPM.

        Syncfusion Document SDK Sample Creator project configuration section

      • ASP.NET MVC:

        • Select the VS Version – Choose the Visual Studio Version.
        • .NET Framework – Choose the .NET Framework version.
        • Assets From – Load the Syncfusion® assets from either CDN or NuGet.

        Syncfusion Document SDK Sample Creator project configuration section

    • Name – Name your Syncfusion® ASP.NET Core or ASP.NET MVC Application.

    • Location – Choose the target location of your project.

    • Theme Selection – Choose the required theme. The Theme Preview section shows the controls preview before creating the Syncfusion® project.

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

    create

  3. The new Syncfusion® project is created with the resources.

    • The required Controllers and View files are added to the project.

      • ASP.NET Core:

        required controllers

      • ASP.NET MVC:

        required controllers

    • The required Syncfusion® scripts and theme files are included.

      • ASP.NET Core:

        script-theme references

      • ASP.NET MVC:

        script-theme references

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

      • ASP.NET Core:

        Syncfusion assemblies

      • ASP.NET MVC:

        Syncfusion assemblies