Jump to: navigation, search

Changes


View Cache

775 bytes added, 10:19, 17 August 2017
</syntaxhighlight>
[[Category:Installing|View Cache]][[Category:Web service|View Cache]]
=== Initialization / Update of View Cache ===
string GetViewStateInformation(string appName, string contextName, string authentication);
</syntaxhighlight>
 
 
To call this in a web browser, one can access
<syntaxhighlight lang="html4strict">
https://ContentServerAddress/ContentServiceName/GetViewStateInformation/AppName/ContextName/333b99c9-233d-41d6-848c-81fe0b13a537
</syntaxhighlight>
to trigger a update. Please replace ContentServerAddress, ContentServiceName, AppName and ContextName with actual service configs.
 
Once the view cache is ready, the response should say something like "Cache State <<ONLINE>>"
=== TriggerViewStateUpdate ===
bool TriggerViewStateRefresh(string appName, string contextName, string authentication);
</syntaxhighlight>
 
 
To call this in a web browser, one can access
<syntaxhighlight lang="html4strict">
https://ContentServerAddress/ContentServiceName/TriggerViewStateUpdate/AppName/ContextName/333b99c9-233d-41d6-848c-81fe0b13a537
</syntaxhighlight>
to trigger a update. Please replace ContentServerAddress, ContentServiceName, AppName and ContextName with actual service configs.
=== TestViewState===
* [http://weblogs.asp.net/owscott/why-is-the-iis-default-app-pool-recycle-set-to-1740-minutes Why is the IIS default app pool recycle set to 1740 minutes?]
[[Category:Installing|View Cache]][[Category:Web service|View Cache]]