magicajax-0.3.0-source/Core/Web.config
(完整代码) 2KB<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="magicAjax"
type="MagicAjax.Configuration.MagicAjaxSectionHandler, MagicAjax"/>
</configSections>
<!-- MagicAjax configuration :
[Optional] scriptPath - Alternative path for "AjaxCallObject.js"
If omitted, the embedded "AjaxCallObject.js" file is used (default).
example: <magicAjax scriptPath="~/script" />
outputCompareMode - "HashCode" : Use String.GetHashCode() to find changed Html output
"MD5" : Use MD5 hashing to find changed Html output (slower and larger in size, but practically no collisions)
"FullHtml" : Use the complete Html output to find changes (for debugging purposes only)
Default is "HashCode"
tracing - "true" : When an AjaxCall is invoked a popup window displays the data that were sent
to the server and the data that the client received. Used to monitor the traffic of AjaxCalls.
"false" : tracing is disabled (Default).
pageStore/mode - "NoStore" : Doesn't store the page object, it is recreated for each AjaxCall
"Session" : Saves the page object in session, works only for "InProc" SessionState
"Cache" : Saves the page object in cache
Default is "NoStore"
pageStore/unloadStoredPage - "false" : if the page is stored (mode is "Session" or "Cache")
the page object is kept until session or cache expires
"true : An AjaxCall is invoked at the unload event of the
client's page for the server to drop the stored page object.
Default is "false"
pageStore/cacheTimeout - The time in minutes that the page will be kept in cache, if "Cache" is
selected for pageStore. Default is 5
pageStore/maxConcurrentPages - if the page is stored (mode is "Session" or "Cache") it defines
the maximum number of page objects that can refer to the same page. Default is 5.
pageStore/maxPagesLimitAlert - if it's true, an alert box is displayed when the maxConcurrentPages
limit is reached. Default is false -->
<magicAjax
outputCompareMode="HashCode"
tracing="false">
<pageStore
mode="NoStore"
unloadStoredPage="false"
cacheTimeout="5"
maxConcurrentPages="5"
maxPagesLimitAlert="false"
/>
</magicAjax>
<system.web>
<httpModules>
<add name="MagicAjax" type="MagicAjax.MagicAjaxModule, MagicAjax" />
</httpModules>
</system.web>
</configuration>
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。