SlideShare a Scribd company logo
Page Life Cycle
Basic Objects of .NET
ASP.NET File Types
Web Form and Web Services
Exception Handling
Page Life Cycle
Continue…….
• Sequence of events are as follow:
1. PreInit
2. Init
3. InitComplete
4. PreLoad
5. Load (before any control events)
6. LoadComplete
7. PreRender(after any control event)
8. PreRenderComplete
9. SaveStateComplete
10.Unload
Continue……
Handling Page Events
• Whenever you request a page, a particular set of
events is raised in a particular sequence.
• This sequence of events is called the Page execution
lifecycle.
Cross-Page Posting
• Under some circumstances, you might want a
page to post to a different page, not to itself. This
is referred to as cross-page posting.
Page Model
• You can create Single-File code model and Code-
Behind page model.
Basic objects of .NET
Response Object:
Response object is called the output object.
It represent information going out from the server to
the browser.
Collection : Cookies.
Properties :
Cache Control, Charest, Content Type,
Expires, Expires Absolute, Is Client Connected,
Status etc.
Methods :
Append To Log(), Binary Write(), Clear(),End(),
Flush(), Redirect(), Write().
Continue……
 Request Object:
• The Request object is called the input object.
• This objects represent information coming into the
Web Server from the browser .
 collections are: Cookies, Form ,Query String, Server
Variables
 Methods are: Binary Read ()
Continue…….
Server Object:
The Server object is used to access properties and
methods on the server.
 Properties: Script Timeout .
 Methods: Create Object , Get Last Error() , HTML Encode,
Map Path, Transfer, URL Encode
Continue…….
Session Object:
 Variables stored in a Session object hold information
about one single user, and are available to all pages in one
application.
 Collections: Contents, Static Objects.
 Properties: Code Page, LCID, SessionID, Timeout.
 Methods: Abandon, Contents. Remove(), Contents.Remove
All() .
 Events: Session_On End, Session_OnStart .
Continue…..
Application Object:
 This object is used to store and access variables from any
page, just like the Session object.
 The difference is that ALL users share ONE Application
object (with Sessions there is ONE Session object for
EACH user).
 Collections: Contents, Static Objects
 Methods : Contents. Remove(), Contents.RemoveAll(),Lock(),
UnLock() .
 Events : Application_OnEnd, Application_OnStart,
Application_OnError .
ASP.NET File Types
Web.Config File
Global.asax File
WebForm.aspx File
WebForm.aspx.cs File
UserControl.ascx File
Special File in ASP.NET Website
Configuration and Global Application file:
• ASP.NET provide various way to handle an application on
different levels.
• You can handle website generally on three level-
1. Control level
2. page level
3. application level
• To handle at application level we use configuration
(Web.config) and Global application(global.asax) file.
Web Services
A Web Service Is Any Piece of Software that Makes
it Available Over The Internet And Uses.
 A STANDARDISED XML MESSAGING SYSTEM.XML
is used to encode all communication to a web service.

More Related Content

Viewers also liked

ASP.NET Lecture 2
ASP.NET Lecture 2ASP.NET Lecture 2
ASP.NET Lecture 2
Julie Iskander
 
ASP.NET Lecture 4
ASP.NET Lecture 4ASP.NET Lecture 4
ASP.NET Lecture 4
Julie Iskander
 
Asp dot net final (2)
Asp dot net   final (2)Asp dot net   final (2)
Asp dot net final (2)
Amelina Ahmeti
 
Cryptography
CryptographyCryptography
Cryptography
KARNAN L S
 
University of Limerick Library supports first year student transition
University of Limerick Library supports first year student transition University of Limerick Library supports first year student transition
University of Limerick Library supports first year student transition
Glucksman Library, University of Limerick
 
Analysis of 4 film openings
Analysis of 4 film openingsAnalysis of 4 film openings
Analysis of 4 film openings
kaplanu
 
TopTen_MobilityWithALM_v1 11
TopTen_MobilityWithALM_v1 11TopTen_MobilityWithALM_v1 11
TopTen_MobilityWithALM_v1 11Mike Hansen
 
