Forum Moderators: open

Message Too Old, No Replies

creating asp.net application from .Net 2003

how to store that whole application in a folder not in the wwwroor folder

         

rpshah1208

7:47 am on Apr 19, 2006 (gmt 0)

10+ Year Member



i want to create a asp.net application in a particular folder (like d:/projects/) not in the wwwroot folder.

send me the procedures to create that application in ASP.Net 2003

emsaw

3:39 pm on Apr 19, 2006 (gmt 0)

10+ Year Member



This is to create a virtual directory for development of an ASP.Net application on a Win XP Pro box:

right click on 'My Computer',
select 'Manage'.

in the Computer Management console:
Expand the tree to 'Services and Applications' > 'Internet Information Services' > 'Web Sites' > 'Default Web Site' .

Right click on 'Default Web Site',
select 'New' > 'Virtual Directory'.

The 'Virtual Directory Creation Wizzard' pops up.
Select 'Next',
Type in your alias(if you want //localhost/ProjectX to be the URI, put in 'ProjectX'),
select 'Next',
Click 'Browse', and find the directory where you want your content to come from,
Click 'Next',
Make sure only the first two checkboxes are selected ('Read' and 'Run scripts'(Such as ASP))
Click 'Next'.
Click 'Finish'.

Now you should see a virtual directory in the MMC that is 'ProjectX'.

Open Visual Studio.
Create a new Project.
In the Location address bar, type in 'http://localhost/ProjectX'

And off you go.

Mark