.net – Which version of MVC am I using

asp.net-mvcnetversionvisual studio

I can't find it for some reason, feeling a little dumb. How do I know? I'm using .net 4 with VS2010.

Best Answer

Open web.config file and find the System.Web.Mvc assembly definition:

assembly="System.Web.Mvc, Version=3.0.0.0 ..."

It's an MVC3 as you see. Via web you can use MvcDiagnostics which is similar to phpinfo() functionality in PHP.