Configuring - General Tab - Private Version

From Visual WebGui Wiki

Jump to: navigation, search

Overview

This article is a part of articles on Configuring Visual WebGui application General tab

Settings

Private Version Default value web.config Description
Private version
1
<WebGui>
   <PrivateVersion Value="1" />
</WebGui>

Version "stamp" used for various caching and dynamic data in Visual WebGui applications

General

The private version is a kind of version "stamp" or version number that Visual WebGui uses for various dynamic and caching data. Caching problems are the most common problems you have with any Visual WebGui application and you can prevent many of them by increasing this version number and then recompile your application. It does not really matter what number you use here, you only have to make sure the same version number is not used again. Therefore it's most common just to increase the version number by one every time you change it.

When installing a new (or older) version of Visual WebGui, it is a best practice to make it a part of your standard upgrade procedure to increase the private version on your project. For some changes to web.config, increasing it is mandatory.

The most relevant areas where increasing the private version affects your application are:

  • Eliminates the relevance of previous client cache
  • Eliminates the relevance of peivious server cached DLLs
  • Eliminates all cached static resources on the virtual directory
  • Eliminates all saved dynamic resources on the Virtual directory that connot be removed otherwise without shutting down the server and deleting the files manually


Personal tools