Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fancy trick with Application_Start
Message
De
29/01/2015 05:24:34
 
 
À
28/01/2015 22:44:42
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01614564
Message ID:
01614573
Vues:
63
This message has been marked as the solution to the initial question of the thread.
>I do not know if this is possible. But, as I cannot deploy a fix in the production environment, I would like to put temporarily in the global.asax file some Application_Start() code. So far so good, but, the framework also has an Application_Start() code that is executed as global.asax is inheriting from my base class. So, is this possible to have code in that event at both locations?

I don't think it's possible. Application_Start() code in the asax.cs will take precedence over any Application_Start() in the .asax markup file.
You can hook up to HttpApplication events that *aren't* handled in code behind - but I don't think that's much help :-{
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform