C# Класс Composite.Core.WebClient.ApplicationLevelEventHandlers

ASP.NET Application level logic. This class primarily interact between Orckestra CMS and the ASP.NET Application. Most of the members on this class is not documented, except for those which developers may find useful to interact with.
Показать файл Открыть проект

Открытые методы

Метод Описание
ApplicationStartInitialize ( bool displayDebugInfo = false ) : void
Application_BeginRequest ( object sender, EventArgs e ) : void
Application_End ( object sender, EventArgs e ) : void
Application_EndRequest ( object sender, EventArgs e ) : void
Application_Error ( object sender, EventArgs e ) : void
Application_Start ( object sender, EventArgs e ) : void
GetVaryByCustomString ( HttpContext context, string custom ) : string
RegisterC1PageVaryByCustomStringProvider ( string providerId, string>.Func customStringBuilder ) : void

Register a function that provide a custom string to be part of a C1 Page cache key. You should register a function just once and during the application initialization. Your function will be called with the current HttpContext and should return either null or a string for the C1 Page request in relation to caching. An example situation where this can be used: You want to have full page caching, but you have C1 Page content being dependant on client settings, such as HTTP CLIENT. You should kep the 'spread in values' you return to a minimum - each unique string will create a new cache entry and consume memory.

Приватные методы

Метод Описание
CurrentDomain_DomainUnload ( object sender, EventArgs e ) : void
InitializeServices ( ) : void
LogShutDownReason ( ) : void

Описание методов

ApplicationStartInitialize() публичный статический Метод

public static ApplicationStartInitialize ( bool displayDebugInfo = false ) : void
displayDebugInfo bool
Результат void

Application_BeginRequest() публичный статический Метод

public static Application_BeginRequest ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

Application_End() публичный статический Метод

public static Application_End ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

Application_EndRequest() публичный статический Метод

public static Application_EndRequest ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

Application_Error() публичный статический Метод

public static Application_Error ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

Application_Start() публичный статический Метод

public static Application_Start ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

GetVaryByCustomString() публичный статический Метод

public static GetVaryByCustomString ( HttpContext context, string custom ) : string
context System.Web.HttpContext
custom string
Результат string

RegisterC1PageVaryByCustomStringProvider() публичный статический Метод

Register a function that provide a custom string to be part of a C1 Page cache key. You should register a function just once and during the application initialization. Your function will be called with the current HttpContext and should return either null or a string for the C1 Page request in relation to caching. An example situation where this can be used: You want to have full page caching, but you have C1 Page content being dependant on client settings, such as HTTP CLIENT. You should kep the 'spread in values' you return to a minimum - each unique string will create a new cache entry and consume memory.
public static RegisterC1PageVaryByCustomStringProvider ( string providerId, string>.Func customStringBuilder ) : void
providerId string A string unique for your function - used to ensure this is only registered once
customStringBuilder string>.Func Your function the can return a custom string
Результат void