c# - Auto restart IIS Website from console application -


we have asp.net application used many customers installed on own servers. because installed on end each having different databases , url bindings etc created console application while ago gets zip file , extracts c:\inetpub location append latest application changes. console app added scheduled tasks create automated update.

obviously when accesses site first time after have wait little longer whilst site rebuilds. changed console application include process.start(urlofapp) should part of update next morning first user doesn't have wait rebuild.

i have tested ok running myself not yet released concern url process kept open. can enlighten me whether case don't want happen or can give me ideas how rebuild site manually part of console app.

iis has had auto-start apps feature quite time. have enable it. can find more info the gu, , the iis site.


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -