syedbilalali / gym_mgmt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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

1. Add the following namespace references:

    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


Languages

Language:JavaScript 38.7%Language:HTML 19.3%Language:CSS 18.7%Language:C# 10.2%Language:SCSS 8.3%Language:Less 4.8%Language:ASP.NET 0.0%