I'm looking for an elegant solution for redirecting users to an application maintenance page. There are weekly periods for an hour whereby content is being promoted and changed on our main SharePoint application. During this period I would prefer that our 4000+ users are presented with a message that the application will be back shortly rather than continuing to use parts of the system which may return errors.
During these periods we use a bespoke C# application to communicate with the SharePoint API. If I were to develop the maintenance tool to place an app_offline.htm page in each front end server I believe that this would give the correct result. However, is there any problems with this approach when it comes to using URLs in SPSite / SPWeb objects etc? Will they encounter any problems initialising whilst an app_offline.htm file is present?
Are there any other solutions that others use such as DNS switching?