Using Apicontrollers in MVC3 Project

I am working on a project with Vs2010 and MVC4. (mainly Apicontrollers). The project is now ready for production. The problem is the client doesn't want to go with MVC4 even if they have go-live license from Microsoft. The only new feature I have used in this MVC4 project is webAPI.

  • Can API Controllers be used in MVC3?
  • If yes How can I implement API controllers in MVC3 project?
  • What problems do I have if I switch to MVC3 from a webAPI perspective (ex: routing, hhtpconfiguration)
+3


source to share


1 answer


  • Yes
  • You can get Web API with Nuget for MVC3 project
  • Don't feel like you're in trouble, web API comes in a separate dll that doesn't depend on the MVC DLL.


+3


source







All Articles