Connecting Tech Pros Worldwide Help | Site Map

ASP.NET Development Server -> IIS

 
LinkBack Thread Tools Search this Thread
  #1  
Old October 10th, 2007, 11:05 AM
pinkfloydhomer@gmail.com
Guest
 
Posts: n/a
Default ASP.NET Development Server -> IIS

Can I disable the use of the ASP.NET Development Server entirely and
use IIS instead? During development, I mean, with debugging from
within VS2005 etc.

/David


  #2  
Old October 10th, 2007, 12:05 PM
Juan T. Llibre
Guest
 
Posts: n/a
Default Re: ASP.NET Development Server -> IIS

To specify the Web server for an already-created Web site which is served
with the ASP.NET Development Server, open your project/application with
VS 2005 and, in the Solution Explorer, right-click the name of the Web site
for which you want to specify an IIS Web server, and then click Property Pages.

In the Property Pages dialog box, click the Start Options tab.
Under Server, click Use custom server.


In the Base URL box, type the URL that VS 2005 should start when running the current Web site.
You can use localhost, your machine name, or an assigned domain name for your IP.


From that point on, the VS.NET IDE will not use the internal web server,
but will use IIS to open your pages.


You must, previously, create a virtual directory for your application in the IIS Manager.




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
======================================
<pinkfloydhomer@gmail.comwrote in message news:1192014046.294835.66770@v3g2000hsg.googlegrou ps.com...
Quote:
Can I disable the use of the ASP.NET Development Server entirely and
use IIS instead? During development, I mean, with debugging from
within VS2005 etc.
>
/David
>

  #3  
Old October 10th, 2007, 01:35 PM
pinkfloydhomer@gmail.com
Guest
 
Posts: n/a
Default Re: ASP.NET Development Server -> IIS

On 10 Okt., 13:55, "Juan T. Llibre" <nomailrepl...@nowhere.comwrote:
Quote:
>
From that point on, the VS.NET IDE will not use the internal web server,
but will use IIS to open your pages.
>
Okay, thanks. Is there an easy way to do that permanently for all
future projects?
Quote:
You must, previously, create a virtual directory for your application in the IIS Manager.
>
How do I do that?

/David

  #4  
Old October 10th, 2007, 03:45 PM
Juan T. Llibre
Guest
 
Posts: n/a
Default Re: ASP.NET Development Server -> IIS

re:
!Okay, thanks. Is there an easy way to do that permanently for all future projects?

You don't need to.

If you select "File", "New Web Site", from the VS 2005 IDE,
in the "Location" dropdown you can select whether it will be
an http-based website, instead of a file-based website.

re:
!>You must, previously, create a virtual directory for your application in the IIS Manager.
!How do I do that?

Use the IIS Manager.
Right-click the "Default Web Site", select "New"...and choose either "Web site" or "Virtual Directory".





Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
======================================
<pinkfloydhomer@gmail.comwrote in message news:1192023060.234866.207160@50g2000hsm.googlegro ups.com...
Quote:
On 10 Okt., 13:55, "Juan T. Llibre" <nomailrepl...@nowhere.comwrote:
Quote:
>>
>From that point on, the VS.NET IDE will not use the internal web server,
>but will use IIS to open your pages.
>>
>
Okay, thanks. Is there an easy way to do that permanently for all
future projects?
>
Quote:
>You must, previously, create a virtual directory for your application in the IIS Manager.
>>
>
How do I do that?
>
/David
>

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,662 network members.