Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multi level Global.asax inheritance
Message
 
 
À
23/10/2008 23:41:44
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01356799
Message ID:
01356801
Vues:
29
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform