Home > Mobile >  Automatically update local client website that running on IIS manager
Automatically update local client website that running on IIS manager

Time:09-30

I have a website that running locally on IIS Manager. Every time when I update website, I communicate client via Anydesk and update its file. Whenever the client got any update from server than it should be automatically updated.

I got it solution to push dll file on GitHub. When customer click on update button GitHub file download automatically in where website hosted folder. The problem is here when I replace updated file, it will give an error 'The process cannot access file, because it already used'.

a

If this solution is correct, kindly guide me how to overwrite file while application running on IIS manager without stop application

Otherwise give me suggestion to update file from online window server to local IIS manager without closing application.

CodePudding user response:

Currently, in ASP.NET Core apps, it is impossible to replace binaries when the application is still running, but it will possible in .NET 6 by Shadow-copying in IIS.

  • Related