Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multi level Global.asax inheritance
Message
From
23/10/2008 23:41:44
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Multi level Global.asax inheritance
Environment versions
Environment:
VB 9.0
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01356799
Message ID:
01356799
Views:
139
Hi,
Does ASP.NET Global.asax support multi level inheritance? I have code as below. When I run my web app, only the code in MyGlobal executed, but not BaseGlobal. Any ideas? Thank hyou
public class BaseGlobal : HttpApplication 
{ 
   void Application_Start(object sender, EventAgrs e)
   {
      // Set breakpoint string abc = ""; 
   } 
}

public class MyGlobal : BaseGlobal 
{ 
   void Application_Start(object sender, EventAgrs e) 
   { 
      // Set breakpoint string dddd = "";
   } 
} 

//Global.asax 
&lgt;%@ Application Language="C#" Inherits="MyGlobal" %
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Next
Reply
Map
View

Click here to load this message in the networking platform