Συνταγές από την Αρχαία Ελλάδα
Συνταγές από την Αρχαία ΕλλάδαΣυνταγές από την Αρχαία Ελλάδα
Συνταγές από την Αρχαία Ελλάδα
11dimtpe
 
2015 03 17 SBA Beauty Industry West- revised
2015 03 17 SBA Beauty Industry West- revised2015 03 17 SBA Beauty Industry West- revised
2015 03 17 SBA Beauty Industry West- revisedMark Morales
 
Prioritising 1st Year Engagement and Success at the University of Limerick Li...
Prioritising 1st Year Engagement and Success at the University of Limerick Li...Prioritising 1st Year Engagement and Success at the University of Limerick Li...
Prioritising 1st Year Engagement and Success at the University of Limerick Li...
Glucksman Library, University of Limerick
 
De-risking Projects and Setting up for High Performance Delivery
De-risking Projects and Setting up for High Performance DeliveryDe-risking Projects and Setting up for High Performance Delivery
De-risking Projects and Setting up for High Performance Delivery
Craig Bihari
 
Some thoughts on 2 d 3-d information processing
Some thoughts on 2 d 3-d information processingSome thoughts on 2 d 3-d information processing
Some thoughts on 2 d 3-d information processing
CurvSurf
 
China left behind children program vers maart 2016
China left behind children program vers maart 2016China left behind children program vers maart 2016
China left behind children program vers maart 2016Arnaud Veere
 
How Long Does It Take to File Chapter 7?
How Long Does It Take to File Chapter 7?How Long Does It Take to File Chapter 7?
How Long Does It Take to File Chapter 7?
Joe Pioletti
 
Certifikační program
Certifikační programCertifikační program
Certifikační program
NET University, s.r.o.
 
Johdatusta MOOCiin
Johdatusta MOOCiinJohdatusta MOOCiin
Johdatusta MOOCiin
Teija Lehto
 
Sandbox Conference Presentation
Sandbox Conference PresentationSandbox Conference Presentation
Sandbox Conference Presentation
Joseph Harrell
 

Viewers also liked (18)

ASP.NET Lecture 2
ASP.NET Lecture 2ASP.NET Lecture 2
ASP.NET Lecture 2
 
ASP.NET Lecture 4
ASP.NET Lecture 4ASP.NET Lecture 4
ASP.NET Lecture 4
 
Asp dot net final (2)
Asp dot net   final (2)Asp dot net   final (2)
Asp dot net final (2)
 
Cryptography
CryptographyCryptography
Cryptography
 
University of Limerick Library supports first year student transition
University of Limerick Library supports first year student transition University of Limerick Library supports first year student transition
University of Limerick Library supports first year student transition
 
Analysis of 4 film openings
Analysis of 4 film openingsAnalysis of 4 film openings
Analysis of 4 film openings
 
TopTen_MobilityWithALM_v1 11
TopTen_MobilityWithALM_v1 11TopTen_MobilityWithALM_v1 11
TopTen_MobilityWithALM_v1 11
 
Συνταγές από την Αρχαία Ελλάδα
Συνταγές από την Αρχαία ΕλλάδαΣυνταγές από την Αρχαία Ελλάδα
Συνταγές από την Αρχαία Ελλάδα
 
2015 03 17 SBA Beauty Industry West- revised
2015 03 17 SBA Beauty Industry West- revised2015 03 17 SBA Beauty Industry West- revised
2015 03 17 SBA Beauty Industry West- revised
 
Prioritising 1st Year Engagement and Success at the University of Limerick Li...
Prioritising 1st Year Engagement and Success at the University of Limerick Li...Prioritising 1st Year Engagement and Success at the University of Limerick Li...
Prioritising 1st Year Engagement and Success at the University of Limerick Li...
 
De-risking Projects and Setting up for High Performance Delivery
De-risking Projects and Setting up for High Performance DeliveryDe-risking Projects and Setting up for High Performance Delivery
De-risking Projects and Setting up for High Performance Delivery
 
Some thoughts on 2 d 3-d information processing
Some thoughts on 2 d 3-d information processingSome thoughts on 2 d 3-d information processing
Some thoughts on 2 d 3-d information processing
 
China left behind children program vers maart 2016
China left behind children program vers maart 2016China left behind children program vers maart 2016
China left behind children program vers maart 2016
 
How Long Does It Take to File Chapter 7?
How Long Does It Take to File Chapter 7?How Long Does It Take to File Chapter 7?
How Long Does It Take to File Chapter 7?
 
Certifikační program
Certifikační programCertifikační program
Certifikační program
 
Johdatusta MOOCiin
Johdatusta MOOCiinJohdatusta MOOCiin
Johdatusta MOOCiin
 
Sandbox Conference Presentation
Sandbox Conference PresentationSandbox Conference Presentation
Sandbox Conference Presentation
 
Medieval china preview
Medieval china previewMedieval china preview
Medieval china preview
 

Similar to ASPX Session xi(page lifecycle)

Introduction to asp.net
Introduction to asp.netIntroduction to asp.net
Introduction to asp.net
neeta1995
 
Asp.net By Durgesh Singh
Asp.net By Durgesh SinghAsp.net By Durgesh Singh
Asp.net By Durgesh Singh
imdurgesh
 
Dojo - from web page to web apps
Dojo - from web page to web appsDojo - from web page to web apps
Dojo - from web page to web apps
yoavrubin
 
ASP.NET Lecture 1
ASP.NET Lecture 1ASP.NET Lecture 1
ASP.NET Lecture 1
Julie Iskander
 
Parallelminds.asp.net with sp
Parallelminds.asp.net with spParallelminds.asp.net with sp
Parallelminds.asp.net with sp
parallelminder
 
ASP.NET Lecture 7
ASP.NET Lecture 7ASP.NET Lecture 7
ASP.NET Lecture 7
Julie Iskander
 
Internet Explorer 8
Internet Explorer 8Internet Explorer 8
Internet Explorer 8
David Chou
 
Programming web application
Programming web applicationProgramming web application
Programming web applicationaspnet123
 
HTML5
HTML5HTML5
Asp.net control
Asp.net controlAsp.net control
Asp.net control
Paneliya Prince
 
State management in asp
State management in aspState management in asp
State management in asp
Ibrahim MH
 
Developing your first application using FI-WARE
Developing your first application using FI-WAREDeveloping your first application using FI-WARE
Developing your first application using FI-WAREFermin Galan
 
Asp.net+interview+questions+and+answers
Asp.net+interview+questions+and+answersAsp.net+interview+questions+and+answers
Asp.net+interview+questions+and+answers
Mohan Raj
 
Notes on SF W3Conf
Notes on SF W3ConfNotes on SF W3Conf
Notes on SF W3Conf
Edy Dawson
 
Server-side JS with NodeJS
Server-side JS with NodeJSServer-side JS with NodeJS
Server-side JS with NodeJS
Lilia Sfaxi
 
Session viii(state mngtserver)
Session viii(state mngtserver)Session viii(state mngtserver)
Session viii(state mngtserver)
Shrijan Tiwari
 
Ajax tutorial by bally chohan
Ajax tutorial by bally chohanAjax tutorial by bally chohan
Ajax tutorial by bally chohan
WebVineet
 

Similar to ASPX Session xi(page lifecycle) (20)

Introduction to asp.net
Introduction to asp.netIntroduction to asp.net
Introduction to asp.net
 
Asp.net By Durgesh Singh
Asp.net By Durgesh SinghAsp.net By Durgesh Singh
Asp.net By Durgesh Singh
 
Dojo - from web page to web apps
Dojo - from web page to web appsDojo - from web page to web apps
Dojo - from web page to web apps
 
ASP.NET Lecture 1
ASP.NET Lecture 1ASP.NET Lecture 1
ASP.NET Lecture 1
 
Parallelminds.asp.net with sp
Parallelminds.asp.net with spParallelminds.asp.net with sp
Parallelminds.asp.net with sp
 
JavaScript and BOM events
JavaScript and BOM eventsJavaScript and BOM events
JavaScript and BOM events
 
ASP.NET Lecture 7
ASP.NET Lecture 7ASP.NET Lecture 7
ASP.NET Lecture 7
 
Internet Explorer 8
Internet Explorer 8Internet Explorer 8
Internet Explorer 8
 
Programming web application
Programming web applicationProgramming web application
Programming web application
 
HTML5
HTML5HTML5
HTML5
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
Asp.net control
Asp.net controlAsp.net control
Asp.net control
 
State management in asp
State management in aspState management in asp
State management in asp
 
Cos 432 web_security
Cos 432 web_securityCos 432 web_security
Cos 432 web_security
 
Developing your first application using FI-WARE
Developing your first application using FI-WAREDeveloping your first application using FI-WARE
Developing your first application using FI-WARE
 
Asp.net+interview+questions+and+answers
Asp.net+interview+questions+and+answersAsp.net+interview+questions+and+answers
Asp.net+interview+questions+and+answers
 
Notes on SF W3Conf
Notes on SF W3ConfNotes on SF W3Conf
Notes on SF W3Conf
 
Server-side JS with NodeJS
Server-side JS with NodeJSServer-side JS with NodeJS
Server-side JS with NodeJS
 
Session viii(state mngtserver)
Session viii(state mngtserver)Session viii(state mngtserver)
Session viii(state mngtserver)
 
Ajax tutorial by bally chohan
Ajax tutorial by bally chohanAjax tutorial by bally chohan
Ajax tutorial by bally chohan
 

More from Shrijan Tiwari

Session x(ado.net)
Session x(ado.net)Session x(ado.net)
Session x(ado.net)
Shrijan Tiwari
 
Session viii(state mngtclient)
Session viii(state mngtclient)Session viii(state mngtclient)
Session viii(state mngtclient)
Shrijan Tiwari
 
Session vii(java scriptbasics)
Session vii(java scriptbasics)Session vii(java scriptbasics)
Session vii(java scriptbasics)
Shrijan Tiwari
 
Session vi(user control)
Session vi(user control)Session vi(user control)
Session vi(user control)
Shrijan Tiwari
 
Session v(css)
Session v(css)Session v(css)
Session v(css)
Shrijan Tiwari
 
Session ix(database)
Session ix(database)Session ix(database)
Session ix(database)
Shrijan Tiwari
 
Session iv(master pages)
Session iv(master pages)Session iv(master pages)
Session iv(master pages)
Shrijan Tiwari
 
Session iii(server controls)
Session iii(server controls)Session iii(server controls)
Session iii(server controls)
Shrijan Tiwari
 
Session ii(html)
Session ii(html)Session ii(html)
Session ii(html)
Shrijan Tiwari
 
Session i(introduction)
Session i(introduction)Session i(introduction)
Session i(introduction)
Shrijan Tiwari
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
Shrijan Tiwari
 

More from Shrijan Tiwari (11)

Session x(ado.net)
Session x(ado.net)Session x(ado.net)
Session x(ado.net)
 
Session viii(state mngtclient)
Session viii(state mngtclient)Session viii(state mngtclient)
Session viii(state mngtclient)
 
Session vii(java scriptbasics)
Session vii(java scriptbasics)Session vii(java scriptbasics)
Session vii(java scriptbasics)
 
Session vi(user control)
Session vi(user control)Session vi(user control)
Session vi(user control)
 
Session v(css)
Session v(css)Session v(css)
Session v(css)
 
Session ix(database)
Session ix(database)Session ix(database)
Session ix(database)
 
Session iv(master pages)
Session iv(master pages)Session iv(master pages)
Session iv(master pages)
 
Session iii(server controls)
Session iii(server controls)Session iii(server controls)
Session iii(server controls)
 
Session ii(html)
Session ii(html)Session ii(html)
Session ii(html)
 
Session i(introduction)
Session i(introduction)Session i(introduction)
Session i(introduction)
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 

