5

My host provider only supports .NET 4. Is it possible to run MVC 5 and Web API 2 in .NET 4 machine?

2
  • 1
    possible duplicate of Can I run MVC 5 application on .NET Framework 4.0? Commented Dec 5, 2013 at 21:25
  • I saw that before post my question. That question was about Razor version but my question was about .net framework version. Commented Dec 9, 2013 at 8:22

2 Answers 2

10

Short Answer: No, you need .NET 4.5

Only if you add the dependencies:

  • Razor v3.0+
  • ASP.NET WebPages v3.0+
Sign up to request clarification or add additional context in comments.

Comments

4

No, ASP.NET Web API 2 requires .NET 4.5: http://forums.asp.net/t/1937143.aspx?Is+ASP+NET+MVC+5+and+Web+API+2+0+supported+on+NET+4+0+and+IIS6+ (scroll at the very bottom)

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.