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 as shown below.
2. At runtime using code - typeof(Controller).Assembly.GetName().Version.ToString();
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 as shown below.

2. At runtime using code - typeof(Controller).Assembly.GetName().Version.ToString();
Friends, If you like this post, please share with your friends on Facebook and Google+ and recommend us on Google using the g+1 button on the top right hand corner.
No comments:
Post a Comment