SlideShare a Scribd company logo
Introduction to asp.net
Introduction to asp.net
How asp page is displayed?
2. Server searches
for and retrieves
file from hard
drive. If there is
asp code then it is
processed
3. Server returns file to
your computer.
1.Browser requests file from
server4.Your browser
interprets the asp file
and displays it
 provides various building blocks of ASP.net pages.
It describes:
•Server side counterparts of almost all HTML elements or
tags such as <form> and <input>.
• Server controls, which help in developing complex user-
interface. Eg: the calender control or the gridview control.
Introduction to asp.net
Introduction to asp.net
(1)Common Language Runtime or CLR :
It performs memory management, exception handling, debugging, security
checking, thread execution, code execution, code safety, verification, and
compilation.
The code that is directly managed by the CLR is called the managed code.
When the managed code is compiled.
The compiler converts the source code into a CPU independent intermediate
language (IL) code.
A Just-In-Time (JIT) compiler compiles the IL code into native code, which is
CPU specific .
(2) .Net Framework Class Library:
It contains a huge library of reusable types, classes, interfaces, structures.
(3) Common Language Specification:
It contains the specifications for the .Net supported languages
(4) Common Type System :
It provides guidelines for declaring
It manages types at runtime, and cross-language communication.
5) Metadata and Assemblies:
Metadata is the binary information describing the program
It is either stored in a portable executable file (PE) or in the memory.
 Assembly is a logical unit consisting of the assembly manifest, type
metadata, IL code, and a set of resources like image files.
(6) Windows Forms:
It contains the graphical representation of any window displayed in
the application.
(7) ASP.NET and ASP.NET AJAX :
ASP.NET is the web development model and
AJAX is an extension of ASP.NET for developing and implementing
AJAX functionality.
(8) ADO.NET :
It is the technology used for working with data and databases.
It provides access to data sources like SQL server, OLE DB, XML etc.
(9) LINQ :
It imparts data querying capabilities to .Net languages using a syntax
which is similar to the tradition query language SQL.
Introduction to asp.net
Basically, it is divided into two groups:
Application Life Cycle
Page Life Cycle
User requests an application resource from the
Web server.
ASP.NET receives the first request for the
application.
ASP.NET core objects are created for each request.
ASP.NET creates and initializes core objects such as
HttpContext, HttpRequest, and HttpResponse.
 The HttpContext class contains objects that are specific to the
current application request, such as the
HttpRequest and HttpResponse objects.
The HttpRequest object contains information about the
current request, including cookies and browser information.
 The HttpResponse object contains the response that is sent to
the client, including all rendered output and cookies.
After all core application objects have been initialized, the
application is started by creating an instance of
the HttpApplication class.
The request is processed by the HttpApplication
pipeline
Init event initializes the control
property and the control tree is
built.
InitComplete event allows
tracking of view state.
PreLoad occurs
before the post
back data is
loaded in the
controls.
The Load event is raised for the page first
and then recursively for all child controls.
The controls in the control tree are
created.
The PreRender event occurs just
before the output is rendered.
The UnLoad phase is the last phase of
the page life cycle. It raises the UnLoad
event for all controls recursively and
lastly for the page itself. Final cleanup is
done and all resources and references,
such as database connections, are freed.
State of control on
the page is saved.
Personalization,
control state and
view state
information is
saved. The HTML
markup is
generated.
The loading
process is
completed,
control event
handlers are
run, and page
validation takes
place.
Objects Description
Application Object Describes the methods, properties, and collections of the object that stores information
related to the entire Web application, including variables and objects that exist for the
lifetime of the application.
ASPError Object Describes the properties of the object that stores information about an error condition.
Request Object Describes the methods, properties, and collections of the object that stores information
related to the HTTP request. This includes forms, cookies, server variables, and certificate
data.
Response Object Describes the methods, properties, and collections of the object that stores information
related to the server's response. This includes displaying content, manipulating headers,
setting locales, and redirecting requests.
Server Object With these methods you can execute code, get error conditions, encode text strings, create
objects for use by the Web page, and map physical paths.
Session Object Describes the methods, properties, and collections of the object that stores information
related to the user's session, including variables and objects that exist for the lifetime of the
session.
Introduction to asp.net

More Related Content

PPTX
PPTX
ASP.NET Lecture 4
PDF
Advanced programming ch2
PDF
Servlets as introduction (Advanced programming)
PPT
Sqllite
TXT
PPT
Session x(ado.net)
PPTX
Data base connectivity and flex grid in vb
ASP.NET Lecture 4
Advanced programming ch2
Servlets as introduction (Advanced programming)
Sqllite
Session x(ado.net)
Data base connectivity and flex grid in vb

What's hot (20)

PPT
Data Connection using ADO DC
PPT
ADO CONTROLS - Database usage
PDF
Web Programming - 9 Create, Read, Update and Delete
PPTX
Drupal as a data server
PPTX
.Net framework
PPTX
SharePoint and Open XML
DOCX
Web 10mca556 syllabs
PPTX
mule salesforce
 
