Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Adriano Fabri 469 posts 1633 karma points
    Feb 16, 2022 @ 10:56
    Adriano Fabri
    0

    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

  • Adriano Fabri 469 posts 1633 karma points
    Sep 23, 2022 @ 12:14
    Adriano Fabri
    100

    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

Please Sign in or register to post replies

Write your reply to:

Draft