c# - ASP.Net Version/Build Number -
I have an asp.net (.net 3.5 / c #) and I display a version number / build number and date Want to do What is the best way to control it and can the auto be inconvenienced in the number of builds?
What is the standard for version numbers? Build number?
How do I access VS 2008 How do I get the data and assign a string value so that I can show it in the footer of the webpage?
If you are using a web application project - you can do so ... < / P>
assembly web = assembly load ("App_Code"); AssemblyName WebName = web.GetName (); String myVersion = webName.Version.ToString ();
If you are using a web site project - almost the same ...
assembly web = assembly.get accessionAsampampton (); AssemblyName WebName = web.GetName (); String myVersion = webName.Version.ToString ();
Comments
Post a Comment