473,379 Members | 1,235 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

installing ASP.NET app - what directory?

Hi;

We are writing an installer for our ASP.NET app and are hitting an argument
over where the default directory for the app should be.

Should it be (assuming standard folder layout):

1) c:\inetpub\wwwroot\WindwardPortal

2) c:\Program Files\WindwardPortal

Also, we have several files (the readme & the license) that we need to
install - but they should not be available to people hitting our app on IIS.
Where should we install these too?

Can we create a directory App_Documents that is not accessable just as
App_Code is not (assuming the App_* is the magic do not enter part)? Or
somewhere else? If we install the app to c:\inetpub\wwwroot\WindwardPortal I
hate to also create c:\Program Files\WindwardPortal just for 3 files.

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm
Dec 17 '06 #1
2 1077
Hi,

David Thielen wrote:
Hi;

We are writing an installer for our ASP.NET app and are hitting an argument
over where the default directory for the app should be.

Should it be (assuming standard folder layout):

1) c:\inetpub\wwwroot\WindwardPortal

2) c:\Program Files\WindwardPortal
I would leave that choice to the user. Personally, I don't like to have
my folders into wwroot. Since you can create a virtual folder in IIS
pointing pretty much anywhere you like, it's not an issue.
Also, we have several files (the readme & the license) that we need to
install - but they should not be available to people hitting our app on IIS.
Where should we install these too?
I would put the files one folder above the web application.

Proposed structure:

+ c:\program files\WindwardPortal --readme, license
+ WebApp --web application

Then have the virtual folder point to c:\program
files\WindwardPortal\WebApp.
Can we create a directory App_Documents that is not accessable just as
App_Code is not (assuming the App_* is the magic do not enter part)? Or
somewhere else? If we install the app to c:\inetpub\wwwroot\WindwardPortal I
hate to also create c:\Program Files\WindwardPortal just for 3 files.
You could play with the permissions to do that, but I wouldn't. Files
which shouldn't be visible on the web at all should be placed outside of
the web application root.

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Dec 17 '06 #2
Hello Dave,

I agree with Laurent. You can still install your application as a normal
program and put all the files under Program Files folder such as "Program
Files/YourApp"

And you can create a subdirectory to store the content of your ASP.ENT web
application. Thus, when installing your ASP.NET application into IIS, you
can directly create a virtual directory link to the sub directory of your
application's program files directory. This is also what the SQL Server
2005 uses, it put sub directory in its instance directory and one of the
sub directory contains the content of the reportingservice's report server
application staffs. You can also use this structure.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.

Dec 18 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Jean-Christian Imbeault | last post by:
I have a user account on a RH Linux machine but no root access. I succesfully installed apache 1.3 under my /home/ account but can't get PHP to install properly. I have done the following...
2
by: Adam Witney | last post by:
Forwarding to the mailing list, as I don't know how to fix it.... ------ Forwarded Message From: Henning Klein <kleinh@rz.uni-potsdam.de> Date: Tue, 22 Jun 2004 22:09:08 +0200 To:...
6
by: CoL | last post by:
I am installing gcc 2.95.3 version as required by our product. current compiler 2.96 used for building --installing After ./configure make bootstrap gives below error ../parse.y:379.10-15: type...
7
by: Yansky | last post by:
I asked my hosting company if they would upgrade Python on my server to the latest version. They responded with: "Sorry no. We tend to stick with what comes packaged with the unix distribution...
0
by: Chris Leonard | last post by:
James - you could be running into a known issue with installing Oracle8i software on a P4. Here is a plain-text section of our internal documentation of the issue: Subject/Title: Installing...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.