From 545921ba0afded3b35d4927c1b1ede628e70895f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Murat=20Ba=C5=9Feren?= Date: Fri, 7 Dec 2018 13:02:39 +0300 Subject: [PATCH] Version info added. --- MyEvernote.WebApp/Properties/AssemblyInfo.cs | 12 ++++++------ MyEvernote.WebApp/Views/Shared/_Layout.cshtml | 5 +++++ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/MyEvernote.WebApp/Properties/AssemblyInfo.cs b/MyEvernote.WebApp/Properties/AssemblyInfo.cs index 7e9ca57..c2adb57 100644 --- a/MyEvernote.WebApp/Properties/AssemblyInfo.cs +++ b/MyEvernote.WebApp/Properties/AssemblyInfo.cs @@ -5,12 +5,12 @@ // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. -[assembly: AssemblyTitle("MyEvernote.WebApp")] +[assembly: AssemblyTitle("Udemy My Evernote Sample Project")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("MyEvernote.WebApp")] -[assembly: AssemblyCopyright("Copyright © 2017")] +[assembly: AssemblyCompany("K. Murat Başeren")] +[assembly: AssemblyProduct("Udemy My Evernote Sample Project")] +[assembly: AssemblyCopyright("Copyright By K. Murat Başeren © 2017")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -31,5 +31,5 @@ // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: AssemblyVersion("2.1.0.0")] +[assembly: AssemblyFileVersion("2.1.0.0")] diff --git a/MyEvernote.WebApp/Views/Shared/_Layout.cshtml b/MyEvernote.WebApp/Views/Shared/_Layout.cshtml index 80a97e5..448d923 100644 --- a/MyEvernote.WebApp/Views/Shared/_Layout.cshtml +++ b/MyEvernote.WebApp/Views/Shared/_Layout.cshtml @@ -92,6 +92,11 @@
  • @Bootstrap.LinkMenu("/Home/About", "info-sign", " Hakkımızda")
  • +
  • + + Version : @(System.Reflection.Assembly.GetAssembly(typeof(MvcApplication))?.GetName().Version.ToString()) + +