How do I view the version of my site on all pages?

2

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?

    
asked by anonymous 09.01.2015 / 15:18

1 answer

4

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>
    
09.01.2015 / 15:21