Monitoring for Version Change

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi.... I have a windows app with I have deployed to the web server. I know
there is a way to monitor the site to see if the version of the application
has changed, and to automatically restart the application when a newer
version is available.

Does anyone know where for find sample code for this?

Thanks,

Forch
 
You can add a key in your .config file. When loading the application check
the current key value with the "Hardcoded version value one in your
application". I suggest that you build a simple HTML page deploy it on the
server. The Page would contain a link to download the new setup file (having
the new application version).

The code in your application can be set to work in a manner that when it
finds a new version (i.e. a mismatch in the version value), the application
loads the html page and closes down the application.

:)
 
Back
Top