Understanding detailed Architecture of Asp .Net

What is ASP .NET ?

ASP.NET Framework is a part of .NET framework used to create dynamic website, web application and web services. It is a server side technology that uses all .NET compatible language such as C#, VB.NET, J# etc. which are compiled to Microsoft Intermediate Language (MSIL). ASP.NET uses server control to develop rapid and interactive application in easy way.
Asp.NET Framework provides you various capabilities like Hosting Model, Site/Service Management, Protocol Abstraction, Security, Caching capability, Routing and Model Binding etc.

The architecture of the.Net framework is based on the following key components

1. Language – A variety of languages exists for .net framework. They are VB.net and C#. These can be used to develop web applications.
2. Library - The .NET Framework includes a set of standard class libraries. The most common library used for web applications in .net is the Web library. The web library has all the necessary components used to develop.Net web based applications.
3. Common Language Runtime - The Common Language Infrastructure or CLI is a platform. .Net programs are executed on this platform. The CLR is used for performing key activities. Activities include Exception handling and Garbage collection.

Below are some of the key characteristics of the ASP.Net framework

1. Code Behind Mode – This is the concept of separation of design and code. By making this separation, it becomes easier to maintain the ASP.Net application. The general file type of an ASP.Net file is aspx. Assume we have a web page called MyPage.aspx. There will be another file called MyPage.aspx.cs which would denote the code part of the page. So Visual Studio creates separate files for each web page, one for the design part and the other for the code.
2. State Management – ASP.Net has the facility to control state management. HTTP is known as a stateless protocol. Let s take an example of a shopping cart application. Now, when a user decides what he wants to buy from the site, he will press the submit button. The application needs to remember the items the user choose for the purchase. This is known as remembering the state of an application at a current point in time. HTTP is a stateless protocol. When the user goes to the purchase page, HTTP will not store the information on the cart items. Additional coding needs to be done to ensure that the cart items can be carried forward to the purchase page. Such an implementation can become complex at times. But ASP.Net has the ability to do state management on your behalf. So ASP.Net has the ability to remember the cart items and pass it over to the purchase page.
3. Caching – ASP.Net can implement the concept of Caching. This improve s the performance of the application. By caching those pages which are often requested by the user can be stored in a temporary location. These pages can be retrieved faster and better responses can be sent to the user. So caching can greatly improve the performance of an application.

Read More

आइये जानते हैं Android 11 के बेस्ट 11 फीचर्स

आपके स्मार्टफोंस को और भी स्मार्ट बनाते हुए तथा मोबाइल तकनीक को और भी एडवांस करते हुए टेक दिग्गज़ Google ने अपना नया ऑपरेटिंग सिस्टम Android 11 दुनिया ...

StringBuilder in C#

A String is immutable, meaning String cannot be changed once created. For example, new string "Hello World!!" will occupy a memory space on the heap. ...

Properties in C#

In C#, properties are nothing but natural extension of data fields. They are usually known as smart fields in C# community. We know that data encaps ...

C# Hashtable

The Hashtable class represents a collection of key-and-value pairs that are organized based on the hash code of the key. It uses the key to access the ...

C# Queue

C# includes a Queue collection class in the System.Collection namespace. Queue stores the elements in FIFO style (First In First Out), exactly opposit ...

C# Stack

C# includes a special type of collection which stores elements in LIFO style(Last In First Out). C# includes a generic and non-generic Stack. Here, y ...

C# SortedList

The SortedList collection stores key-value pairs in the ascending order of key by default. SortedList class implements IDictionary & ICollection inter ...

C# ArrayList

ArrayList is a non-generic type of collection in C#. It can contain elements of any data types. It is similar to an array, except that it grows automa ...

Collection in C#

C# includes specialized classes that hold many values or objects in a specific series, that are called collection. Collection classes are specialized ...

C# File Stream I/O

A file is a collection of data stored in a disk with a specific name and a directory path. C# includes static File class to perform I/ ...

Exception Handling in C#

An exception is a problem that arises during the execution of a program. A C# exception is a response to an exceptional circumstance that arises while ...

Recent Posts






















Like us on Facebook