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

前端 未结 7 1973
北荒
北荒 2021-01-30 09:56

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?

相关标签:
7条回答
  • 2021-01-30 10:37

    You can also check version of Microsoft.AspNet.Mvc nuget package installed in your project.

    You can use Package Manager Console:

    Get-Package Microsoft.AspNet.Mvc
    
    0 讨论(0)
提交回复
热议问题