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
Ad

More Related Content

What's hot (20)

Data Connection using ADO DC
Data Connection using ADO DCData Connection using ADO DC
Data Connection using ADO DC
Purbanjali Das
 
ADO CONTROLS - Database usage
ADO CONTROLS - Database usageADO CONTROLS - Database usage
ADO CONTROLS - Database usage
Muralidharan Radhakrishnan
 
Web Programming - 9 Create, Read, Update and Delete
Web Programming - 9 Create, Read, Update and DeleteWeb Programming - 9 Create, Read, Update and Delete
Web Programming - 9 Create, Read, Update and Delete
AndiNurkholis1
 
Drupal as a data server
Drupal as a data serverDrupal as a data server
Drupal as a data server
Jay Friendly
 
.Net framework
.Net framework.Net framework
.Net framework
Gracia Marcom
 
SharePoint and Open XML
SharePoint and Open XMLSharePoint and Open XML
SharePoint and Open XML
Becky Bertram
 
Web 10mca556 syllabs
Web 10mca556 syllabsWeb 10mca556 syllabs
Web 10mca556 syllabs
Ramesh Bindu
 
mule salesforce
mule salesforcemule salesforce
mule salesforce
F K
 
Unit5 servlets
Unit5 servletsUnit5 servlets
Unit5 servlets
Praveen Yadav
 
Linked data platform adapter for bugzilla poster
Linked data platform adapter for bugzilla posterLinked data platform adapter for bugzilla poster
Linked data platform adapter for bugzilla poster
Nandana Mihindukulasooriya
 
User Interface
User InterfaceUser Interface
User Interface
Nikunj Pansuriya
 
Ado.net
Ado.netAdo.net
Ado.net
Sangeetha Rangarajan
 
SSIS Presentation
SSIS PresentationSSIS Presentation
SSIS Presentation
BarbaraBederman
 
The complete ASP.NET (IIS) Tutorial with code example in power point slide show
The complete ASP.NET (IIS) Tutorial with code example in power point slide showThe complete ASP.NET (IIS) Tutorial with code example in power point slide show
The complete ASP.NET (IIS) Tutorial with code example in power point slide show
Subhas Malik
 
Db forensics for sql rally
Db forensics for sql rallyDb forensics for sql rally
Db forensics for sql rally
Paresh Motiwala, PMP®
 
Application enumeration and launch
Application enumeration and launchApplication enumeration and launch
Application enumeration and launch
Praveen Bakka
 
OpenStack Training in Mohali
OpenStack Training in MohaliOpenStack Training in Mohali
OpenStack Training in Mohali
Arcadian Learning
 
Linq to xml
Linq to xmlLinq to xml
Linq to xml
Mickey
 
Ado
AdoAdo
Ado
abhay singh
 
2011 06-sq lite-forensics
2011 06-sq lite-forensics2011 06-sq lite-forensics
2011 06-sq lite-forensics
viaForensics
 
Data Connection using ADO DC
Data Connection using ADO DCData Connection using ADO DC
Data Connection using ADO DC
Purbanjali Das
 
Web Programming - 9 Create, Read, Update and Delete
Web Programming - 9 Create, Read, Update and DeleteWeb Programming - 9 Create, Read, Update and Delete
Web Programming - 9 Create, Read, Update and Delete
AndiNurkholis1
 
Drupal as a data server
Drupal as a data serverDrupal as a data server
Drupal as a data server
Jay Friendly
 
SharePoint and Open XML
SharePoint and Open XMLSharePoint and Open XML
SharePoint and Open XML
Becky Bertram
 
Web 10mca556 syllabs
Web 10mca556 syllabsWeb 10mca556 syllabs
Web 10mca556 syllabs
Ramesh Bindu
 
mule salesforce
mule salesforcemule salesforce
mule salesforce
F K
 
Linked data platform adapter for bugzilla poster
Linked data platform adapter for bugzilla posterLinked data platform adapter for bugzilla poster
Linked data platform adapter for bugzilla poster
Nandana Mihindukulasooriya
 
The complete ASP.NET (IIS) Tutorial with code example in power point slide show
The complete ASP.NET (IIS) Tutorial with code example in power point slide showThe complete ASP.NET (IIS) Tutorial with code example in power point slide show
The complete ASP.NET (IIS) Tutorial with code example in power point slide show
Subhas Malik
 
Application enumeration and launch
Application enumeration and launchApplication enumeration and launch
Application enumeration and launch
Praveen Bakka
 
