find where asp.net app starts - loads? (not starting project)

R

Rich

I just inherited an asp.net project (C# VS2008). Sadly, the original
developer became deathly ill and is no longer available. There is no
documentation, but the app works. It is faily extensive and contains dozens
of support library projects referenced within the app. I am primarily a
VB.net winform guy although I have coded in C# and asp.net 5-6 years ago
(VS2003). This asp.net app works OK (I just need to extend some features).

I am trying to step through the code and have set various break points
throughout various pages (hit and miss), but I am not hitting any of the
break points until after the app has loaded and I then click on something
(after the fact). I want to set a break point where the app loads. How can
I find/identify the starting poing/starting position of this asp.net app -
where the app loads?

Thanks,
Rich
 
H

Hans Kesting

Rich was thinking very hard :
I just inherited an asp.net project (C# VS2008). Sadly, the original
developer became deathly ill and is no longer available. There is no
documentation, but the app works. It is faily extensive and contains dozens
of support library projects referenced within the app. I am primarily a
VB.net winform guy although I have coded in C# and asp.net 5-6 years ago
(VS2003). This asp.net app works OK (I just need to extend some features).

I am trying to step through the code and have set various break points
throughout various pages (hit and miss), but I am not hitting any of the
break points until after the app has loaded and I then click on something
(after the fact). I want to set a break point where the app loads. How can
I find/identify the starting poing/starting position of this asp.net app -
where the app loads?

Thanks,
Rich

What do you mean by "where the app loads"?

Usually working out what a web application does starts by following the
URLs (aspx files) that get called. Within those files (or their
codebehind), look for *Init, *Load and *PreRender methods.
Also look into a Global.asax file, there could be some code there that
is run before a page is executed.

Hans Kesting
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top