Hi.
I wonder if someone can give me some advice on how to best organise my
VS.Net projects. Say I have a web app with three main folders as follows:
AppName (root)
AppName\Admin
AppName\Members
The ASPX files live in once of these three folders, with the CS files all in
the root (on my development machine). VS.Net doesn't seem to support files
living in subfolders, so I have to open .CS files and .ASPX files
independently for items in either of the subdirs. I've discovered that I
can edit the .csproj file so that it sees the files in the subfolders, and
visual studio seems to be okay with this, but then should I be moving the CS
files into the same dir as the ASPX which it is code behind for, or should
it stay in the root? or maybe a different folder? Or should my Admin and
Members folders really be seperate projects?
Okay, I'm waffling, my questions is, can anyone recommend any best practices
for organising the files of a web app such as mine? If I could figure out
how to do it in visual studio, I'd work in the way I would have done when
using J2EE, something like:
AppName (root)
AppName\Web (web served part, so ASPX files in here)
AppName\Bin (compiled, or Web\Bin would be fine I suppose)
AppName\Src (source files, code behind)
AppName\Lib (other DLLs which my app may need to reference)
Is there an easy way for me to get visual studio to support this, or will I
need to manually edit the project file?
Thanks in advance.
R.