Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: structure of a web application


Message #1 by lynn.curtner@p... on Thu, 7 Feb 2002 20:21:05
This is a question about best practices when deploying a web application 

to the server.  While developing the application, you end up with a whole 

boatload of files in the web application's root directory (at least I do), 

such as *.cs files, *.aspx files, *.aspx.cs files etc..., plus .dll files 

in the \bin directory.  If you've got, say, 10 WebForms, all this stuff 

for each WebForm seems to end up in the root directory.  When you deploy 

the application, I understand that you need only a subset of these files 

(the .dll's in the \bin directory, the .aspx files, and maybe more, I'm 

not sure).  But what's a good way to structure the subdirectories under 

the root directory on the server?  Should all the .aspx files go in the 

root directory, or is it better to partition related .aspx's off into 

their own subdirectories?  Or what?  And is there anything in VS.NET to 

help automate deployment, or is it a manual (i.e., error-prone) task?  

Even the excellent Wrox Press books I've got don't seem to have much to 

say about deployment...



TVMIA,

Lynn Curtner

  Return to Index