Possible duplicate:
How to deploy an ASP.NET application with zero downtime
Duplicate question
Hello everybody,
I have an asp.net application that I want to deploy safely (with minimal downtime). I would like to do something like a blue green deployment , but without the need for a second web server.
So, I know that I can use load balancing, etc., but I need a quick and cheap approach. I was thinking of doing something like:
- Setting up another website (copy of the original) in IIS, currently I use host headers for direct traffic to sites).
- Then I could browse the new site locally until the site was completely online (due to the launch of NHibernate and various other high-intensity tasks, this will take some time).
- Once Site 2 is fully up, I would then change the host headers, giving me much less downtime.
So my question. Has anyone done something like this? Will IIS restart the application pool or application when changing host headers (which makes this useless)? Any other options?
Thank you for your help.
Guido
source
share