Reputation: 3524
I am struggling to get similar behaviour from my dev webserver [1] and my test environment [2], and am now looking at why the dev returns HTTP 400 Bad Request with this URI?
http://localhost:1234/v1//Dy888/1/1234567815/swlocation?fv=24&sv2=3&sv3=5
(Note the two slashes after "v1".)
[1] Cassini in VS2008 [2] Win Server 2008 with IIS7
Thanks in advance! - Niklas
PS. I started this search with this question, where I was told that the URI aforementioned should not generate a Bad Request at all:
IIS7 NOT returning HTTP 400 for a bad request DS.
Upvotes: 3
Views: 404
Reputation: 47164
You should not expect similar behavior between the ASP.NET Development Server that comes built-into Visual Studio and the IIS Web Server.
They are generally two different web servers with different code bases and different feature sets. Even if they should behave similar (what they definitely don't e.g. web server features like SSL, URL Rewrite Rules, etc.) never expect them to do so.
That's just another reason Microsoft stopped the development for the ASP.NET Development Server and introduced IIS Express to get your development and your production web server experience again on the same page.
So my recommendation for you is:
Hope that helps!
Upvotes: 1