Asp.Net Lifecycle Page - Which tool (maybe a Reflector?) Will let me see the order in which page events and their event handlers are called

1) I know that there are many websites that describe in which order events are triggered during the life cycle of an Asp.Net page. But is there also a tool, possibly a reflector, that would allow me to figure out in what order ALL page events and their event handlers will be displayed during the page life cycle?

2) Could you say that trying to figure out what exactly is happening under the hood is a good idea or a waste of time? To clarify - Id like to pinpoint what happens when a control tree is created - so all method calls, all events that trigger, etc., Needed to build a control tree (I suppose there are hundreds, or maybe thousands lines of code written only to build a control tree).

thanx

+3
source share
5 answers

ASP.net , . , / , . ( !) , , , .

, web.config :

 <trace enabled="true" pageOutput="true" requestLimit="10" traceMode="SortByTime" localOnly="true" />

, @page , :

 <%@ Page Title="" Trace="true"......

, "Trace.axd". (.. Cassini IIS localhost), localonly="true" localonly="false" .

, WebForms, , , , .

+6

. , , ASP.NET .

, :

<%@ Page Language="C#" Trace="true"  %>
+2

, , , . , . , (, ). . - asp.net.

- . , .

+1

1) , (F10), , . , , .

2) , . , , , . , , , .

, , .

+1

, -, , Asp.Net. , , , , ?

. , Reflector ( FX Source - Telerik JustDecompile ) ( , ProcessRequest). 4 5 , .

, UML - , . , < 30 - , .

, , , ?

, , ( , ). , , - - ​​ - , , . .

, . , , WebForms, , , , , .

- Id , - , , , .., ( , , , , ).

*. , , , 30 - ( ) . , MSDN, ( , , - -).

* AFAIK, , , IANAL, , , , ..

0

Source: https://habr.com/ru/post/1735304/


All Articles