OpenStack Training in Mohali
OpenStack Training in MohaliOpenStack Training in Mohali
OpenStack Training in Mohali
Arcadian Learning
 
Linq to xml
Linq to xmlLinq to xml
Linq to xml
Mickey
 
2011 06-sq lite-forensics
2011 06-sq lite-forensics2011 06-sq lite-forensics
2011 06-sq lite-forensics
viaForensics
 

Viewers also liked (20)

Resume_Arun
Resume_ArunResume_Arun
Resume_Arun
Arun Gupta
 
ASAM 2014 Year in Review
ASAM 2014 Year in ReviewASAM 2014 Year in Review
ASAM 2014 Year in Review
asamdecks
 
Applying data science to sales pipelines — for fun and profit
 Applying data science to sales pipelines — for fun and profit Applying data science to sales pipelines — for fun and profit
Applying data science to sales pipelines — for fun and profit
Turi, Inc.
 
CV Svindland Inger (english) 2016
CV Svindland Inger (english) 2016CV Svindland Inger (english) 2016
CV Svindland Inger (english) 2016
Inger Svindland
 
Wings brochure website
Wings brochure websiteWings brochure website
Wings brochure website
Tim Lips
 
Creative
CreativeCreative
Creative
Júlio César Simon
 
Pydata talk
Pydata talkPydata talk
Pydata talk
Turi, Inc.
 
Miss movin on
Miss movin onMiss movin on
Miss movin on
paulapad2002
 
Opps... i got a speeding ticket
Opps... i got a speeding ticketOpps... i got a speeding ticket
Opps... i got a speeding ticket
Defensive Driving Arlington
 
SICS: Apache Flink Streaming
SICS: Apache Flink StreamingSICS: Apache Flink Streaming
SICS: Apache Flink Streaming
Turi, Inc.
 
Visualization for Discovery
Visualization for DiscoveryVisualization for Discovery
Visualization for Discovery
Turi, Inc.
 
Arthur Glosman Review
Arthur Glosman Review Arthur Glosman Review
Arthur Glosman Review
aglosmandds
 
HCSC Presentation JAN 2015
HCSC Presentation JAN 2015HCSC Presentation JAN 2015
HCSC Presentation JAN 2015
Daniel Dickinson
 
Q7
Q7Q7
Q7
marciamediastudies
 
Splash: User-friendly Programming Interface for Parallelizing Stochastic Lear...
Splash: User-friendly Programming Interface for Parallelizing Stochastic Lear...Splash: User-friendly Programming Interface for Parallelizing Stochastic Lear...
Splash: User-friendly Programming Interface for Parallelizing Stochastic Lear...
Turi, Inc.
 
Nemo museum
Nemo museumNemo museum
Nemo museum
berta9
 
Excerise
ExceriseExcerise
Excerise
shauneil_57
 
Додаткові докази участі військовослужбовців ГРУ ГШ РФ у військових діях на те...
Додаткові докази участі військовослужбовців ГРУ ГШ РФ у військових діях на те...Додаткові докази участі військовослужбовців ГРУ ГШ РФ у військових діях на те...
Додаткові докази участі військовослужбовців ГРУ ГШ РФ у військових діях на те...
Марья Ивановна
 
Production Software Teollisuuden oma ohjelmistotalo
Production Software Teollisuuden oma ohjelmistotaloProduction Software Teollisuuden oma ohjelmistotalo
Production Software Teollisuuden oma ohjelmistotalo
Jukka Nevavuo
 
New Capabilities in the PyData Ecosystem
New Capabilities in the PyData EcosystemNew Capabilities in the PyData Ecosystem
New Capabilities in the PyData Ecosystem
Turi, Inc.
 
ASAM 2014 Year in Review
ASAM 2014 Year in ReviewASAM 2014 Year in Review
ASAM 2014 Year in Review
asamdecks
 
Applying data science to sales pipelines — for fun and profit
 Applying data science to sales pipelines — for fun and profit Applying data science to sales pipelines — for fun and profit
Applying data science to sales pipelines — for fun and profit
Turi, Inc.
 
CV Svindland Inger (english) 2016
CV Svindland Inger (english) 2016CV Svindland Inger (english) 2016
CV Svindland Inger (english) 2016
Inger Svindland
 
Wings brochure website
Wings brochure websiteWings brochure website
Wings brochure website
Tim Lips
 
