Skip to content

GiovanniEVC11/ASP.NET_MVC5_Course

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Visual Studio has added the full set of dependencies for ASP.NET Web API 2 to project 'OdeToFood.Web'. 

The Global.asax.cs file in the project may require additional changes to enable ASP.NET Web API.

1. Add the following namespace references in Global.axas.cs:

    using System.Web.Http;
    using System.Web.Routing;

2. If the code does not already define an Application_Start method, add the following method:

    protected void Application_Start()
    {
    }

3. Add the following lines to the beginning of the Application_Start method:

    GlobalConfiguration.Configure(WebApiConfig.Register);

About

This is the 100% of completion course "ASP.NET MVC5 Fundamentals" by Scott Allen.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors