https://github.com/kris701/blobsharp
A managed interface to communicate with Azure Blob Storage accounts
https://github.com/kris701/blobsharp
azure blob-storage csharp
Last synced: 3 months ago
JSON representation
A managed interface to communicate with Azure Blob Storage accounts
- Host: GitHub
- URL: https://github.com/kris701/blobsharp
- Owner: kris701
- License: mit
- Created: 2024-08-22T09:06:11.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-22T09:20:26.000Z (about 1 year ago)
- Last Synced: 2025-07-22T07:22:46.242Z (4 months ago)
- Topics: azure, blob-storage, csharp
- Language: C#
- Homepage:
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[](https://github.com/kris701/BlobSharp/actions/workflows/dotnet-desktop.yml)







# BlobSharp
BlobSharp is a simple managed interface to communicate with [Azure Blob Storage accounts](https://azure.microsoft.com/en-us/products/storage/blobs/?ef_id=_k_Cj0KCQjww5u2BhDeARIsALBuLnN_Sexqki1LbNjC2Ilf9sVSfM4b-3MUivbJlEJb3Rall4hkPDsFkVAaAsVpEALw_wcB_k_&OCID=AIDcmmeauvx05c_SEM__k_Cj0KCQjww5u2BhDeARIsALBuLnN_Sexqki1LbNjC2Ilf9sVSfM4b-3MUivbJlEJb3Rall4hkPDsFkVAaAsVpEALw_wcB_k_&gad_source=1&gclid=Cj0KCQjww5u2BhDeARIsALBuLnN_Sexqki1LbNjC2Ilf9sVSfM4b-3MUivbJlEJb3Rall4hkPDsFkVAaAsVpEALw_wcB).
You can download, upload, delete, etc files on your blob storage account with this package.
As an example, one can do the following to download a file from your blob storage:
```csharp
var client = new BlobStorageClient("<--Connection String Here-->");
using (var stream = await client.DownloadAsStreamAsync("somedir", "file"))
{
// Do something with the file.
}
```
The package is available on the [NuGet Package Manager](https://www.nuget.org/packages/BlobSharp/).