Nikos Baxevanis
Nikos Baxevanis

Reputation: 11201

ASP.NET Web Pages (with Razor syntax) Life Cycle

I could only find this but at some point it talks about the IsPostback property so I think it might be for the ASP.NET Web Forms.

Is there any information relative to the ASP.NET Web Pages Life Cycle?

Update: When I use some JavaScript, how it is related with the Life Cycle of an IController instance?

Upvotes: 0

Views: 1279

Answers (3)

Stilgar
Stilgar

Reputation: 23551

JavaScript code is always executed when th page is served to the client. This is true regardless of the technology you use. All serverside code is already executed when the page is served to the client therefore JavaScript executes after it.

Upvotes: 1

Iridio
Iridio

Reputation: 9271

Maybe you mean the life cycle of the controller. If so you should also find this useful

The Life And Times of an ASP.NET MVC Controller

Upvotes: 2

dohaivu
dohaivu

Reputation: 2027

ASP.NET Web Page is a view engine (with razor syntax), just like other view engines, It only do render your data + template to html.
It is usually used with ASP.NET MVC. If you want to know how request and response work in ASP.NET MVC, you can read these articles ASP.NET MVC Architecture, Routing and Filtering

Upvotes: -1

Related Questions