I have just recently found out that IIS web deploy 3.0 and newer versions do support feature of taking website down while doing a deployment by using this property inside the .pubxml file:
This works fine – it generates a file called App_Offline.htm in my website’s root directory…
However – the file generated like this is completely empty – but I don’t want it to be empty. I wanna place custom HTML there and I cannot seem to find a way to do this. I cannot see from where is this file being generated – nor do I have any clue how to place custom HTML inside that page during web deployment.
Has anyone had a similar issue like this ?
I’ve checked all the documentation on this but I can’t seem to find a solution..:/
Can someone help me out ?
Source: Visual Studio Questions