webrequest - How can I get Visual Studio Web Development Server (Cassini) to send the domain name of the request to the web application? -


We are developing an application that is sensitive to the request's domain name. The problem we are running is that we have to use IIS to test the application, because Cassini will only send "localhost" in the address bar as the requested domain despite the use of a different domain. While IIS offers better performance than Cassini, we still want to be able to kill F5 to run our application from within Visual Studio.

Is there any configuration that can be used to specify the domain name in Cassini?

I have just released Cassini Dave 3.5.1 / 4.0.1 beta with simple testing. Stability examples if you are interested.

This arbitrarily supports IP address and host names. Your needs should fit well enough.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -