|
Subject:
|
Store ASP.NET files in other than C:\Inetpub
|
|
Posted By:
|
RNedel
|
Post Date:
|
9/22/2003 8:05:48 PM
|
How does one create an ASP.NET solution that stores files in some location other than C:\Inetpub. I typically like to store all my data on my D-Drive so that if I ever have to reinstall my OS, I don't inadvertantly lose stuff. Unfortunately, I can't seem to find a way to store ASP.NET solutions, ASPX, HTML and other files on my D-Drive. Thanks.
- Roger Nedel
Nedel Software Solutions rnedel@nedelsoft.com
|
|
Reply By:
|
jacob
|
Reply Date:
|
9/23/2003 1:59:50 AM
|
Well, you can do it like this if you are using Windows...
Make the folder that you would like to put your project in using e.g. Windows Explorer. Then right-click the folder and choose 'Properties'. Choose the 'Web Sharing' tab and click 'Share this folder'. You can now choose the name to share it as e.g. 'supergeil'.
Now you have a possibility to access this folder using...
http:\\localhost\supergeil
If you do a project using VS 7.0 you can start a new ASP.NET application (e.g.) and when the dialog appears select the location to be http:\\localhost\supergeil
This will set up the new project, and you will see a lot of new files in the folder you created. When you are to save the project make sure that you do this on the D drive as well.
Hope this helps 
Jacob.
|
|
Reply By:
|
RNedel
|
Reply Date:
|
9/23/2003 5:21:46 AM
|
Jacob:
Thanks for the info. Worked as advertised.
- Roger Nedel
Nedel Software Solutions rnedel@nedelsoft.com
|