Here's an example that shows you how to get the version https://github.com/aspnet/dnx/blob/afeedf0aae464225fae2b5b7ecd2b029dc02bb46/src/Microsoft.Dnx.Host/RuntimeEnvironment.cs#L44-L48
– Victor HurdugaciFeb 11 '16 at 20:09
1
in your project.json change the "version": "1.1.xxxx"
then in your razor view, maybe _Layout footer?
@using System.Reflection
@{
ViewData["Version"] = typeof(Startup).GetTypeInfo().Assembly.GetCustomAttribute().InformationalVersion;
}