How to add rewrite rule to Azure web.config so that certain requests are not redirected?
问题 How to add a URL Rewrite rule so that requests from user agents – ReadyForRequest/1.0+(HealthCheck) & HealthCheck/1.0 are not redirected ? I need this so Azure app service health check can work. I found many SO posts about redirecting urls but I can't found SO posts for preventing redirection for certain requests. This post is to add answer to my previous post, but I only want to focus on the real problem because my previous post seems gained attention to the wrong topic. Thanks for any help