store asp.net session state in azure documentdb
i want store asp.net session state in azure documentdb.
I remember there was a special store provider for appfabric cache to store session state (configured in web.config), it's also possible with sql server. however, in documrntdb you can't do this, if i use documrntdb as my main db and im using an adhoc loadbalancer it will be great to store the asp.net session state in documrntdb.
We have recently worked with the ASP.NET team to update the ASP.NET Session State Provider for Cosmos DB. This provider fixed a major limitation in only allowing for 32 logical partitions which severely limited it’s ability to scale to large numbers of users.
Customers are welcome to try this updated provider for regular ASP.NET as well as the ASP.NET provider for .NET Core.
I get following error when assigning values to Session variable although I have mentioned partition Key as "pKey". What should be the value of Partition Key?
Error: PartitionKey value must be supplied for this operation.
[InvalidOperationException: PartitionKey value must be supplied for this operation.]
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60
Thank you very much, i highly appreciate your support and dedication!
I'm surprised I can't find a session state provider out there already for cosmos db.