State Management in ASP.NET: A Comprehensive Guide, Essays (university) of Computer Science

Create a Simple Java Web Application Using Servlet, JSP and JDBC Create a Simple Java Web Application Using Servlet, JSP and JDBC Create a Simple Java Web Application Using Servlet, JSP and JDBC

Typology: Essays (university)

2019/2020

Uploaded on 01/17/2020

uic-18mca8012
uic-18mca8012 🇮🇳

5

(1)

3 documents

1 / 10

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download State Management in ASP.NET: A Comprehensive Guide and more Essays (university) Computer Science in PDF only on Docsity!

Good

Morning

about

history

timelin

e

teams

servic

es

follow

State

Management

Preserve:

  • State of control - Data about

user

Statelessness of Asp.net

applications

about

Statelessn

timelin

e

teams

servic

es

follow

Server

ID

And

Password

please

ID

And

Password

please

about

Statel

ess

types

AA

Client

Si

servic

es

follow

  1. Hidden

Field

Used to store

small amount

of data on

client side

Useful for

values which

are constantly

changing

Doesn’t get

Rendered to the

client and

invisible to user

and travel as

standard control

  1. View State

about

Statel

ess

types types

\

types

  1. Hidden

Field

  1. View State

Used to Store data like

hidden field but can

contain more amount of

data

Can store any type of data

but it is always

recommended not to store

complex data due to errors

at serialization and

deserialization

Stores data in HTML

format

Performs page level State

Management

Enabled by default

  1. Cookies

servic

es

follow

about

statele

ss

types

typess

types types

  1. Control

State

  1. Query

String

In Case when view

state gets disabled

explicitly then control

state get’s used

for using control state

we have to override

the following

**1. Loadinit()

  1. Page.registerControl**

State()

3. Load Control State

Query String is

used to transfer

data Between

pages.

It uses special

character “?” to

signify data in the

string URL

For retrieval it

uses request

object