Last post May 11, 2018 06:37 PM by Satyaprakash Samantaray
May 10, 2018 05:49 PM|Satyaprakash Samantaray|LINK
How to find out mvc version using c#?
May 11, 2018 02:18 AM|Brando ZWZ|LINK
Hi Satyaprakash Samantaray,
According to your description, I suggest you could try to get the mvc controller's assembly version to get the current MVC version.
The MVC controller class is under the System.Web.Mvc namespace.
More details, you could refer to below codes:
ViewBag.MvcVersion = typeof(Controller).Assembly.GetName().Version.ToString();
May 11, 2018 06:37 PM|Satyaprakash Samantaray|LINK
thanks for post this answer