Recently uploaded

Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
XfilesPro
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
Globus
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Matt Welsh
 
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
XfilesPro
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
Cyanic lab
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Anthony Dahanne
 
top nidhi software solution freedownload
top nidhi software solution freedownloadtop nidhi software solution freedownload
top nidhi software solution freedownload
vrstrong314
 
Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
WSO2
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
Ortus Solutions, Corp
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
Max Andersen
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
takuyayamamoto1800
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
informapgpstrackings
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus
 
Why React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdfWhy React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdf
ayushiqss
 
Designing for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web ServicesDesigning for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web Services
KrzysztofKkol1
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
wottaspaceseo
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
Juraj Vysvader
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Natan Silnitsky
 
Advanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should KnowAdvanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should Know
Peter Caitens
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
Paco van Beckhoven
 

Recently uploaded (20)

Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
 
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
 
top nidhi software solution freedownload
top nidhi software solution freedownloadtop nidhi software solution freedownload
top nidhi software solution freedownload
 
Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
 
Why React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdfWhy React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdf
 
Designing for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web ServicesDesigning for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web Services
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
 
Advanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should KnowAdvanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should Know
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
 

ASPX Session xi(page lifecycle)

  • 1. Page Life Cycle Basic Objects of .NET ASP.NET File Types Web Form and Web Services Exception Handling
  • 3. Continue……. • Sequence of events are as follow: 1. PreInit 2. Init 3. InitComplete 4. PreLoad 5. Load (before any control events) 6. LoadComplete 7. PreRender(after any control event) 8. PreRenderComplete 9. SaveStateComplete 10.Unload
  • 4. Continue…… Handling Page Events • Whenever you request a page, a particular set of events is raised in a particular sequence. • This sequence of events is called the Page execution lifecycle.
  • 5. Cross-Page Posting • Under some circumstances, you might want a page to post to a different page, not to itself. This is referred to as cross-page posting. Page Model • You can create Single-File code model and Code- Behind page model.
  • 6. Basic objects of .NET Response Object: Response object is called the output object. It represent information going out from the server to the browser. Collection : Cookies. Properties : Cache Control, Charest, Content Type, Expires, Expires Absolute, Is Client Connected, Status etc. Methods : Append To Log(), Binary Write(), Clear(),End(), Flush(), Redirect(), Write().
  • 7. Continue……  Request Object: • The Request object is called the input object. • This objects represent information coming into the Web Server from the browser .  collections are: Cookies, Form ,Query String, Server Variables  Methods are: Binary Read ()
  • 8. Continue……. Server Object: The Server object is used to access properties and methods on the server.  Properties: Script Timeout .  Methods: Create Object , Get Last Error() , HTML Encode, Map Path, Transfer, URL Encode
  • 9. Continue……. Session Object:  Variables stored in a Session object hold information about one single user, and are available to all pages in one application.  Collections: Contents, Static Objects.  Properties: Code Page, LCID, SessionID, Timeout.  Methods: Abandon, Contents. Remove(), Contents.Remove All() .  Events: Session_On End, Session_OnStart .
  • 10. Continue….. Application Object:  This object is used to store and access variables from any page, just like the Session object.  The difference is that ALL users share ONE Application object (with Sessions there is ONE Session object for EACH user).  Collections: Contents, Static Objects  Methods : Contents. Remove(), Contents.RemoveAll(),Lock(), UnLock() .  Events : Application_OnEnd, Application_OnStart, Application_OnError .
  • 11. ASP.NET File Types Web.Config File Global.asax File WebForm.aspx File WebForm.aspx.cs File UserControl.ascx File
  • 12. Special File in ASP.NET Website Configuration and Global Application file: • ASP.NET provide various way to handle an application on different levels. • You can handle website generally on three level- 1. Control level 2. page level 3. application level • To handle at application level we use configuration (Web.config) and Global application(global.asax) file.
  • 13. Web Services A Web Service Is Any Piece of Software that Makes it Available Over The Internet And Uses.  A STANDARDISED XML MESSAGING SYSTEM.XML is used to encode all communication to a web service.