ASP.NET Development Server -> IIS

P

pinkfloydhomer

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
 
J

Juan T. Llibre

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.
 
P

pinkfloydhomer

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?
You must, previously, create a virtual directory for your application in the IIS Manager.

How do I do that?

/David
 
J

Juan T. Llibre

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".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,990
Messages
2,570,211
Members
46,796
Latest member
SteveBreed

Latest Threads

Top