Skip to content

clarius/CloudStorageAccount

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Icon CloudStorageAccount

Version Downloads License Build

CloudStorageAccount for Azure Storage v12+.

Overview

This project uses SponsorLink and may issue IDE-only warnings if no active sponsorship is detected.

The new unified Azure Storage and Tables client libraries do away with the CloudStorageAccount that was typically used. This makes migration a bit painful, as noted in:

This package provides a (mostly) drop-in replacement, with source code brought (and updated) from the original location. 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

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

CI Version Build

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.io/index.json.

The versioning scheme for packages is:

  • PR builds: 42.42.42-pr[NUMBER]
  • Branch builds: 42.42.42-[BRANCH].[COMMITS]

Sponsors

Clarius Org Kirill Osenkov MFB Technologies, Inc. Torutek DRIVE.NET, Inc. Keith Pickford Thomas Bolon Kori Francis Toni Wenzel Uno Platform Dan Siegel Reuben Swartz Jacob Foshee Eric Johnson Ix Technologies B.V. David JENNI Jonathan Charley Wu Jakob Tikjøb Andersen Seann Alexander Tino Hager Mark Seemann Ken Bonny Simon Cropp agileworks-eu sorahex Zheyu Shen Vezel ChilliCream 4OTC Vincent Limo

Sponsor this project  

Learn more about GitHub Sponsors