Search code examples
visual-studio-2010iis-7virtual-directoryvs-web-application-project

Configure Visual Studio 2010 web application project to run on localhost:8080


I am using local IIS instead of the VS Web Server but instead of a virtual directory on the Default Web Site, I want to configure my web application project to run in its own IIS Web Site on port 8080. How can I do this?


Solution

  • Setup a website on IIS, using port 8080.

    Point the home directory of this site to the web application project directory.

    To debug on IIS, attach to the worker process (w3wp.exe).