What is n-Tier Architecture?

In software engineering, multi-tier architecture (often referred to as n-tier architecture) is a client-server architecture in which the presentation, the application processing, and the data management are logically separate processes. For example, an application that uses middleware to service data requests between a user and a database employs multi-tier architecture. The most widespread use of “multi-tier architecture” refers to three-tier architecture.
Three-tier architecture has the following three tiers:
Presentation tier
This is the topmost level of the application. The presentation tier displays information related to such services as browsing merchandise, purchasing, and shopping cart contents. It communicates with other tiers by outputting results to the browser/client tier and all other tiers in the network.
Application tier (Business Logic/Logic Tier)
The logic tier is pulled out from the presentation tier and, as its own layer, it controls an application’s functionality by performing detailed processing.
Data tier
This tier consists of Database Servers. Here information is stored and retrieved. This tier keeps data neutral and independent from application servers or business logic. Giving data its own tier also improves scalability and performance.

what is the use of using web.config file

By using this web.config file we can store sqlconnection string.This SqlConnection String can be accessed any where in your application.for security purpose of connection string also we can use web.config.

Can we have more than one web.config file in our application?

Yes,we can create or use more than one web.config file in our application.

What is the event that is fired just before an application object is destroyed?

Application_Disposed

What is the event that fired when an unhandled exception is encountered within the application?

Application_Error

What is difference between session and application?

session is a object that store information between http request for a paticular user. ->But application object are global for each user

Explain ASP.Net Catching? What are different catching mechanisms available in ASP.Net?

ASP.Net catching one of the important performance factor for large web applications.
ASP.Net Catching stores frequently accessed data in to catch object.

  • There are two different types catching in ASP.Net
  1. Application Catching
  2. Page Output Catching