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

Click here to load this message in the networking platform