메소드 | 설명 | |
---|---|---|
ApplicationStartInitialize ( bool displayDebugInfo = false ) : void | ||
Application_BeginRequest ( object sender, |
||
Application_End ( object sender, |
||
Application_EndRequest ( object sender, |
||
Application_Error ( object sender, |
||
Application_Start ( object sender, |
||
GetVaryByCustomString ( |
||
RegisterC1PageVaryByCustomStringProvider ( string providerId, string>.Func |
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, |
||
InitializeServices ( ) : void | ||
LogShutDownReason ( ) : void |
public static ApplicationStartInitialize ( bool displayDebugInfo = false ) : void | ||
displayDebugInfo | bool | |
리턴 | void |
public static Application_BeginRequest ( object sender, |
||
sender | object | |
e | ||
리턴 | void |
public static Application_End ( object sender, |
||
sender | object | |
e | ||
리턴 | void |
public static Application_EndRequest ( object sender, |
||
sender | object | |
e | ||
리턴 | void |
public static Application_Error ( object sender, |
||
sender | object | |
e | ||
리턴 | void |
public static Application_Start ( object sender, |
||
sender | object | |
e | ||
리턴 | void |
public static GetVaryByCustomString ( |
||
context | ||
custom | string | |
리턴 | string |
public static RegisterC1PageVaryByCustomStringProvider ( string providerId, string>.Func |
||
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 |