Update version in nuget config transforms (#85)
* Update the assembly version used in the nuget config transforms. * Update 1.1 ==> 2.0 references in documentation as well.
This commit is contained in:
Родитель
8e980e8f0e
Коммит
e44995db93
|
@ -16,7 +16,7 @@ Information on contributing to this repo is in the [Contributing Guide](CONTRIBU
|
|||
<modules>
|
||||
<!-- remove the existing Session state module -->
|
||||
<remove name="Session" />
|
||||
<add name="Session" preCondition="integratedMode,managedHandler" type="Microsoft.AspNet.SessionState.SessionStateModuleAsync, Microsoft.AspNet.SessionState.SessionStateModule, Version=1.1.0.0, Culture=neutral" />
|
||||
<add name="Session" preCondition="integratedMode,managedHandler" type="Microsoft.AspNet.SessionState.SessionStateModuleAsync, Microsoft.AspNet.SessionState.SessionStateModule, Version=2.0.0.0, Culture=neutral" />
|
||||
</modules>
|
||||
</system.webServer>
|
||||
```
|
||||
|
|
|
@ -10,7 +10,7 @@ Then, register your new provider like so:
|
|||
<add name="CosmosDBSessionStateProviderAsync" cosmosDBEndPointSettingKey="cosmosDBEndPointSetting" cosmosDBAuthKeySettingKey="cosmosDBAuthKeySetting"
|
||||
databaseId="[DataBaseId]" collectionId="[CollectionId]" offerThroughput="5000" connectionMode="Direct" requestTimeout="5" skipKeepAliveWhenUnused="false"
|
||||
maxConnectionLimit="50" maxRetryAttemptsOnThrottledRequests="10" maxRetryWaitTimeInSeconds="10" consistencyLevel="Session" preferredLocations=""
|
||||
type="Microsoft.AspNet.SessionState.CosmosDBSessionStateProviderAsync, Microsoft.AspNet.SessionState.CosmosDBSessionStateProviderAsync, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
|
||||
type="Microsoft.AspNet.SessionState.CosmosDBSessionStateProviderAsync, Microsoft.AspNet.SessionState.CosmosDBSessionStateProviderAsync, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
|
||||
</providers>
|
||||
</sessionState>
|
||||
```
|
||||
|
|
|
@ -8,7 +8,7 @@ Before you can specify one of these custom providers. You need to remove the exi
|
|||
<modules>
|
||||
<!-- remove the existing Session state module -->
|
||||
<remove name="Session" />
|
||||
<add name="Session" preCondition="integratedMode,managedHandler" type="Microsoft.AspNet.SessionState.SessionStateModuleAsync, Microsoft.AspNet.SessionState.SessionStateModule, Version=1.1.0.0, Culture=neutral" />
|
||||
<add name="Session" preCondition="integratedMode,managedHandler" type="Microsoft.AspNet.SessionState.SessionStateModuleAsync, Microsoft.AspNet.SessionState.SessionStateModule, Version=2.0.0.0, Culture=neutral" />
|
||||
</modules>
|
||||
</system.webServer>
|
||||
```
|
||||
|
|
|
@ -10,7 +10,7 @@ Then, register your new provider like so:
|
|||
<add name="SqlSessionStateProviderAsync" connectionStringName="DefaultConnection" sessionTableName="[string]"
|
||||
repositoryType="[SqlServer|InMemory|InMemoryDurable|FrameworkCompat]"
|
||||
maxRetryNumber="[int]" retryInterval="[int]" skipKeepAliveWhenUnused="false"
|
||||
type="Microsoft.AspNet.SessionState.SqlSessionStateProviderAsync, Microsoft.AspNet.SessionState.SqlSessionStateProviderAsync, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
|
||||
type="Microsoft.AspNet.SessionState.SqlSessionStateProviderAsync, Microsoft.AspNet.SessionState.SqlSessionStateProviderAsync, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
|
||||
</providers>
|
||||
</sessionState>
|
||||
```
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
-->
|
||||
<add name="CosmosDBSessionStateProviderAsync" cosmosDBEndPointSettingKey="cosmosDBEndPointSetting" cosmosDBAuthKeySettingKey="cosmosDBAuthKeySetting" databaseId="[DataBaseId]" containerId="[ContainerId]" offerThroughput="5000"
|
||||
connectionMode="Direct" requestTimeout="5" maxConnectionLimit="50" maxRetryAttemptsOnThrottledRequests="10" maxRetryWaitTimeInSeconds="10" preferredLocations=""
|
||||
type="Microsoft.AspNet.SessionState.CosmosDBSessionStateProviderAsync, Microsoft.AspNet.SessionState.CosmosDBSessionStateProviderAsync, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
|
||||
type="Microsoft.AspNet.SessionState.CosmosDBSessionStateProviderAsync, Microsoft.AspNet.SessionState.CosmosDBSessionStateProviderAsync, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
|
||||
xdt:Transform="InsertIfMissing" />
|
||||
</providers>
|
||||
</sessionState>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
mode="Custom" customProvider="CosmosDBSessionStateProviderAsync" xdt:Transform="Remove">
|
||||
<providers>
|
||||
<add name="CosmosDBSessionStateProviderAsync"
|
||||
type="Microsoft.AspNet.SessionState.CosmosDBSessionStateProviderAsync, Microsoft.AspNet.SessionState.CosmosDBSessionStateProviderAsync, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
|
||||
type="Microsoft.AspNet.SessionState.CosmosDBSessionStateProviderAsync, Microsoft.AspNet.SessionState.CosmosDBSessionStateProviderAsync, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
|
||||
xdt:Transform="Remove" xdt:Locator="Match(type)" />
|
||||
</providers>
|
||||
</sessionState>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<modules>
|
||||
<remove name="Session" xdt:Transform="InsertIfMissing" xdt:Locator="Match(name)" />
|
||||
<add name="Session"
|
||||
type="Microsoft.AspNet.SessionState.SessionStateModuleAsync, Microsoft.AspNet.SessionState.SessionStateModule, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
|
||||
type="Microsoft.AspNet.SessionState.SessionStateModuleAsync, Microsoft.AspNet.SessionState.SessionStateModule, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
|
||||
preCondition="integratedMode,managedHandler" xdt:Transform="Insert" />
|
||||
</modules>
|
||||
</system.webServer>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<modules>
|
||||
<remove name="Session" xdt:Transform="Remove" xdt:Locator="Match(name)" />
|
||||
<add name="Session"
|
||||
type="Microsoft.AspNet.SessionState.SessionStateModuleAsync, Microsoft.AspNet.SessionState.SessionStateModule, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
|
||||
type="Microsoft.AspNet.SessionState.SessionStateModuleAsync, Microsoft.AspNet.SessionState.SessionStateModule, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
|
||||
preCondition="integratedMode" xdt:Transform="Remove" xdt:Locator="Match(type)" />
|
||||
</modules>
|
||||
</system.webServer>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
retryInterval = [integer] intervel(milliseconds) between retries
|
||||
-->
|
||||
<add name="SqlSessionStateProviderAsync" connectionStringName="DefaultConnection" repositoryType="SqlServer"
|
||||
type="Microsoft.AspNet.SessionState.SqlSessionStateProviderAsync, Microsoft.AspNet.SessionState.SqlSessionStateProviderAsync, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
|
||||
type="Microsoft.AspNet.SessionState.SqlSessionStateProviderAsync, Microsoft.AspNet.SessionState.SqlSessionStateProviderAsync, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
|
||||
xdt:Transform="InsertIfMissing" />
|
||||
</providers>
|
||||
</sessionState>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
mode="Custom" customProvider="SqlSessionStateAsyncProvider" xdt:Transform="Remove">
|
||||
<providers>
|
||||
<add name="SqlSessionStateAsyncProvider" connectionStringName="DefaultConnection"
|
||||
type="Microsoft.AspNet.SessionState.SqlSessionStateAsyncProvider, Microsoft.AspNet.SessionState.SqlSessionStateAsyncProvider, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
|
||||
type="Microsoft.AspNet.SessionState.SqlSessionStateAsyncProvider, Microsoft.AspNet.SessionState.SqlSessionStateAsyncProvider, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
|
||||
xdt:Transform="Remove" xdt:Locator="Match(type)" />
|
||||
</providers>
|
||||
</sessionState>
|
||||
|
|
Загрузка…
Ссылка в новой задаче