N-tier Architecture in Asp.net
?
Architecture is an important feature and the very first step in the development of an application. n-Tier the term is used for multiple tier or multiple layers. n-Tier Architecture splits the solution process into different projects based on the business requirements. The main advantage of using n-Tier is that the complexity associated with the business and the process is reduced and it is easy to work with. The elements of performance, scalability and future development issues need to be considered when deciding on the architecture of the application depending on the priorities required.
N-tier application, there are three levels or layers, they are known as the presentation layer, business layer and data layer. The bottom layer of each layer interaction, and there is a specific function to perform. Presentation layer is responsible for the user interface displays either the programmer or end-user. The programmer to use this design purposes, and to obtain data layer back and forth. It is included in the ASP.NET ASPX pages, user controls, server controls, and sometimes security related classes and objects.
The business layer acts as an intermediary to transmit the data from presentation layer. In the three-tier architecture the data access layer is not made to interact with the presentation layer. The architecture in ASP.NET includes using SqlClient or OleDb objects to retrieve, update and delete data from SQL Server or Access databases and passing the retrieved data to the presentation layer in a DataReader or DataSet object or a custom collection object . The data layer is the data from the business layer and sends them to the database or vice versa. This layer is divided into two sub layers Business Logic Layer (BLL) and Data Access Layer (DAL). DAL is used to access data and forwards it to BLL responsible. In ASP.NET it uses SqlClient or OleDb to retrieve the data and send it in the form of a DataSet or DataReader BLL. BLL (Business Logic Layer) is the production or processing of the data retrieved and sends it to charge the presentation layer.
The data layer gets the data from the business layer and sends it to the database or gets the data from the database and sends it to the mattress business. In ASP. NET is a SQL Server or database in Access. It can also Oracle, MySQL or even XML.
N-tier architecture in ASP.NET pages does not make a direct call to the database. Only a given layer of communication with the surrounding layers. ASP.NET pages should reference custom objects custom business object layer. These objects provide a class structure of the database information.
The partitioning of ASP.NET applications into front-end, middle tier and back-end layers, the n-tier architecture supports a single, building-block approach to application design. Hardware and software for the presentation, application and database functions can be individually scaled, and containing more easily into complex e-business environments.
In short ASP.NET web development of next-generation version of Microsoft's ASP, is a programming language framework used to create business-class websites that are fully on its n-tier architecture based on Microsoft. NET software development services and custom make. NET Developmenteasy.
