Last post Jan 31, 2014 04:51 PM by bastienJS
Jan 31, 2014 12:53 PM|hong6|LINK
I'm installed NuGet package like this,
PM> Install-Package Microsoft.AspNet.WebApi -Version 4.0.20710
The installation was successfully, but the Microsoft.AspNet.WebApi 4.0.20710 only write to packages.config file in my application, how I go from there?
I'm trying add WebApiConfig.Register(GlobalConfigureation.Configuration); to Global.asax.cs, but is is not availabe?
Q1: .NET 4.0 should be fine, what I missing?
Q2: Do I have to use MVC 4( our production server has to be .NET 4.0 )?
Q3: Can I Create a WebApi to an existing MVC 3 application on .NET 4.0?
Sample and doc links appreciate.
Jan 31, 2014 04:51 PM|bastienJS|LINK
Look at the first Update step: http://www.asp.net/mvc/tutorials/mvc-5/how-to-upgrade-an-aspnet-mvc-4-and-web-api-project-to-aspnet-mvc-5-and-web-api-2
There you see: Change
maybe that helps you!