View Single Post
  #7 (permalink)  
Old May 24th, 2009, 07:26 AM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts

Hi there,

Separate layers don't have to be in separate projects, although they typically are. By putting your code in separate libraries, they become easier to version, update and maintain. However, you could put everything in a single App_Code folder (if using Web Site Projects) or some other folder (when using the Web Application Project model) and still speak of a layered application.

The article series I linked to show how to do both. The 2.0 articles are using App_Code while the 3.5 articles use a separate App_Code folder.


Imar Spaanjaars
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
Honorable (May 30th, 2009)