SICS: Apache Flink Streaming
SICS: Apache Flink StreamingSICS: Apache Flink Streaming
SICS: Apache Flink Streaming
Turi, Inc.
 
Visualization for Discovery
Visualization for DiscoveryVisualization for Discovery
Visualization for Discovery
Turi, Inc.
 
Arthur Glosman Review
Arthur Glosman Review Arthur Glosman Review
Arthur Glosman Review
aglosmandds
 
HCSC Presentation JAN 2015
HCSC Presentation JAN 2015HCSC Presentation JAN 2015
HCSC Presentation JAN 2015
Daniel Dickinson
 
Splash: User-friendly Programming Interface for Parallelizing Stochastic Lear...
Splash: User-friendly Programming Interface for Parallelizing Stochastic Lear...Splash: User-friendly Programming Interface for Parallelizing Stochastic Lear...
Splash: User-friendly Programming Interface for Parallelizing Stochastic Lear...
Turi, Inc.
 
Nemo museum
Nemo museumNemo museum
Nemo museum
berta9
 
Додаткові докази участі військовослужбовців ГРУ ГШ РФ у військових діях на те...
Додаткові докази участі військовослужбовців ГРУ ГШ РФ у військових діях на те...Додаткові докази участі військовослужбовців ГРУ ГШ РФ у військових діях на те...
Додаткові докази участі військовослужбовців ГРУ ГШ РФ у військових діях на те...
Марья Ивановна
 
Production Software Teollisuuden oma ohjelmistotalo
Production Software Teollisuuden oma ohjelmistotaloProduction Software Teollisuuden oma ohjelmistotalo
Production Software Teollisuuden oma ohjelmistotalo
Jukka Nevavuo
 
New Capabilities in the PyData Ecosystem
New Capabilities in the PyData EcosystemNew Capabilities in the PyData Ecosystem
New Capabilities in the PyData Ecosystem
Turi, Inc.
 
Ad

Similar to Introduction to asp.net (20)

Asp.net
Asp.netAsp.net
Asp.net
vijilakshmi51
 
ASP, ASP.NET, JSP, COM/DCOM
ASP, ASP.NET, JSP, COM/DCOMASP, ASP.NET, JSP, COM/DCOM
ASP, ASP.NET, JSP, COM/DCOM
Aashish Jain
 
Introduction to Web Architecture
Introduction to Web ArchitectureIntroduction to Web Architecture
Introduction to Web Architecture
Chamnap Chhorn
 
Web container and Apache Tomcat
Web container and Apache TomcatWeb container and Apache Tomcat
Web container and Apache Tomcat
Auwal Amshi
 
Asp
AspAsp
Asp
Kundan Kumar Pandey
 
Asp.net
Asp.netAsp.net
Asp.net
OpenSource Technologies Pvt. Ltd.
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
application developer
 
Top 15-asp-dot-net-interview-questions-and-answers
Top 15-asp-dot-net-interview-questions-and-answersTop 15-asp-dot-net-interview-questions-and-answers
Top 15-asp-dot-net-interview-questions-and-answers
sonia merchant
 
Top 15 asp dot net interview questions and answers
Top 15 asp dot net interview questions and answersTop 15 asp dot net interview questions and answers
Top 15 asp dot net interview questions and answers
Pooja Gaikwad
 
Asp
AspAsp
Asp
yuvaraj72
 
Asp.net web application framework project.pdf
Asp.net web application framework project.pdfAsp.net web application framework project.pdf
Asp.net web application framework project.pdf
Kamal Acharya
 
Unit - 1: ASP.NET Basic
Unit - 1:  ASP.NET BasicUnit - 1:  ASP.NET Basic
Unit - 1: ASP.NET Basic
KALIDHASANR
 
Ch 04 asp.net application
Ch 04 asp.net application Ch 04 asp.net application
Ch 04 asp.net application
Madhuri Kavade
 
Asp interview Question and Answer
Asp interview Question and Answer Asp interview Question and Answer
Asp interview Question and Answer
home
 
Asp.net web application framework management system.pdf
Asp.net web application framework management system.pdfAsp.net web application framework management system.pdf
Asp.net web application framework management system.pdf
Kamal Acharya
 
Servlet by Rj
Servlet by RjServlet by Rj
Servlet by Rj
Shree M.L.Kakadiya MCA mahila college, Amreli
 
15th june
15th june15th june
15th june
Rahat Khanna a.k.a mAppMechanic
 
Asp.net architecture
Asp.net architectureAsp.net architecture
Asp.net architecture
Iblesoft
 
As pnet
As pnetAs pnet
As pnet
Abhishek Kesharwani
 
Asp.net With mvc handson
Asp.net With mvc handsonAsp.net With mvc handson
Asp.net With mvc handson
Prashant Kumar
 
Ad

Recently uploaded (16)

Organizing_Data_Grade4 how to organize.pptx
Organizing_Data_Grade4 how to organize.pptxOrganizing_Data_Grade4 how to organize.pptx
Organizing_Data_Grade4 how to organize.pptx
AllanGuevarra1
 
Grade 7 Google_Sites_Lesson creating website.pptx
Grade 7 Google_Sites_Lesson creating website.pptxGrade 7 Google_Sites_Lesson creating website.pptx
Grade 7 Google_Sites_Lesson creating website.pptx
AllanGuevarra1
 
OSI TCP IP Protocol Layers description f
OSI TCP IP Protocol Layers description fOSI TCP IP Protocol Layers description f
OSI TCP IP Protocol Layers description f
cbr49917
 
AI Days 2025_GM1 : Interface in theage of AI
AI Days 2025_GM1 : Interface in theage of AIAI Days 2025_GM1 : Interface in theage of AI
AI Days 2025_GM1 : Interface in theage of AI
Prashant Singh
 
cxbcxfzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz7.pdf
cxbcxfzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz7.pdfcxbcxfzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz7.pdf
cxbcxfzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz7.pdf
ssuser060b2e1
 
5-Ways-To-Future-Proof-Your-SIEM-Securonix[1].pdf
5-Ways-To-Future-Proof-Your-SIEM-Securonix[1].pdf5-Ways-To-Future-Proof-Your-SIEM-Securonix[1].pdf
5-Ways-To-Future-Proof-Your-SIEM-Securonix[1].pdf
AndrHenrique77
 
Seminar.MAJor presentation for final project viva
Seminar.MAJor presentation for final project vivaSeminar.MAJor presentation for final project viva
Seminar.MAJor presentation for final project viva
daditya2501
 
Cyber Safety: security measure about navegating on internet.
Cyber Safety: security measure about navegating on internet.Cyber Safety: security measure about navegating on internet.
Cyber Safety: security measure about navegating on internet.
manugodinhogentil
 
Reliable Vancouver Web Hosting with Local Servers & 24/7 Support
Reliable Vancouver Web Hosting with Local Servers & 24/7 SupportReliable Vancouver Web Hosting with Local Servers & 24/7 Support
Reliable Vancouver Web Hosting with Local Servers & 24/7 Support
steve198109
 
Best web hosting Vancouver 2025 for you business
Best web hosting Vancouver 2025 for you businessBest web hosting Vancouver 2025 for you business
Best web hosting Vancouver 2025 for you business
steve198109
 
Determining Glass is mechanical textile
Determining  Glass is mechanical textileDetermining  Glass is mechanical textile
Determining Glass is mechanical textile
Azizul Hakim
 
highend-srxseries-services-gateways-customer-presentation.pptx
highend-srxseries-services-gateways-customer-presentation.pptxhighend-srxseries-services-gateways-customer-presentation.pptx
highend-srxseries-services-gateways-customer-presentation.pptx
elhadjcheikhdiop
 
(Hosting PHising Sites) for Cryptography and network security
(Hosting PHising Sites) for Cryptography and network security(Hosting PHising Sites) for Cryptography and network security
(Hosting PHising Sites) for Cryptography and network security
aluacharya169
 
Breaching The Perimeter - Our Most Impactful Bug Bounty Findings.pdf
Breaching The Perimeter - Our Most Impactful Bug Bounty Findings.pdfBreaching The Perimeter - Our Most Impactful Bug Bounty Findings.pdf
Breaching The Perimeter - Our Most Impactful Bug Bounty Findings.pdf
Nirmalthapa24
 
project_based_laaaaaaaaaaearning,kelompok 10.pptx
project_based_laaaaaaaaaaearning,kelompok 10.pptxproject_based_laaaaaaaaaaearning,kelompok 10.pptx
project_based_laaaaaaaaaaearning,kelompok 10.pptx
redzuriel13
 
