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.
파일 보기 프로젝트 열기: Orckestra/C1-CMS

공개 메소드들

메소드 설명
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