I have a WCF service hosted in IIS 7. It will take several minutes until this service finishes loading its data and is ready for external calls. Loading data into internal thread. The problem is that from the IIS point, the service is ready immediately after its activation (by means of some call) and processes the request without waiting for data to load.
Is it possible to inform IIS that the service is still loading and making this service unavailable for requests? No problem if such a request throws an exception.
source
share