Songhay.Cloud.BlobStorage
[Nuget] is a commitment to WindowsAzure.Storage
[NuGet], building upon it to define repositories that turn a container of JSON files into a repository (of the “repository pattern”).
The AzureBlobContentRepository
class is a wrapper for BLOBs, featuring CloudBlob.DownloadToStreamAsync()
[docs].
The AzureBlobRepository
class is a wrapper for BLOBs that are serialized JSON that hydrate into the expected TEntity
.
The TaggedJObjectRepository
class is also a wrapper for BLOBs in a container but these objects hydrate into the general-purpose JObject
from Newtonsoft. The “tagged” JObject is arbitrary JSON that has one property that serves as a primitive, primary key. See the TaggedJObjectTest
suite as additional documentation.