If you want to run a Visual Studio project as a web site in IIS, you do not have to have a web site type project in lieu of web application. I was able to spin up an MVC4 web app and bolt other projects onto it while still running it through IIS by making the UI project standalone a web site, mapping a host header to it with hosts file magic, and then just bringing the site up in a browser by way of the appropriate URL. I suppose I cannot use the debugger to debug in this manner however.
Addendum: I found that if I am not running Cassini, that I have to rebuild in Visual Studio to get UI code changes to be reflected in the browsing I do via IIS Express.
No comments:
Post a Comment