Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 530497
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T09:12:10+00:00 2026-05-13T09:12:10+00:00

We have an application running as a Windows service on a production server. The

  • 0

We have an application running as a Windows service on a production server. The application is partitioned into several assemblies mostly on deployment boundaries. I would like to streamline the deployment of hot-fixes to application assemblies. Currently I do the following steps to deploy a hot fix. (we have a duplicate of the production environment for staging, so everything has to be done twice)

  1. Login to server
  2. Stop the service
  3. Backup currently deployed dll
  4. Replace with hotfix (Copy hotfix over existing dll)
  5. Restart service
  6. Roll back in case of unexpected load errors (has not happened, yet)

I think that what I would like is to upload (SFTP) a dll to a preset folder and have the application pick up the new dll.

One solution I’ve considered is to have a separate service running on the server. Let’s call it a hotfix deployment service. It would watch the file system for new files and do steps 2-6 from the list above.

Any insight is appreciated. I’m open to other alternatives as well as long as they reduce the deployment friction.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T09:12:10+00:00Added an answer on May 13, 2026 at 9:12 am

    Having a separate service is probably your best option.

    You could, potentially, do this in a single service. The “trick” that would be required to making a service self-updating, though, is a bit difficult to implement.

    What you would have to do is have your service start off as nothing but a very lightweight shell service. It could then start a separate, insulated AppDomain, and have that appdomain load your service’s assemblies, and initialize, and run.

    Later, when you wanted to update (which could trigger via any event the service can pick up, including copy of the new assemblies to an update folder [via FileSystemWatcher], explicitly telling it via networking, etc]), it would need to trigger a way to tell the internal AppDomain’s type to stop, then unload the AppDomain. At this point, it could do steps 3 & 4 above. Then, it’d just need to reload the AppDomain, rerun it’s initialization, etc.

    Since the service would be in a separate AppDomain, this could all happen in one executable, without the service stopping. When an AppDomain is unloaded, the assemblies it loads are also unloaded.

    The only requirement here that makes it difficult is that you have to make sure not to pass any types into the main AppDomain from the constructed one, or you’ll load the assemblies into your main AppDomain. This would prevent you from being able to update them at runtime.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 278k
  • Answers 278k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You are requesting a GET from your jQuery code, but… May 13, 2026 at 3:07 pm
  • Editorial Team
    Editorial Team added an answer Try this $(document).ready(function() { $(".controller").toggle( function() { $(this).prev("input[type='text']").removeAttr("readonly"); $(this).text("Disable"); },… May 13, 2026 at 3:07 pm
  • Editorial Team
    Editorial Team added an answer You don't need any function, since C only derives once… May 13, 2026 at 3:07 pm

Related Questions

I have an importer process which is running as a windows service (debug mode
I have an application that makes use of the Mozilla LDAP library. We're diagnosing
We have an asp.net application that needs to be expanded to notify users when
Disclaimer: I know this is a bad way to do things. It is the
We have a program that uses QoS-sockets, our softphone application uses QoS for the

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.