Reputation: 33
In order to keep the blob storage separated per user in a multiuser application, i was trying to create separate containers per user within the same storage account. I know it can hit a 500TB limit at some point, but thats for later.
I was thinking of using: ClaimsPrincipal.Current.FindFirst(ClaimTypes.NameIdentifier).Value as the name of the container but looks like its not allowed and violating the container naming conventions. Since i am using it to differentiate user specific data in sql tables i was thinking if using the same. But doesnt seem to work.
Any recommendations? Whats the cleanest way?
Upvotes: 0
Views: 1071
Reputation: 617
Are you saying you don't know the naming conventions? If not, then, as Emily suggested, you should update your question to show the example names that you're trying to use. However, if you don't know the naming conventions, please refer to the naming rules section in How to use Blob Storage.
Upvotes: 1