Question

When running an ASP.NET web application on a local development machine, e.g. http://devmachine:1234, I would like to connect to that machine from a virtual pc that uses different browsers. As far as I know the development webserver only serves traffic for the local machine.

Is there a program / proxy that I can run on my local development machine that will listen for incoming connections from the virtual pc's browser and redirect them to the development webserver on my local machine?

e.g. virtual pc browser connect via proxy to local pc port 8080, then passes it on to devmachine port 1234

Was it helpful?

Solution

I tend to avoid using Casini for all but the most trivial example or proof-of-concept sites for this reason.

You're better off using IIS-proper rather than Casini/ASP.NET web development server.

Create either a web site or a virtual directory in IIS with the physical path that's the same as your local development files. This way you'll be able to connect from any machine via your IP address and the site will be consistently available via a known address rather than sporadically available (i.e. when you have Casini running) via a port that varies.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top