Creating ASP.NET MVC Projects

You can create a new ASP.NET project or create an ASP.NET project within an existing AB Suite project that is associated with User Experience mode model.

Note: It is easy to reference the required DataModels project, which is created by the Client Framework application, if the ASP.NET project is created within an existing AB Suite Client Framework application.

To create an ASP.NET MVC project, perform the following:

  1. On the File menu, point to New, and then click Project.

    The New Project dialog box appears.

  2. In the Project Types pane, expand Templates, expand Visual C#, and then click Web.

  3. In the Templates pane, select ASP.NET Web Application.

    Note: Select .NET Framework 4.7.2 from the Target Framework list. You can find the Target Framework list on top of the Templates pane.

  4. In the Name box, enter the project name.

  5. In the Location box, enter the path or browse to the location where you have saved the Client Framework solution.

  6. From the Solution list, select Add to Solution.

  7. Click OK.

    The New ASP.NET Project dialog box appears.

  8. From the Select a template pane, select MVC.

  9. Select Web API, if you want to include support for Web API.

  10. Click Change Authentication to select the type of authentication you require for your application.

    The Change Authentication dialog box appears.

  11. Select No Authentication.

  12. Click OK.

  13. Click OK to close the New ASP.NET Project dialog box.

    The ASP.NET MVC project is created.

Note: If the project does not build successfully, you might have to install any dependent packages by using the NuGet Package Manager (for example, ASP.NET MVC 5, ASP.NET Web API, Bootstrap, or JQuery.

You can now add a reference to the DataModels project created by Client Framework so that the ASP.NET MVC project can use the DataModels generated for the AB Suite application.