ASP.Net Application Self Updating -


i trying existing asp.net web application update within itself. have alot of different clients using application different connection strings can't simple deploy.

i deploying filesystem, zipping , uploading (without web.config) , client downloads , extracts accordingly. don't requires being on server or creating share application.

so created signalr hub in application downloads file , unzips it. works page stops getting info hub when starts extracting because application being restarted guess.

is there way work within application , report on it's progress, don't want use external if can want update update wordpress within example.

edit: want point out used hub show live progress of percent downloaded of zipped file , progress of extraction.

we have custom system based on idea.

the trick have separate application updates. application exposes web service accepts signed requests containing application deployment files. then, requests stored in local queue , processed service which:

  1. stops app pool
  2. unzips new version
  3. rewrites config template files using locally stored properties
  4. starts app pool , pings in case of issues

what need in our main office new version of app distibuted locations around (around 20 @ moment). no big issues.

the distribution subsystem has been developed internally years ago , based on .net because haven't found fulfill our requirements @ time. since haven't tried search third-party tools same.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -