Gokul
Gokul

Reputation: 1371

Use Apicontrollers in MVC3 Project

I am working on a project with Vs2010 and MVC4. (mainly Apicontrollers). Now the project is ready to deploy into production. The problem is that the client don't want to go with MVC4 even though there is a go-live license from Microsoft. The only new feature I used in this project from MVC4 is webAPI.

  1. Can I use APIcontrollers in MVC3?
  2. If yes How can I implement API controllers in MVC3 project?
  3. What troubles will I face if I downgrade to MVC3 from webAPI standpoint (like :routing,hhtpconfiguration)

Upvotes: 3

Views: 1299

Answers (1)

frennky
frennky

Reputation: 13934

  1. Yes
  2. You can get web API with Nuget to you MVC3 project
  3. Don't think you'll have any troubles, web API comes in separate dll that is independent of MVC dlls

Upvotes: 3

Related Questions