I have an ASP.NET C # application that is updated by another application on the server.
When I start the process of updating the first application in the second I stop the pool in which the first one is running. At this point I would like to enable some way to redirect the first application to a page in the second stating that the upgrade process is happening.
I tried using the link tag in web.config, I also tried using the app_offline.htm file in the root of the first application but in both cases the pool needs to be active to perform the redirect, which is not the situation I have.
Does anyone have any idea how I can perform the redirect with the pool in IIS stopped?