Three tire Architecture
3 tire Architecture
1- 3 tire architecture is used to create a layer for managing data transformation
2- There are following layer is used to create 3 tire architecture
i. Bussiness object layer
ii. bussiness logic layer
iii. data access layer
1.Bussiness object
create a variable
2.Bussiness logic
these layer directly connect to aspx page
3.Data access layer
only use database programming
Q.How to create layer
A- step 1: go to the solution explorer
step 2: right click on solution
step 3: add new project
step 4: select class library
step 5: create class file in each layer
In this concept create all types of classes related to data base structure
How to create class
BussinessObejct- userBO
Bussinesslogic- userBL
Dataaccess- userDA
step: right click of the layer
step: add reference to each layer
1-DataAccess layer-> reference bussiness object
step: right click of the layer and select add reference
2-BussinessLogic layer-> dataaccess,Bussinessobject
3-project folder -> bussiness logic and bussines object
Comments
Post a Comment