Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2007

Tip: Looking for answers? Try searching our database.

ASP.NET Development Server -> IIS

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
pinkfloydhomer@gmail.com - 10 Oct 2007 12:00 GMT
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
Juan T. Llibre - 10 Oct 2007 12:55 GMT
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/
======================================
> 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
pinkfloydhomer@gmail.com - 10 Oct 2007 14:31 GMT
> 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
Juan T. Llibre - 10 Oct 2007 16:37 GMT
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/
======================================

>> From that point on, the VS.NET IDE will not use the internal web server,
>> but will use IIS to open your pages.
[quoted text clipped - 7 lines]
>
> /David

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.