Devlooped.CloudStorageAccount.Source 1.0.2

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Devlooped.CloudStorageAccount.Source --version 1.0.2                
NuGet\Install-Package Devlooped.CloudStorageAccount.Source -Version 1.0.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Devlooped.CloudStorageAccount.Source" Version="1.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Devlooped.CloudStorageAccount.Source --version 1.0.2                
#r "nuget: Devlooped.CloudStorageAccount.Source, 1.0.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Devlooped.CloudStorageAccount.Source as a Cake Addin
#addin nuget:?package=Devlooped.CloudStorageAccount.Source&version=1.0.2

// Install Devlooped.CloudStorageAccount.Source as a Cake Tool
#tool nuget:?package=Devlooped.CloudStorageAccount.Source&version=1.0.2                

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);

Visibily

This source-only package provides all types as partial and without an explicit visibility. This allows you to decide whether you want to make the types a public part of your project's API surface or not. Should you decide to make types public, you can use the approach used to compile the binary version as a template:

namespace Devlooped;

public partial class BlobAccountExtensions { }

public partial class CloudStorageAccount { }

public partial class QueueAccountExtensions { }

public partial class StorageCredentials { }

public partial class TableAccountExtensions { }

Sponsors

Clarius Org Christian Findlay C. Augusto Proiete Kirill Osenkov MFB Technologies, Inc. SandRock Eric C Andy Gocke

Sponsor this project  

Learn more about GitHub Sponsors

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.3.0 75 10/22/2024
1.2.0 422 8/11/2023
1.0.2 300 1/20/2023
1.0.1 353 4/26/2022
1.0.1-beta 371 4/26/2022