How to use IIS from VS instead if the internal web server?

Last post 12-21-2006 10:12 AM by hooligannes97. 6 replies.

Sort Posts:

  • How to use IIS from VS instead if the internal web server?

    12-21-2006, 9:20 AM
    • Member
      249 point Member
    • dirkil
    • Member since 08-17-2006, 11:13 AM
    • Posts 86

    It has probably been answered alsready but I wasn't able to find a corresponding posting.

    When I run my ASP.NET application from within Visual Studio the internal web server of Visual Studio handles all the requests. I would like to use the local IIS instead but can't find out how to configure VS to do so. Any hint is very much appreciated.
     

  • Re: How to use IIS from VS instead if the internal web server?

    12-21-2006, 9:33 AM
    Answer
    • All-Star
      16,504 point All-Star
    • hooligannes97
    • Member since 09-26-2003, 10:57 AM
    • Bolivia
    • Posts 2,917
    • Moderator
    In your Project's Properties select the Web tab and you'll see the options in servers.
    Do you know the truth when you hear it?
  • Re: How to use IIS from VS instead if the internal web server?

    12-21-2006, 9:41 AM
    • Member
      249 point Member
    • dirkil
    • Member since 08-17-2006, 11:13 AM
    • Posts 86

    When I right click on the solution and choose "Property Pages" I can't see any Web tab. There are onle "References, Build, Accessibility, tart Options, MSBuild Options".

    Or aren't these the project's properties?

  • Re: How to use IIS from VS instead if the internal web server?

    12-21-2006, 9:48 AM
    • All-Star
      16,504 point All-Star
    • hooligannes97
    • Member since 09-26-2003, 10:57 AM
    • Bolivia
    • Posts 2,917
    • Moderator
    Project, not solution.
    Do you know the truth when you hear it?
  • Re: How to use IIS from VS instead if the internal web server?

    12-21-2006, 9:56 AM
    • Member
      249 point Member
    • dirkil
    • Member since 08-17-2006, 11:13 AM
    • Posts 86

    Sorry, I meant project but wrote solution. My solution consists of the web site and another c# project. When I right-click on the project I can choose "Property Pages" with the choices I described earlier. When I right click on the c# project I could choose "Properties".

    What exatly do you get when you right click on the project and choose "Property pages"? 

  • Re: How to use IIS from VS instead if the internal web server?

    12-21-2006, 10:08 AM
    Answer
    • Member
      249 point Member
    • dirkil
    • Member since 08-17-2006, 11:13 AM
    • Posts 86

    Ah, now I found it. It's under "Start options".

     Anyway, thank you for your time!
     

  • Re: How to use IIS from VS instead if the internal web server?

    12-21-2006, 10:12 AM
    Answer
    • All-Star
      16,504 point All-Star
    • hooligannes97
    • Member since 09-26-2003, 10:57 AM
    • Bolivia
    • Posts 2,917
    • Moderator

    You are then using a Web Site Project. The easy switch I recommended is done in Web Application Projects.

    When you are creating your WebSite project you have the choice to use VS Web developer webserver or IIS. After creation you can alter this in Start Options. In Server change to Use custom server and set the Base URL

    Do you know the truth when you hear it?
Page 1 of 1 (7 items)