Umbraco 9 - Help to (live) update custom dll in production website without stop IIS
Hi to all,
I have been using Umbraco 9 for a short time and I would like to know how to live update my dll (already present in my production site).
Now I've done a little change to my functionality (already tested in Dev environment) and I would to update my DLL into production website, but I cannot because the dll is in use and I cannot update it.
To update it, I must stop the website, update my dll and restart website.
I think there is a smart way to update it, my I don't know what.
With Umbraco 8 it was very simple.
It was enough to replace the dll with the new one and Umbraco automatically restart.
Can anyone help me to know how can I do a "live" update of my custom dlls with Umbraco 9?
At the end I found the solution.
I need to create a .ps1 file (pawershell script) to perform the update.
This will put temporary offline the website, will updates the website with new dll and will go online again.
Umbraco 9 - Help to (live) update custom dll in production website without stop IIS
Hi to all, I have been using Umbraco 9 for a short time and I would like to know how to live update my dll (already present in my production site).
Now I've done a little change to my functionality (already tested in Dev environment) and I would to update my DLL into production website, but I cannot because the dll is in use and I cannot update it. To update it, I must stop the website, update my dll and restart website.
I think there is a smart way to update it, my I don't know what.
With Umbraco 8 it was very simple. It was enough to replace the dll with the new one and Umbraco automatically restart.
Can anyone help me to know how can I do a "live" update of my custom dlls with Umbraco 9?
Thank you for your help. Adriano
At the end I found the solution. I need to create a .ps1 file (pawershell script) to perform the update. This will put temporary offline the website, will updates the website with new dll and will go online again.
Adriano
is working on a reply...