Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Application recycling logging
Message
De
18/10/2010 03:27:43
 
 
À
17/10/2010 17:07:08
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01485842
Message ID:
01485913
Vues:
51
>>Instead of putting that code into the Global.asax file, I am wondering if there could be a possibility that I could put it in my Framework.dll. Is this possible for inheritance in regards to Global.asax?
>
>I created a class in the framework such as this:
>
>
>Namespace Framework
>
>    Public Class GlobalBase
>        Inherits System.Web.HttpApplication
>
>
>I then updated the Global.asac to inherit from that class. This works. The regular Global.asax start and end events are fired and I can proceed from there.

Just catching up on your posts..

As far as selecting which recycling events to log:

The first four options correspond to the four checkboxes in the Recycling tab of the Application Pool properties window. You'd only need to monitor the ones which were checked. It might be worth adding the IsApiUnhealthy and RecyclePrivate memory - if those events occur it could indicate some problem with the app itself (eg. a memory leak).

Also I guess you don't need to generate your own Guid in Application_End - you can access the actual process Id via ProcessInformation.ProcessID which will make it easier to correlate with the IIS log....

HTH,
Viv
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform