Search This Blog

Thursday, November 3, 2011

what is difference between 1 tier , 2 tier and 3 tier Architecture ????

1 tier Architecture in asp.net :-
                                                  In 1 Tier Architecture the code behind file  aspx.cs page is contains the code and data to access the database in the application.

2 Tier Architecture in asp.net :-
                                                 In 2 Tier Architecture the code behind file will contain the data and bal  Business Access Layer file is contain the code to access the database .
Means the code of database access is separated from simple data and .aspx.cs file.

3 Tier Architecture in asp.net :-
                                                  In 3 Tier Architecture the code and data will be separated from .aspx.cs file.
BAL(Business Access Layer ) will contain the code to access database and DAL(Data Access Layer) is contains the data which are require to access the data.And from .aspx .cs You have to just call perticular method which are stored in the BAL file and data from DAL file . BAL And DAL the file formate is .cs.

2 comments:

  1. That satisfies my requirement regarding the 3 tier in asp.net application

    ReplyDelete
  2. yes its perfect one to define the three tier architecture example

    ReplyDelete