Connecting Tech Pros Worldwide Help | Site Map

ASP.NET Development Server -> IIS

  #1  
Old October 10th, 2007, 12:05 PM
pinkfloydhomer@gmail.com
Guest
 
Posts: n/a
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, 01:05 PM
Juan T. Llibre
Guest
 
Posts: n/a

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, 02:35 PM
pinkfloydhomer@gmail.com
Guest
 
Posts: n/a

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, 04:45 PM
Juan T. Llibre
Guest
 
Posts: n/a

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
>

Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Switching from ASP.NET Development server to IIS llevity@gmail.com answers 2 March 9th, 2007 10:05 PM
Anyway to disable the ASP.NET Development Server? Chris Hayes answers 7 August 2nd, 2006 03:55 PM
IIS vs. ASP.NET development server Urs answers 2 June 15th, 2006 12:05 PM
Problem with ASP.NET Development Server Aras Kucinskas answers 2 February 21st, 2006 01:55 PM
changing the asp.net development server port? ASP Developer answers 2 January 19th, 2006 03:25 AM