Skip to content

Commit 9cfc913

Browse files
Update config transform doc/comment to include skipKeepAliveWhenUnused. (#89)
1 parent 59159c6 commit 9cfc913

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/packages/CosmosDBSessionStateProviderAsync.nupkg/content/Net462/web.config.install.xdt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
maxRetryWaitTimeInSeconds: the maximum retry time in seconds for the Azure DocumentDB database service.
3232
consistencyLevel: The 'ConsistencyLevel' to use with the CosmosClient. Default is not-specified, leaving the choice to Cosmos SDK. (The current SDK default is 'Session'.)
3333
preferredLocations: sets the preferred locations(regions) for geo-replicated database accounts in the Azure DocumentDB database service. Use ';' to split multiple locations. e.g. "East US;South Central US;North Europe"
34+
skipKeepAliveWhenUnused: Determines whether requests that don't touch or look at session state take the time to update the sliding expiration or not.
3435
-->
3536
<add name="CosmosDBSessionStateProviderAsync" cosmosDBEndPointSettingKey="cosmosDBEndPointSetting" cosmosDBAuthKeySettingKey="cosmosDBAuthKeySetting" databaseId="[DataBaseId]" containerId="[ContainerId]" offerThroughput="5000"
3637
connectionMode="Direct" requestTimeout="5" maxConnectionLimit="50" maxRetryAttemptsOnThrottledRequests="10" maxRetryWaitTimeInSeconds="10" preferredLocations=""

src/packages/SqlSessionStateProviderAsync.nupkg/content/Net462/web.config.install.xdt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
- for compat reasons, default is 'FrameworkCompat'
1717
maxRetryNumber = [integer] the number of retry when DB operation fails
1818
retryInterval = [integer] intervel(milliseconds) between retries
19+
skipKeepAliveWhenUnused = Determines whether requests that don't touch or look at session state take the time to update the sliding expiration or not.
1920
-->
2021
<add name="SqlSessionStateProviderAsync" connectionStringName="DefaultConnection" repositoryType="SqlServer"
2122
type="Microsoft.AspNet.SessionState.SqlSessionStateProviderAsync, Microsoft.AspNet.SessionState.SqlSessionStateProviderAsync, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"

0 commit comments

Comments
 (0)