CloudStorageSDK 1.0.1

dotnet add package CloudStorageSDK --version 1.0.1
                    
NuGet\Install-Package CloudStorageSDK -Version 1.0.1
                    
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="CloudStorageSDK" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CloudStorageSDK" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="CloudStorageSDK" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CloudStorageSDK --version 1.0.1
                    
#r "nuget: CloudStorageSDK, 1.0.1"
                    
#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.
#:package CloudStorageSDK@1.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CloudStorageSDK&version=1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=CloudStorageSDK&version=1.0.1
                    
Install as a Cake Tool

CloudStorageSDK CloudStorageSDK is a unified service that simplifies interactions with Azure Blob Storage, AWS S3, and Google Cloud Storage. It provides a consistent interface for uploading, downloading, and managing files across these cloud platforms.

Features Unified Interface: Seamlessly interact with Azure Blob Storage, AWS S3, and Google Cloud Storage using a consistent API. File Operations: Easily upload, download, and delete files across multiple cloud platforms. Cross-Platform Support: Compatible with .NET 6.0 and above. Installation To install CloudStorageSDK, use the NuGet Package Manager or the .NET CLI.

Using NuGet Package Manager:

Open the NuGet Package Manager in Visual Studio. Search for CloudStorageSDK. Click Install. Using .NET CLI:

dotnet add package CloudStorageSDK

Configuration Before using the SDK, configure your cloud storage settings.

Azure Blob Storage:

Connection String: Obtain your connection string from the Azure portal. Container Name: Specify the name of your Azure Blob Storage container. AWS S3:

Access Key ID: Your AWS access key ID. Secret Access Key: Your AWS secret access key. Bucket Name: The name of your S3 bucket. Google Cloud Storage:

Project ID: Your Google Cloud project ID. Bucket Name: The name of your Google Cloud Storage bucket. Credentials File: Path to your service account key file.

var storageService = new CloudStorageService( azureConnectionString: "YourAzureConnectionString", awsAccessKeyId: "YourAWSAccessKeyId", awsSecretAccessKey: "YourAWSSecretAccessKey", googleProjectId: "YourGoogleProjectId", googleCredentialsFile: "PathToYourGoogleCredentialsFile" );

// Upload to Azure Blob Storage await storageService.UploadFileAsync("azure-container-name", "local-file-path", "azure-blob-name");

// Upload to AWS S3 await storageService.UploadFileAsync("aws-bucket-name", "local-file-path", "aws-object-key");

// Upload to Google Cloud Storage await storageService.UploadFileAsync("google-bucket-name", "local-file-path", "google-object-name");

// Download from Azure Blob Storage await storageService.DownloadFileAsync("azure-container-name", "azure-blob-name", "local-file-path");

// Download from AWS S3 await storageService.DownloadFileAsync("aws-bucket-name", "aws-object-key", "local-file-path");

// Download from Google Cloud Storage await storageService.DownloadFileAsync("google-bucket-name", "google-object-name", "local-file-path");

// Delete from Azure Blob Storage await storageService.DeleteFileAsync("azure-container-name", "azure-blob-name");

// Delete from AWS S3 await storageService.DeleteFileAsync("aws-bucket-name", "aws-object-key");

// Delete from Google Cloud Storage await storageService.DeleteFileAsync("google-bucket-name", "google-object-name");

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows 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.0.1 172 3/17/2025
1.0.0 161 3/17/2025