What pattern is layered architecture in asp.net ?

Posted by haansi on Stack Overflow See other posts from Stack Overflow or by haansi
Published on 2010-06-09T06:17:26Z Indexed on 2010/06/09 7:42 UTC
Read the original article Hit count: 226

Filed under:
|
|

Hi,

I am a asp.net developer and don't know much about patterns and architecture. I will very thankful if you can please guide me here.

In my web applications I use 4 layers.

  1. Web site project (having web forms + code behind cs files, user controls + code behind cs files, master pages + code behind cs files)

  2. CustomTypesLayer a class library (having custom types, enumerations, DTOs, constructers, get, set and validations)

  3. BusinessLogicLayer a class library (having all business logic, rules and all calls to DAL functions)

  4. DataAccessLayer a class library( having just classes communicating to database.)

-My user interface just calls BusinessLogicLayer. BusinessLogicLayer do proecessign in it self and for data it calls DataAccessLayer funtions.

-Web forms do not calls directly DAL.

-CustomTypesLayer is shared by all layers.

Please guide me is this approach a pattern ? I though it may be MVC or MVP but pages have there code behind files as well which are confusing me.

If it is no patren is it near to some patren ? pleaes guide

thanks

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET