Starting from this post: ASP.NET 2.0 - How to use app_offline.htm
Using powershell to deploy the new version of the site.
Copying app_offline.htm to the site folder.
The offline page is in place.
But cannot get the state of the site.
The app (value) and the site (state) are both Started.
If I try to copy the files, some .dll is not released.
So, how can I know when the site is offline?