iis express configuration vs azure configuration
I have an issue that I can't seem to find a solution too ... I have a generic handler (.ashx) that returns OK (200) + some html content if everything is going right with the application. This same handler returns a 404 + some html content if something isn't working. (The handler basically reaches out the database, storage, webapi, etc. to ensure everything is up and running).
In IIS Express the content from the 200 and 404 is displayed as I want it too. When deployed to azure the 200 returns the html correctly, but the 404 gives me the standard 'The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.'.
Is there some way I can configure an azure website to display the content of the 404?
0 comments:
Post a Comment