Top Vancouver Green Business Ideas for 2025 Powered by 4GoodHosting
Top Vancouver Green Business Ideas for 2025 Powered by 4GoodHostingTop Vancouver Green Business Ideas for 2025 Powered by 4GoodHosting
Top Vancouver Green Business Ideas for 2025 Powered by 4GoodHosting
steve198109
 
Organizing_Data_Grade4 how to organize.pptx
Organizing_Data_Grade4 how to organize.pptxOrganizing_Data_Grade4 how to organize.pptx
Organizing_Data_Grade4 how to organize.pptx
AllanGuevarra1
 
Grade 7 Google_Sites_Lesson creating website.pptx
Grade 7 Google_Sites_Lesson creating website.pptxGrade 7 Google_Sites_Lesson creating website.pptx
Grade 7 Google_Sites_Lesson creating website.pptx
AllanGuevarra1
 
OSI TCP IP Protocol Layers description f
OSI TCP IP Protocol Layers description fOSI TCP IP Protocol Layers description f
OSI TCP IP Protocol Layers description f
cbr49917
 
AI Days 2025_GM1 : Interface in theage of AI
AI Days 2025_GM1 : Interface in theage of AIAI Days 2025_GM1 : Interface in theage of AI
AI Days 2025_GM1 : Interface in theage of AI
Prashant Singh
 
cxbcxfzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz7.pdf
cxbcxfzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz7.pdfcxbcxfzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz7.pdf
cxbcxfzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz7.pdf
ssuser060b2e1
 
5-Ways-To-Future-Proof-Your-SIEM-Securonix[1].pdf
5-Ways-To-Future-Proof-Your-SIEM-Securonix[1].pdf5-Ways-To-Future-Proof-Your-SIEM-Securonix[1].pdf
5-Ways-To-Future-Proof-Your-SIEM-Securonix[1].pdf
AndrHenrique77
 
Seminar.MAJor presentation for final project viva
Seminar.MAJor presentation for final project vivaSeminar.MAJor presentation for final project viva
Seminar.MAJor presentation for final project viva
daditya2501
 
Cyber Safety: security measure about navegating on internet.
Cyber Safety: security measure about navegating on internet.Cyber Safety: security measure about navegating on internet.
Cyber Safety: security measure about navegating on internet.
manugodinhogentil
 
Reliable Vancouver Web Hosting with Local Servers & 24/7 Support
Reliable Vancouver Web Hosting with Local Servers & 24/7 SupportReliable Vancouver Web Hosting with Local Servers & 24/7 Support
Reliable Vancouver Web Hosting with Local Servers & 24/7 Support
steve198109
 
Best web hosting Vancouver 2025 for you business
Best web hosting Vancouver 2025 for you businessBest web hosting Vancouver 2025 for you business
Best web hosting Vancouver 2025 for you business
steve198109
 
Determining Glass is mechanical textile
Determining  Glass is mechanical textileDetermining  Glass is mechanical textile
Determining Glass is mechanical textile
Azizul Hakim
 
highend-srxseries-services-gateways-customer-presentation.pptx
highend-srxseries-services-gateways-customer-presentation.pptxhighend-srxseries-services-gateways-customer-presentation.pptx
highend-srxseries-services-gateways-customer-presentation.pptx
elhadjcheikhdiop
 
(Hosting PHising Sites) for Cryptography and network security
(Hosting PHising Sites) for Cryptography and network security(Hosting PHising Sites) for Cryptography and network security
(Hosting PHising Sites) for Cryptography and network security
aluacharya169
 
Breaching The Perimeter - Our Most Impactful Bug Bounty Findings.pdf
Breaching The Perimeter - Our Most Impactful Bug Bounty Findings.pdfBreaching The Perimeter - Our Most Impactful Bug Bounty Findings.pdf
Breaching The Perimeter - Our Most Impactful Bug Bounty Findings.pdf
Nirmalthapa24
 
project_based_laaaaaaaaaaearning,kelompok 10.pptx
project_based_laaaaaaaaaaearning,kelompok 10.pptxproject_based_laaaaaaaaaaearning,kelompok 10.pptx
project_based_laaaaaaaaaaearning,kelompok 10.pptx
redzuriel13
 
Top Vancouver Green Business Ideas for 2025 Powered by 4GoodHosting
Top Vancouver Green Business Ideas for 2025 Powered by 4GoodHostingTop Vancouver Green Business Ideas for 2025 Powered by 4GoodHosting
Top Vancouver Green Business Ideas for 2025 Powered by 4GoodHosting
steve198109
 

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.