Category Archives: ASP.NET

Global.asax event handling internals (part 3 of 3)

// In HttpApplicationFactory private void HookupEventHandlersForAppplicationAndModules(MethodInfo[] handlers) {       // handlers receives a list of Global’s methods.       for (int num1 = 0; num1 < handlers.Length; num1++)       {             MethodInfo info1 = handlers[num1];             string text1 = info1.Name;             … Continue reading

Posted in ASP.NET | Leave a comment

Global.asax event handling internals (part 2 of 3)

// HttpApplication class, from which Global is derived. private void ReflectOnApplicationType() {       // Enumerates all Global and it’s wrapper methods..       ArrayList list1 = new ArrayList();       MethodInfo[] infoArray1 = this._theApplicationType.GetMethods(BindingFlags.NonPublic | (BindingFlags.Public | (BindingFlags.Static | BindingFlags.Instance)));       MethodInfo[] … Continue reading

Posted in ASP.NET | Leave a comment

Global.asax event handling internals (part 1 of 3)

Some days ago I and another project member were seeing the best way to catch unhandled exceptions in ASP.NET. We found the Global.Application_Error method in Global.asax which them. Besides Application_Error, Visual Studio creates some other methods for handling events in … Continue reading

Posted in ASP.NET | Leave a comment

ASP.NET validation internals

The article is somewhat old, but it still deserves a visit from whom, like me is studying for 70-305 or 70-315: ASP.NET Validation in Depth

Posted in ASP.NET | Leave a comment