ComponentOne AppView for ASP.NET WebForms
Tutorials / Creating an Event Planning Application / Step 1 of 4: Setting Up the Application
In This Topic
    Step 1 of 4: Setting Up the Application
    In This Topic

    In this step, you'll set up your application. First, you'll create a new application, add references to the appropriate assemblies, and create the folders and files you'll need for a complex event planning application.

    1. Create a new blank ASP.NET application:
      1. Select New | Project from the Visual Studio File menu.
      2. Use the drop-down arrow next to C# or Visual Basic to expand the Template list, and select Web.
      3. Choose ASP.NET Empty Web Application, enter a Name for the application, and click OK.
    2. Add references to the ASP.NET Web Forms assemblies by right-clicking the References folder and selecting Add Reference from the list. Browse to find the following reference assemblies:
      • C1.Web.Wijmo.Controls.4.dll
      • C1.Web.Wijmo.Controls.Design.4.dll
      • NewtonsoftJson.dll
      • EntityFramework.dll
        And click OK.
    3. Right-click your application name and select Add | Web Form from the list. Enter name for your Web Form, in this case Main, and click OK.
    4. In this step, you'll add four folders to your application:
      1. Right-click your application name and select Add | New Folder from the list. Name the folder Calendar.
      2. Right-click your application name and select Add | New Folder from the list. Name the folder Event.
      3. Right-click your application name and select Add | New Folder from the list. Name the folder Home.
      4. Right-click your application name and select Add | New Folder from the list. Name the folder Models.
    5. Right-click the Calendar folder and select Add | Web Form from the list. Name this Web Form Index.
    6. In this step, you'll add five Web Forms to the Event folder:
      1. Right-click your Event folder and select Add | Web Form from the list. Name the Web Form Create
      2. Right-click you Event folder and select Add | Web Form from the list. Name the Web Form Delete.
      3. Right-click your Event folder and select Add | Web Form from the list. Name the Web Form Details.
      4. Right-click your Event folder and select Add | Web Form from the list. Name the Web Form Edit.
      5. Right-click your Event folder and select Add | Web Form from the list. Name the Web Form Index.
    7. In this step, you'll add three Web Forms to the Home folder:
      1. Right-click your Home folder and select Add | Web Form from the list. Name the Web Form About.
      2. Right-click your Home folder and select Add | Web Form from the list. Name the Web Form Contact.
      3. Right-click your Home folder and select Add | Web Form from the list. Name the Web Form Index.
    8. In this step, you'll add three Code Files to your Models folder:
      1. Right-click your Models folder and select Add | Code File from the list. Name the Code File Event.
      2. Right-click the Models folder and select Add | Code File from the list. Name the Code File EventAction.
      3. Right-click the Models folder and select Add | Code File from the list. Name the Code File EventPlannerEntities.

    In this step, you created a new ASP.NET application, added the appropriate assembly references, and set up the structure for your event calendar application. In Step 2, you'll add markup and script to the Web Forms you just created.