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:
- stops app pool
- unzips new version
- rewrites config template files using locally stored properties
- 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
Post a Comment