Skip to main content

Update .NET application

How to delete/update files (DLLs) of a .NET application via FTP that are in use?

Updated over a week ago

Would you like to delete or update files (e.g., DLLs) of your .NET application via FTP that are currently in use?
Here’s how you can easily perform the update step by step:

  1. Create a Maintenance File
    Create a file named App_Offline.htm. This file ensures that your web application goes offline temporarily during the update process.

  2. Upload the File
    Upload the App_Offline.htm file to the root directory of your .NET application.

  3. Back Up Your Data
    Before you start, make sure to back up all web data that you plan to update or overwrite.

  4. Recycle the Application Pool
    Recycle the Application Pool via the System Configurator. This will restart all running processes.

  5. Update the Application
    Upload your new or modified files via FTP and overwrite the existing ones.

  6. Remove the Maintenance File
    Once the update is complete, delete or rename the App_Offline.htm file in the root directory.
    Your application will then be available again as usual.

Did this answer your question?