You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Update solution to build on cmd line and VS2017, and hopefully in build pipeline.
* Fix versions
* Verify signing on .nupkg files only.
* Use Cosmos partitions by default, keyed by full sessionId.
* Partitioning off by default. Opt-in to mega-partitioning.
* Update Cosmos tests for wildcard partitioning.
* Prevent using 'id' for partition key. Update Readme.
* Fix versioning.
* More rebase cleanup. :/
NOTE: For the best scalability, it is recommended to configure your CosmosDB provider with "wildcard" partitioning. For update-compatibility purposes, this is not the default. Please read about
61
+
*partitionKeyPath* and *partitionNumUsedByProvider* below.
62
+
59
63
1.*cosmosDBEndPointSettingKey* - The appsetting key name which points to a CosmosDB end point
60
64
61
65
2.*cosmosDBAuthKeySettingKey* - The appsetting key name which points to a CosmosDB auth key
@@ -76,6 +80,6 @@ Information on contributing to this repo is in the [Contributing Guide](CONTRIBU
76
80
77
81
10.*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"
78
82
79
-
11.*partitionKey* - The partition key name of the collection
83
+
11.*partitionKeyPath* - The name of the key to use for logically partitioning the collection. This key name should be different from 'id' unless "wildcard" partitioning is being used.
80
84
81
-
12.*partitionNumUsedByProvider* - the number of partition can be used for sessionstate
85
+
12.*partitionNumUsedByProvider* - The number of partition can be used for sessionstate. This was designed with the thought that multiple Cosmos partitions would be an extra cost. CosmosDB as it stands today encourages as many diverse logical partitions as you can imagine, as more partitions allow for better horizontal scaling. Setting this to an integer value will effectively reduce the partition count to 32 or less, even if the specified value is much greater. This is a result of how session ID's were translated to partition ID's by this provider. ***It is now recommended to specify "\*" for this option if possible.*** This will reuse the full session ID for partitioning, allowing Cosmos maximum ability for horizontal scaling.
0 commit comments