C# Class Subtext.Web.Global

Inheritance: System.Web.HttpApplication
Afficher le fichier Open project: ayende/Subtext

Méthodes publiques

Méthode Description
GetVaryByCustomString ( HttpContext context, string custom ) : string

This is used to vary partial caching of ASCX controls and ASPX pages on a per blog basis. You can see this in action via the [PartialCaching] attribute.

Provides an application-wide implementation of the P:System.Web.UI.PartialCachingAttribute.VaryByCustom property.

Méthodes protégées

Méthode Description
Application_AuthenticateRequest ( Object sender, EventArgs e ) : void

Handles the AuthenticateRequest event of the Application control.

Application_BeginRequest ( Object sender, EventArgs e ) : void

Method called during at the beginning of each request.

Application_End ( Object sender, EventArgs e ) : void

Handles the End event of the Application control.

Application_EndRequest ( Object sender, EventArgs e ) : void

Handles the EndRequest event of the Application control.

Application_Error ( Object sender, EventArgs e ) : void

Handles the Error event of the Application control.

Application_Start ( Object sender, EventArgs e ) : void

Method called by the application on startup.

Session_End ( Object sender, EventArgs e ) : void

Handles the End event of the Session control.

Session_Start ( Object sender, EventArgs e ) : void

Method called when a session starts.

Private Methods

Méthode Description
Global ( ) : System
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

Method Details

Application_AuthenticateRequest() protected méthode

Handles the AuthenticateRequest event of the Application control.
protected Application_AuthenticateRequest ( Object sender, EventArgs e ) : void
sender Object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

Application_BeginRequest() protected méthode

Method called during at the beginning of each request.
protected Application_BeginRequest ( Object sender, EventArgs e ) : void
sender Object
e System.EventArgs
Résultat void

Application_End() protected méthode

Handles the End event of the Application control.
protected Application_End ( Object sender, EventArgs e ) : void
sender Object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

Application_EndRequest() protected méthode

Handles the EndRequest event of the Application control.
protected Application_EndRequest ( Object sender, EventArgs e ) : void
sender Object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

Application_Error() protected méthode

Handles the Error event of the Application control.
protected Application_Error ( Object sender, EventArgs e ) : void
sender Object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

Application_Start() protected méthode

Method called by the application on startup.
protected Application_Start ( Object sender, EventArgs e ) : void
sender Object
e System.EventArgs
Résultat void

GetVaryByCustomString() public méthode

This is used to vary partial caching of ASCX controls and ASPX pages on a per blog basis. You can see this in action via the [PartialCaching] attribute.

Provides an application-wide implementation of the P:System.Web.UI.PartialCachingAttribute.VaryByCustom property.

public GetVaryByCustomString ( HttpContext context, string custom ) : string
context System.Web.HttpContext An that contains information about the current Web request
custom string
Résultat string

Session_End() protected méthode

Handles the End event of the Session control.
protected Session_End ( Object sender, EventArgs e ) : void
sender Object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

Session_Start() protected méthode

Method called when a session starts.
protected Session_Start ( Object sender, EventArgs e ) : void
sender Object
e System.EventArgs
Résultat void