03 Handout 1 Flashcards

1
Q

is part of the .NET infrastructure that provides a programming model and various services that are necessary to build up web applications.

A

ASP .NET Web Forms

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the main benefit of ASP .NET Web Forms?

A

the level of abstraction that it provides compared to the request/response approach and the creation of the HTML that is sent to the client

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The response to change in the page content is enhanced through the use of

A

ViewState

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

is how ASP.NET Web Forms take this customized approach and transfer state information between the browser and the server

A

ViewState

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

allows the developer to interact with information at various points in the HTML creation phase

A

ASP.NET lifecycle

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the seven (7) lifecycle stages?

A
  1. Page Request
  2. Start
  3. Initialization
  4. Load
  5. Postback Event Handling
  6. Rendering
  7. Unload
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

This state happens before the page-calling process starts. It is when the system determines whether run-time compilation is necessary, whether cached output can be returned, or whether a compiled page needs to be run.

A

Page Request

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

The page starts to do some processing on the HTTP Request. Some base variables are initialized, such as Request, Response, and the UICulture

A

Start

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

During this phase, the controls on the page are initialized and assigned their unique IDs. Master pages and themes are applied as applicable

A

Initialization

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

If the request is a postback, control information is loaded with the information recovered from the view state

A

Load

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

If the request is a postback, all the various controls fire their event handlers as needed. Validation also happens at this time.

A

Postback Event Handling

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Before the rendering state starts, ViewState is saved for the page and all of the controls as configured.

A

Rendering

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

This happens after the content is created and sent to the client. Objects are unloaded from memory and cleanup happens.

A

Unload

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Raised after the start state is complete and before the initialization state begins

A

PreInit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

This event is raised after all the controls have been initialized. It is used to initialize control properties

A

Init

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Only one thing happens between Init and InitComplete, and that is the enabling of view state for the controls.

Changes in this event and after will impact viewstate to make sure it will be available next postback.

A

InitComplete

17
Q

Raised after the page manages the view state information for itself and all controls

A

PreLoad

18
Q

The OnLoad method is called in a page, which then recursively calls the same method on every control

A

Load

19
Q

These are specific control-based events, such as the Click of a button, or TextChanged on a text box.

A

Control Events

20
Q

This event is raised after all the event handling has occured

A

LoadComplete

21
Q

After all the controls have been loaded, the Page object starts its prerender phase

A

PreRender

22
Q

Raised after every data-bound control has been bound

A

PreRenderComplete

23
Q

Raised after the view state and control state have been saved for the page and for all controls

A

SaveStateComplete

24
Q

This is not an event. Rather at this point in the process, the Page object calls this method on each control

A

Render

25
Q

This is used to perform special cleanup activities, such as closing files or database connections, logging, etc.

A

Unload

26
Q

are the items that a developer places on an ASP .NET web page

A

ASP .NET server controls

27
Q

What are the four main types of controls?

A
  1. HTML server controls
  2. Web server controls
  3. Validation controls
  4. User controls
28
Q

wrappers for traditional HTML elements

A

HTML server controls

29
Q

tends to encompass more functionality and be more abstract than an HTML server control

A

Web server controls

30
Q

ensures that the values entered into other controls meet certain criteria, or are valid.

A

Validation controls

31
Q

controls that you build yourself. If a set of functionality needs to be available on multiple pages, then it is most likely that you should create this functionality as a user control

A

User controls

32
Q
A