PC Review


Reply
Thread Tools Rate Thread

ASP.NET Development Server -> IIS

 
 
pinkfloydhomer@gmail.com
Guest
Posts: n/a
 
      10th Oct 2007
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

 
Reply With Quote
 
 
 
 
Juan T. Llibre
Guest
Posts: n/a
 
      10th Oct 2007
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/
======================================
<(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> 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
>



 
Reply With Quote
 
pinkfloydhomer@gmail.com
Guest
Posts: n/a
 
      10th Oct 2007
On 10 Okt., 13:55, "Juan T. Llibre" <nomailrepl...@nowhere.com> wrote:
>
> 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

 
Reply With Quote
 
Juan T. Llibre
Guest
Posts: n/a
 
      10th Oct 2007
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/
======================================
<(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> On 10 Okt., 13:55, "Juan T. Llibre" <nomailrepl...@nowhere.com> wrote:
>>
>> 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
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Use IIS web Server Vs. Visual Studio Development Server with Port Lit Microsoft ASP .NET 1 3rd Aug 2007 07:16 PM
IIS vs. ASP.NET development server Urs Microsoft ASP .NET 2 15th Jun 2006 12:03 PM
Connecting to a server from development clients which is connected to server through VPN tyro Microsoft Dot NET Framework 0 13th Mar 2004 01:40 AM
urgent help needed, Server.MapPath() works differently on server than on development machine Peter Row Microsoft ASP .NET 0 1st Mar 2004 08:49 AM
Server development =?Utf-8?B?Q29uZG8=?= Microsoft ASP .NET 1 24th Jan 2004 10:23 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:30 AM.