Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 752 Bytes

Stores_StorageNet.md

File metadata and controls

19 lines (11 loc) · 752 Bytes

Storage.Net Integration

Config.Net can implicitly read configuration from any provider supported by storage.net library which provides abstracted access to many storage providers.

Blobs

Config.Net can be configured to use blob storage from Storage.Net as key-value storage. In this case every setting is treated as a separate blob, for example you can utilise Azure Blob Storage as a backing storage by setting up your config container in the following way:

IMySettings settings = new ConfigurationBuilder<IMySettings>()
   .UseStorageNetBlobs(blobs)
   .Build();

which when writing 2 settings testkey1 and testkey2 will look like:

Storagenet Azureblob