You should not expect similar behavior between the ASP.NET Development Server built into Visual Studio and the IIS Web server.
Typically, these are two different web servers with different code bases and different sets of functions. Even if they should behave in a similar way (something that they definitely do not have, for example, web server functions such as SSL, URL rewriting rules, etc.), they never expected them to do this.
This is another reason Microsoft stopped developing for ASP.NET Development Server and implemented IIS Express to get your development and your production web server back to the same page.
So my recommendation for you:
- Stop Using ASP.NET Development Server
- IIS Express
- , !
/ IIS !
, !