UNIT – 4
1. INTRODUCTION TO ASP.NET
• ASP.NET is a web development platform, which provides a programming model, a
comprehensive software infrastructure and various services required to build up robust
web applications for PC, as well as mobile devices.
• ASP.NET works on top of the HTTP protocol, and uses the HTTP commands and
policies to set a browser-to-server bilateral communication and cooperation.
• ASP.NET is a part of Microsoft .Net platform. ASP.NET applications are compiled
codes, written using the extensible and reusable components or objects present in .Net
framework. These codes can use the entire hierarchy of classes in .Net framework.
• ASP.NET web forms extend the event-driven model of interaction to the web
applications. The browser submits a web form to the web server and the server returns
a full markup page or HTML page in response.
All client side user activities are forwarded to the server for stateful processing. The server
processes the output of the client actions and triggers the reactions.
HTTP is a stateless protocol. ASP.NET framework helps in storing the information regarding
the state of the application, which consists of:
• Page state
• Session state
ASP NET framework:
ASP.NET is an open source web framework, created by Microsoft, for building modern
web apps and services with . NET. ASP.NET is cross platform and runs on Linux, Windows,
macOS, and Docker.
.Net Framework is a software development platform developed by Microsoft for building
and running Windows applications. The .Net framework consists of developer tools,
programming languages, and libraries to build desktop and web applications. It is also used to
build websites, web services, and games.
Net Framework Architecture:
.Net Framework Architecture is a programming model for the .Net platform that provides
an execution environment and integration with various programming languages for simple
development and deployment of various Windows and desktop applications. It consists of
class libraries and reusable components.
, The architecture of .Net framework is based on the following key components;
1. Common Language Runtime
The “Common Language Infrastructure” or CLI is a platform in .Net architecture on which
the .Net programs are executed.
Garbage Collection – Garbage collection is the process of removing unwanted resources
when they are no longer required.
Examples of garbage collection are
• A File handle which is no longer required. If the application has finished all
operations on a file, then the file handle may no longer be required.
• The database connection is no longer required. If the application has finished all
operations on a database, then the database connection may no longer be required.
2. Class Library
The .NET Framework includes a set of standard class libraries. A class library is a collection
of methods and functions that can be used for the core purpose.
For example, there is a class library with methods to handle all file-level operations. So there
is a method which can be used to read the text from a file. Similarly, there is a method to
write text to a file.
3. Languages
The types of applications that can be built in the .Net framework is classified broadly into the
following categories.
1. INTRODUCTION TO ASP.NET
• ASP.NET is a web development platform, which provides a programming model, a
comprehensive software infrastructure and various services required to build up robust
web applications for PC, as well as mobile devices.
• ASP.NET works on top of the HTTP protocol, and uses the HTTP commands and
policies to set a browser-to-server bilateral communication and cooperation.
• ASP.NET is a part of Microsoft .Net platform. ASP.NET applications are compiled
codes, written using the extensible and reusable components or objects present in .Net
framework. These codes can use the entire hierarchy of classes in .Net framework.
• ASP.NET web forms extend the event-driven model of interaction to the web
applications. The browser submits a web form to the web server and the server returns
a full markup page or HTML page in response.
All client side user activities are forwarded to the server for stateful processing. The server
processes the output of the client actions and triggers the reactions.
HTTP is a stateless protocol. ASP.NET framework helps in storing the information regarding
the state of the application, which consists of:
• Page state
• Session state
ASP NET framework:
ASP.NET is an open source web framework, created by Microsoft, for building modern
web apps and services with . NET. ASP.NET is cross platform and runs on Linux, Windows,
macOS, and Docker.
.Net Framework is a software development platform developed by Microsoft for building
and running Windows applications. The .Net framework consists of developer tools,
programming languages, and libraries to build desktop and web applications. It is also used to
build websites, web services, and games.
Net Framework Architecture:
.Net Framework Architecture is a programming model for the .Net platform that provides
an execution environment and integration with various programming languages for simple
development and deployment of various Windows and desktop applications. It consists of
class libraries and reusable components.
, The architecture of .Net framework is based on the following key components;
1. Common Language Runtime
The “Common Language Infrastructure” or CLI is a platform in .Net architecture on which
the .Net programs are executed.
Garbage Collection – Garbage collection is the process of removing unwanted resources
when they are no longer required.
Examples of garbage collection are
• A File handle which is no longer required. If the application has finished all
operations on a file, then the file handle may no longer be required.
• The database connection is no longer required. If the application has finished all
operations on a database, then the database connection may no longer be required.
2. Class Library
The .NET Framework includes a set of standard class libraries. A class library is a collection
of methods and functions that can be used for the core purpose.
For example, there is a class library with methods to handle all file-level operations. So there
is a method which can be used to read the text from a file. Similarly, there is a method to
write text to a file.
3. Languages
The types of applications that can be built in the .Net framework is classified broadly into the
following categories.