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

  • SEARCH
  • Home
  • 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 8398875
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T21:09:26+00:00 2026-06-09T21:09:26+00:00

What .NET features will allow me to load reload and restart an embedded server?

  • 0

What .NET features will allow me to load “reload” and “restart” an embedded server? I don’t know how to ask this question well. I’m writing a server that needs to be updated periodically with additional features. I want it to run 2 of the same server on different ports (for redundancy) and then when I roll out new changes take one of the servers down, load the new code, run tests, start moving traffic to the new version and then begin the same process on the second server.

I’m thinking that maybe AppDomains or MEF might be what I’m looking for, but don’t know much about these technologies. I’m wondering if there might be something else already in the .NET framework that I’m missing that would help out.

Any suggestions? If I’m off about the AppDomains or MEF feel free to let me know that as well.

  • 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-06-09T21:09:26+00:00Added an answer on June 9, 2026 at 9:09 pm

    I do this in a windows service with AppDomains. The service just has the network-IO code, and the code to download new versions and instantiate app-domains. All the real code is behind a well-known and unchanging interface, which has the “handle a request” code, and the serialize/deserialize mechanisms for long-term local state.

    The upshot is that the single service can run perpetually. When a new version is available and has passed the smoke-test, it can simply change a single reference (the marshalled/unwrapped instance), and hey presto: upgraded. It can then unload the old app-domain.

    For redundancy (hardware etc) we still use multiple nodes for this, with load-balancing applied at the client (although you could d this at a NLB too; we had reasons not to this time).

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

Sidebar

Related Questions

What will be the new features available in ASP.Net 4.0?
How can MVC website benefit from the new parallelism features in .net 4? don't
I need a light CMS for .NET 3.5/C#/SQL Server with these features: Create/Edit Pages/Subpages
I am playing with the .net remoting features and there is something that I
One of ASP.NET's security features is proving to be a mountain to scale here
So I was looking for new features in .Net 4.5 and I found that
what are the new features (if any) in ADO.Net 3.5 as compared to 2.0?
Possible Duplicate: What features are people looking forward to in .Net 4.0 - 4.1
Working with a Visual Basic.NET console application that features a VERY BASIC natural language
In a .NET CF application I wrote, one of the features is to acquire

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.