ASP.NET MVC Controls | ComponentOne
Configuring your MVC Application / Using ComponentOne Template
In This Topic
    Using ComponentOne Template
    In This Topic

    Using ComponentOne Project template, you can design four different types of projects as listed in the table below. These templates allow you to create ASP.NET MVC 5 Web Application pre-configured with C1 ASP.NET MVC controls.

    Project Types Description
    Standard Creates a standard C1 MVC Application.
    Ajax Binding Creates a responsive application with AJAX binding. The application includes a sample data and a view code to explain the implementation of AJAX binding in the FlexGrid control.
    Model Binding Creates an application with model binding. The application includes a sample data and a view code to explain the implementation of Model binding in the FlexGrid control.
    Spreadsheet Creates a business application with the FlexSheet control. The application includes Font.cs and Sale.cs data class and view code with all the necessary references to add data to FlexSheet.

    You can create a new MVC Application using one of the above ComponentOne Project template, say Standard template, by following the given steps:

    1. Open Visual Studio and Select Create a new project.
    2. In the Create a new project window, type c1 in the search bar to get the list of all the installed c1 templates, select C1 ASP.NET MVC 5 Web Application (C#) and click Next.

      List of ComponentOne templates available for creating ASP.NET MVC application
    3. In the Configure your new project window, write your project name, choose location to save your project and click Create.
      Visual Studio Configure your new project window
    4. In the ComponentOne ASP.NET MVC Application Wizard, select a project type. In our case, we selected Standard.
    5. Select the Enable Client Intellisense checkbox to enable intellisense.
    6. (Optional) Select a Theme and the document libraries to reference, if required.
      ComponentOne ASP.NET MVC Application Wizard
    7. Click OK. A new project configured to work with ASP.NET MVC Edition is created.
    licenses.licx file is automatically added to your application. For more information on how to add the license file to the project, see Licensing.