Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Connection to the root web site with VS.NET


Message #1 by "Albert Davis" <albertdavis@h...> on Fri, 07 Dec 2001 20:15:04 -0500
Is there a way to connection to the root of a web site in VS.NET?  Everytime 

I connect to one of my servers using "ASP.NET Web Application" as my project 

choice, VS.NET forces me to enter in a project name which creates a virtual 

directory under the root of the web site...  I want to develop at the root 

e.g. http://www.myapp.com, not http://www.myapp.com/myNewWebProject...  Are 

you having to develop at the project level and then copy your assemblies to 

the root directory to accomplish this?



Thanks ahead for any insight!

Al



_________________________________________________________________

Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp



Message #2 by "Ken Schaefer" <ken@a...> on Sat, 8 Dec 2001 18:05:50 +1100
1. In the VS New Project dialog for VB or C#, select the last project

type: New Project in Existing Folder.

2. For the "Folder location", specify "http://localhost", or the url of

your web.

3. VS will create a web project in your root web, but there won't be any

files in it by default.  You can add new files in the usual way, or

"include" files that already exist in the root web, like this:

a. Project > Show All Files (to display files that are in the

directory, but not part of the project)

b. select one or more of the grayed out files, then Project >

Include in Project

c. File > Save All



HTH



Cheers

Ken



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

From: "Albert Davis" <albertdavis@h...>

Subject: [aspx] Connection to the root web site with VS.NET





: Is there a way to connection to the root of a web site in VS.NET?

Everytime

: I connect to one of my servers using "ASP.NET Web Application" as my

project

: choice, VS.NET forces me to enter in a project name which creates a

virtual

: directory under the root of the web site...  I want to develop at the root

: e.g. http://www.myapp.com, not http://www.myapp.com/myNewWebProject...

Are

: you having to develop at the project level and then copy your assemblies

to

: the root directory to accomplish this?



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Message #3 by "Albert Davis" <albertdavis@h...> on Sat, 08 Dec 2001 10:05:58 -0500
Ken,



Thanks!  I must of overlooked that option in the project list (that what 14 

straight hours of programming will do to you :))...  That worked, Thanks 

again!



Al





>From: "Ken Schaefer" <ken@a...>

>Reply-To: "ASP+" <aspx@p...>

>To: "ASP+" <aspx@p...>

>Subject: [aspx] Re: Connection to the root web site with VS.NET

>Date: Sat, 8 Dec 2001 18:05:50 +1100

>

>1. In the VS New Project dialog for VB or C#, select the last project

>type: New Project in Existing Folder.

>2. For the "Folder location", specify "http://localhost", or the url of

>your web.

>3. VS will create a web project in your root web, but there won't be any

>files in it by default.  You can add new files in the usual way, or

>"include" files that already exist in the root web, like this:

>a. Project > Show All Files (to display files that are in the

>directory, but not part of the project)

>b. select one or more of the grayed out files, then Project >

>Include in Project

>c. File > Save All

>

>HTH

>

>Cheers

>Ken

>

>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

>From: "Albert Davis" <albertdavis@h...>

>Subject: [aspx] Connection to the root web site with VS.NET

>

>

>: Is there a way to connection to the root of a web site in VS.NET?

>Everytime

>: I connect to one of my servers using "ASP.NET Web Application" as my

>project

>: choice, VS.NET forces me to enter in a project name which creates a

>virtual

>: directory under the root of the web site...  I want to develop at the 

>root

>: e.g. http://www.myapp.com, not http://www.myapp.com/myNewWebProject...

>Are

>: you having to develop at the project level and then copy your assemblies

>to

>: the root directory to accomplish this?

>

>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

>

>








_________________________________________________________________

Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




  Return to Index