DOC
Unit5 servlets
PPTX
Linked data platform adapter for bugzilla poster
PPTX
User Interface
PPT
SSIS Presentation
PPT
The complete ASP.NET (IIS) Tutorial with code example in power point slide show
PPTX
Db forensics for sql rally
TXT
Application enumeration and launch
PPTX
OpenStack Training in Mohali
PPTX
Linq to xml
PPT
PDF
2011 06-sq lite-forensics
Data Connection using ADO DC
ADO CONTROLS - Database usage
Web Programming - 9 Create, Read, Update and Delete
Drupal as a data server
.Net framework
SharePoint and Open XML
Web 10mca556 syllabs
mule salesforce
 
Unit5 servlets
Linked data platform adapter for bugzilla poster
User Interface
SSIS Presentation
The complete ASP.NET (IIS) Tutorial with code example in power point slide show
Db forensics for sql rally
Application enumeration and launch
OpenStack Training in Mohali
Linq to xml
2011 06-sq lite-forensics
Ad

Viewers also liked (20)

DOC
Resume_Arun
PDF
ASAM 2014 Year in Review
PDF
Applying data science to sales pipelines — for fun and profit
PDF
CV Svindland Inger (english) 2016
PDF
Wings brochure website
PPTX
PPTX
Pydata talk
PPTX
Miss movin on
PPT
Opps... i got a speeding ticket
PPTX
SICS: Apache Flink Streaming
PDF
Visualization for Discovery
PDF
Arthur Glosman Review
PPTX
HCSC Presentation JAN 2015
PDF
Splash: User-friendly Programming Interface for Parallelizing Stochastic Lear...
PPTX
Nemo museum
PPTX
Excerise
PDF
Додаткові докази участі військовослужбовців ГРУ ГШ РФ у військових діях на те...
PPTX
Production Software Teollisuuden oma ohjelmistotalo
PDF
New Capabilities in the PyData Ecosystem
Resume_Arun
ASAM 2014 Year in Review
Applying data science to sales pipelines — for fun and profit
CV Svindland Inger (english) 2016
Wings brochure website
Pydata talk
Miss movin on
Opps... i got a speeding ticket
SICS: Apache Flink Streaming
Visualization for Discovery
Arthur Glosman Review
HCSC Presentation JAN 2015
Splash: User-friendly Programming Interface for Parallelizing Stochastic Lear...
Nemo museum
Excerise
Додаткові докази участі військовослужбовців ГРУ ГШ РФ у військових діях на те...
Production Software Teollisuuden oma ohjelmistotalo
New Capabilities in the PyData Ecosystem
Ad

Similar to Introduction to asp.net (20)

PPTX
Asp.net
PPTX
ASP, ASP.NET, JSP, COM/DCOM
PPTX
Introduction to Web Architecture
PPTX
Web container and Apache Tomcat
PPTX
PPTX
Top 15 asp dot net interview questions and answers
PPTX
Top 15-asp-dot-net-interview-questions-and-answers
PPT
PDF
Asp.net web application framework project.pdf
PPTX
Unit - 1: ASP.NET Basic
PPTX
Ch 04 asp.net application
DOCX
Asp interview Question and Answer
PDF
Asp.net web application framework management system.pdf
PPT
Asp.net architecture
DOCX
PPTX
Asp.net With mvc handson
Asp.net
ASP, ASP.NET, JSP, COM/DCOM
Introduction to Web Architecture
Web container and Apache Tomcat
Top 15 asp dot net interview questions and answers
Top 15-asp-dot-net-interview-questions-and-answers
Asp.net web application framework project.pdf
Unit - 1: ASP.NET Basic
Ch 04 asp.net application
Asp interview Question and Answer
Asp.net web application framework management system.pdf
Asp.net architecture
Asp.net With mvc handson

Recently uploaded (20)

PPTX
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
PDF
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
PPT
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
PPTX
artificial intelligence overview of it and more
PPTX
Introduction about ICD -10 and ICD11 on 5.8.25.pptx
PDF
Slides PDF The World Game (s) Eco Economic Epochs.pdf
PPTX
CHE NAA, , b,mn,mblblblbljb jb jlb ,j , ,C PPT.pptx
PPTX
innovation process that make everything different.pptx
PPTX
Introuction about WHO-FIC in ICD-10.pptx
PPTX
Introuction about ICD -10 and ICD-11 PPT.pptx
PPTX
Digital Literacy And Online Safety on internet
PDF
An introduction to the IFRS (ISSB) Stndards.pdf
PPTX
E -tech empowerment technologies PowerPoint
PPTX
Funds Management Learning Material for Beg
PDF
The Internet -By the Numbers, Sri Lanka Edition
PDF
The New Creative Director: How AI Tools for Social Media Content Creation Are...
PPTX
Introduction to Information and Communication Technology
PPTX
Job_Card_System_Styled_lorem_ipsum_.pptx
PPT
tcp ip networks nd ip layering assotred slides
PPTX
522797556-Unit-2-Temperature-measurement-1-1.pptx
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
artificial intelligence overview of it and more
Introduction about ICD -10 and ICD11 on 5.8.25.pptx
Slides PDF The World Game (s) Eco Economic Epochs.pdf
CHE NAA, , b,mn,mblblblbljb jb jlb ,j , ,C PPT.pptx
innovation process that make everything different.pptx
Introuction about WHO-FIC in ICD-10.pptx
Introuction about ICD -10 and ICD-11 PPT.pptx
Digital Literacy And Online Safety on internet
An introduction to the IFRS (ISSB) Stndards.pdf
E -tech empowerment technologies PowerPoint
Funds Management Learning Material for Beg
The Internet -By the Numbers, Sri Lanka Edition
The New Creative Director: How AI Tools for Social Media Content Creation Are...
Introduction to Information and Communication Technology
Job_Card_System_Styled_lorem_ipsum_.pptx
tcp ip networks nd ip layering assotred slides
522797556-Unit-2-Temperature-measurement-1-1.pptx

