https://github.com/clarius/cloudstorageaccount
Official public website for https://github.com/devlooped/CloudStorageAccount
https://github.com/clarius/cloudstorageaccount
Last synced: 5 months ago
JSON representation
Official public website for https://github.com/devlooped/CloudStorageAccount
- Host: GitHub
- URL: https://github.com/clarius/cloudstorageaccount
- Owner: clarius
- License: mit
- Created: 2022-04-24T00:25:14.000Z (over 4 years ago)
- Default Branch: gh-pages
- Last Pushed: 2025-02-08T05:24:26.000Z (over 1 year ago)
- Last Synced: 2025-03-01T17:42:42.082Z (over 1 year ago)
- Language: HTML
- Size: 68.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Changelog: changelog.html
- License: license.txt
Awesome Lists containing this project
README
 CloudStorageAccount
============
[](https://www.nuget.org/packages/Devlooped.CloudStorageAccount)
[](https://www.nuget.org/packages/Devlooped.CloudStorageAccount)
[](osmfeula.txt)
[](license.txt)
CloudStorageAccount for Azure Storage v12+.
## Open Source Maintenance Fee
To ensure the long-term sustainability of this project, users of this package who generate
revenue must pay an [Open Source Maintenance Fee](https://opensourcemaintenancefee.org).
While the source code is freely available under the terms of the [License](license.txt),
this package and other aspects of the project require [adherence to the Maintenance Fee](osmfeula.txt).
To pay the Maintenance Fee, [become a Sponsor](https://github.com/sponsors/devlooped) at the proper
OSMF tier. A single fee covers all of [Devlooped packages](https://www.nuget.org/profiles/Devlooped).
# Overview
The new unified Azure Storage and Tables client libraries do away with the
[CloudStorageAccount](https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.storage.cloudstorageaccount?view=azure-dotnet)
that was typically used. This makes migration a bit painful, as noted in:
* [Azure.Data.Tables](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/tables/Azure.Data.Tables/MigrationGuide.md) migration guide
* [Azure.Storage.Blobs](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/storage/Azure.Storage.Blobs/AzureStorageNetMigrationV12.md) migration guide
This package provides a (mostly) drop-in replacement, with source code brought (and updated)
from the [original location](https://github.com/Azure/azure-storage-net/blob/master/Lib/Common/CloudStorageAccount.cs).
Just replace the old namespace `Microsoft.Azure.Storage` with `Devlooped` and you're mostly done.
In addition to the legacy, backwards-compatible APIs so projects compile right away with this
package when upgrading to v12 client libraries, there are a few newer APIs that are more aligned
with the new APIs, such as:
* CloudStorageAccount.CreateBlobServiceClient (extension method)
* CloudStorageAccount.CreateQueueServiceClient (extension method)
* CloudStorageAccount.CreateTableServiceClient (extension method)
These make it more explicit that you're creating instances of the new service clients.
## Usage
```csharp
var account = CloudStorageAccount.DevelopmentStorageAccount;
var tableService = account.CreateTableServiceClient();
// legacy invocation works too: account.CreateCloudTableClient();
// Can also access the endpoints for each service:
Console.WriteLine(account.BlobEndpoint);
Console.WriteLine(account.QueueEndpoint);
Console.WriteLine(account.TableEndpoint);
```
## Dogfooding
[](https://pkg.kzu.app/index.json)
[](https://github.com/devlooped/CloudStorageAccount/actions)
We also produce CI packages from branches and pull requests so you can dogfood builds as quickly as they are produced.
The CI feed is `https://pkg.kzu.app/index.json`.
The versioning scheme for packages is:
- PR builds: *42.42.42-pr*`[NUMBER]`
- Branch builds: *42.42.42-*`[BRANCH]`.`[COMMITS]`
# Sponsors
[](https://github.com/clarius)
[](https://github.com/MFB-Technologies-Inc)
[](https://github.com/drivenet)
[](https://github.com/Keflon)
[](https://github.com/tbolon)
[](https://github.com/kfrancis)
[](https://github.com/unoplatform)
[](https://github.com/rbnswartz)
[](https://github.com/jfoshee)
[](https://github.com/Mrxx99)
[](https://github.com/eajhnsn1)
[](https://github.com/davidjenni)
[](https://github.com/Jonathan-Hickey)
[](https://github.com/akunzai)
[](https://github.com/KenBonny)
[](https://github.com/SimonCropp)
[](https://github.com/agileworks-eu)
[](https://github.com/arsdragonfly)
[](https://github.com/vezel-dev)
[](https://github.com/ChilliCream)
[](https://github.com/4OTC)
[](https://github.com/v-limo)
[](https://github.com/DominicSchell)
[](https://github.com/jwendl)
[](https://github.com/adalon)
[](https://github.com/Eule02)
[](https://github.com/torutek)
[](https://github.com/mccaffers)
[](https://github.com/sponsors/devlooped)
[Learn more about GitHub Sponsors](https://github.com/sponsors)