Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to determine the current version of ASP.NET MVC?

Tags:

asp.net-mvc

Is there a way to get the current version of ASP.NET MVC in code? Reflecting on MVC assemblies is needed? Any new IIS server variables? Some property to read in HTTP context?

like image 961
rasx Avatar asked Jun 09 '10 18:06

rasx


People also ask

How do I find my ASP.NET version?

Click Start > Control Panel > Administrative Tools > Internet Information Services (IIS) Manager. On the left pane, expand the entry for Local Computer and click Web Service Extensions. Check that there is an item called ASP.NET v2. 0.50727 and that its status reads Allowed .

What version of MVC is in Visual Studio 2017?

ASP.NET MVC 6 is a platform, which is supported in cross platform. It will run Windows, Linux and Mac. The steps are given below to create simple ASP.NET MVC 6 in Visual Studio 2017.

What is the difference between MVC 3/4 and 5?

Authentication filter is not available in MVC4 where as Authentication filter is available in MVC5. Authentication filter is a new kind of filter in ASP.NET that runs prior to the authentication in MVC. 3. Filter over ride feature is not available in MVC4 where as this feature is available in MVC5.


1 Answers

  1. Go to your References folder
  2. Look for System.Web.Mvc
  3. Right Click on it
  4. Click Properties
  5. Look at the Version property.

This is most likely your version but the GAC may play a role in messing you around.

like image 69
David Avatar answered Sep 17 '22 18:09

David