Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which version of MVC am I using?

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

like image 435
EKet Avatar asked Feb 08 '11 06:02

EKet


People also ask

What is MVC version?

It is usually used for user interface development. The Model View Controller (MVC) divides the web solution into three separate components – Model, View, and Controller.

Is MVC 5 a core?

The main difference between ASP.NET Core and ASP.NET MVC 5 is their cross-platform approach. ASP.NET Core can be used on Windows, Mac, or Linux, whereas ASP.NET MVC 5 can only be used for applications on Windows. The ASP.NET Core MVC is a framework for building web apps and APIs, optimized for use with ASP.NET Core.


2 Answers

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.

like image 166
Artem Koshelev Avatar answered Oct 16 '22 13:10

Artem Koshelev


Select the System.Web.Mvc assembly in the "References" folder in the solution explorer. Bring up the properties window (F4) and check the Version

Reference Properties

like image 41
Michael Shimmins Avatar answered Oct 16 '22 13:10

Michael Shimmins