Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Viewing ASP.net Development Server from virtual machine

Tags:

asp.net

iis

Microsoft recommends testing older versions of IE with the following virtual machines

This is all fine and good, except that the virtual machines can't see the Dev Server from Visual Studio. This makes it very difficult to develop or debug since I have to copy or deploy to IIS for every little change I make. I've tried using ARR, but it seems it can only forward to one specific port at a time, whereas i need to have the port typed in the address bar of the virtual machine to match the port that it is connecting to on the host machine. Is this possible?

like image 478
Richard Hoffman Avatar asked Sep 24 '26 07:09

Richard Hoffman


1 Answers

You shouldn't need to deploy to IIS to test changes.

We set our IIS up on development machines to point to the web project folder.

Once IIS is setup, you can add an existing website to your solution, select Local IIS and select the Site from the list of sites (rather than browsing the file system and selecting a .csproj file). You'll now have your site in VS that is hosted by IIS, ready to change and debug, and accessible from remote machines.

like image 65
Michael Shimmins Avatar answered Sep 26 '26 00:09

Michael Shimmins



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!