I want to display in the footer of all my pages the version where my site is running.
For example: Version 1.0
After I do an update on my site and post it again it would be something like Version 2.0
What is the best, or best, way to do this?
I want to display in the footer of all my pages the version where my site is running.
For example: Version 1.0
After I do an update on my site and post it again it would be something like Version 2.0
What is the best, or best, way to do this?
I recommend you put a property with the web.config version number of the site.
And display it in MASTER.PAGE. In web.config
<appSettings>
<add key="versaoSITE" value="2.0"/>
</appSettings>
In the footer of the master page.
<label><%= ConfigurationManager.AppSettings["versaoSITE"].ToString();%></label>