Introduction to asp.net

  • 3. How asp page is displayed? 2. Server searches for and retrieves file from hard drive. If there is asp code then it is processed 3. Server returns file to your computer. 1.Browser requests file from server4.Your browser interprets the asp file and displays it
  • 4.  provides various building blocks of ASP.net pages. It describes: •Server side counterparts of almost all HTML elements or tags such as <form> and <input>. • Server controls, which help in developing complex user- interface. Eg: the calender control or the gridview control.
  • 7. (1)Common Language Runtime or CLR : It performs memory management, exception handling, debugging, security checking, thread execution, code execution, code safety, verification, and compilation. The code that is directly managed by the CLR is called the managed code. When the managed code is compiled. The compiler converts the source code into a CPU independent intermediate language (IL) code. A Just-In-Time (JIT) compiler compiles the IL code into native code, which is CPU specific . (2) .Net Framework Class Library: It contains a huge library of reusable types, classes, interfaces, structures. (3) Common Language Specification: It contains the specifications for the .Net supported languages (4) Common Type System : It provides guidelines for declaring It manages types at runtime, and cross-language communication.
  • 8. 5) Metadata and Assemblies: Metadata is the binary information describing the program It is either stored in a portable executable file (PE) or in the memory.  Assembly is a logical unit consisting of the assembly manifest, type metadata, IL code, and a set of resources like image files. (6) Windows Forms: It contains the graphical representation of any window displayed in the application. (7) ASP.NET and ASP.NET AJAX : ASP.NET is the web development model and AJAX is an extension of ASP.NET for developing and implementing AJAX functionality. (8) ADO.NET : It is the technology used for working with data and databases. It provides access to data sources like SQL server, OLE DB, XML etc. (9) LINQ : It imparts data querying capabilities to .Net languages using a syntax which is similar to the tradition query language SQL.
  • 10. Basically, it is divided into two groups: Application Life Cycle Page Life Cycle
  • 11. User requests an application resource from the Web server. ASP.NET receives the first request for the application.
  • 12. ASP.NET core objects are created for each request. ASP.NET creates and initializes core objects such as HttpContext, HttpRequest, and HttpResponse.  The HttpContext class contains objects that are specific to the current application request, such as the HttpRequest and HttpResponse objects. The HttpRequest object contains information about the current request, including cookies and browser information.  The HttpResponse object contains the response that is sent to the client, including all rendered output and cookies. After all core application objects have been initialized, the application is started by creating an instance of the HttpApplication class.
  • 13. The request is processed by the HttpApplication pipeline
  • 14. Init event initializes the control property and the control tree is built. InitComplete event allows tracking of view state. PreLoad occurs before the post back data is loaded in the controls. The Load event is raised for the page first and then recursively for all child controls. The controls in the control tree are created. The PreRender event occurs just before the output is rendered. The UnLoad phase is the last phase of the page life cycle. It raises the UnLoad event for all controls recursively and lastly for the page itself. Final cleanup is done and all resources and references, such as database connections, are freed. State of control on the page is saved. Personalization, control state and view state information is saved. The HTML markup is generated. The loading process is completed, control event handlers are run, and page validation takes place.
  • 15. Objects Description Application Object Describes the methods, properties, and collections of the object that stores information related to the entire Web application, including variables and objects that exist for the lifetime of the application. ASPError Object Describes the properties of the object that stores information about an error condition. Request Object Describes the methods, properties, and collections of the object that stores information related to the HTTP request. This includes forms, cookies, server variables, and certificate data. Response Object Describes the methods, properties, and collections of the object that stores information related to the server's response. This includes displaying content, manipulating headers, setting locales, and redirecting requests. Server Object With these methods you can execute code, get error conditions, encode text strings, create objects for use by the Web page, and map physical paths. Session Object Describes the methods, properties, and collections of the object that stores information related to the user's session, including variables and objects that exist for the lifetime of the session.