Skip to content
This repository has been archived by the owner on Oct 28, 2023. It is now read-only.

Add new BlobOptimisticDataStore constructor #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gplwhite
Copy link

This allows customisation of the BlobContainerClient, such as specifying a managed identity credential.

var blobServiceUri = new Uri("https://snowmaker.blob.core.windows.net/datastore");
var blobContainer = new BlobContainerClient(blobServiceUri, new DefaultAzureCredential(), new BlobClientOptions() { Retry = { MaxRetries = 5 } });
var dataStore = new BlobOptimisticDataStore(blobContainer);

The existing connectionString based constructor remains as an overload.

…d. This allows customisation of the BlobContainerClient, such as specifying a managed identity credential.
@endintiers
Copy link

Works on my machine (tm) - I actually like the simplicity of just optionally passing the BlobContainer

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants