Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multi level Global.asax inheritance
Message
 
 
To
23/10/2008 23:41:44
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01356799
Message ID:
01356801
Views:
28
>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" %
>
Where are you calling the base class code?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform