395,859 views 165 on YTPak
483 15

Published on 26 Apr 2013 | over 3 years ago

The code used in the demo, can be found at the link below.

Link for csharp, asp.net , ado.net , dotnet basics and sql server video tutorial playlists

In this video we will discuss about, How to determine what version of asp.net mvc is being used by an existing mvc application

There are 2 ways to do this
1. At design time - In the solution explorer, expand "References" folder. Right click on System.Web.Mvc assembly and select "Properties" and you can find the version that's used.

2. At runtime using code - typeof(Controller).Assembly.GetName().Version.ToString()

Loading related videos...