We deploy our websites as a single MSI package. We deploy to IIS 6.0 (Windows 2003) and they run on .NET 3.5. The problem I have is that when we upgrade to a new version of our websites, users may be half way with a long-running task. What I need is the following:
- How to stop users from starting new requests
- Let users with long-running tasks finish their task
- Redirect users to a landing page while the website is being upgraded.
I was hoping for IIS to provide some support for these scenarios but I think I may out of luck. Is the only to achieve this by adding custom functionality to the website?