DotNetLibs.GoogleDrive 1.0.0.3

dotnet add package DotNetLibs.GoogleDrive --version 1.0.0.3
NuGet\Install-Package DotNetLibs.GoogleDrive -Version 1.0.0.3
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="DotNetLibs.GoogleDrive" Version="1.0.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DotNetLibs.GoogleDrive --version 1.0.0.3
#r "nuget: DotNetLibs.GoogleDrive, 1.0.0.3"
#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 DotNetLibs.GoogleDrive as a Cake Addin
#addin nuget:?package=DotNetLibs.GoogleDrive&version=1.0.0.3

// Install DotNetLibs.GoogleDrive as a Cake Tool
#tool nuget:?package=DotNetLibs.GoogleDrive&version=1.0.0.3

dot-net-libs

Azure blob storage

Use for use only nedd instance the object with the next structure

Instance in one class
AzureBlobStorageServiceImpl azureBlobStorageService = new AzureBlobStorageServiceImpl(new AzureBlobStorageSettingModel()
{
	ConnectionString = "xxxxxx", // this value you can found in your account of azure in your services
})
Using dependency inyection (In the Startup.cs)
services.AddTransient<AzureBlobStorageService, AzureBlobStorageServiceImpl>(x => new AzureBlobStorageServiceImpl(new AzureBlobStorageSettingModel()
{
    ConnectionString = "xxxxxx", // this value you can found in your account of azure in your services
}));

This library contains the nex methods:

/// <summary>
/// Upload or override existent blob file
/// </summary>
/// <param name="uploadBlob"></param>
/// <returns>url of blob file</returns>
string UploadBlob(UploadBlobModel uploadBlob);
/// <summary>
/// Remove blob file
/// </summary>
/// <param name="containerName">Principal path for blob files</param>
/// <param name="blobName">blob name</param>
void RemoveBlob(string containerName, string blobName);
UploadBlobModel
/// <summary>
/// Principal path for blob files
/// </summary>
[Required]
public string ContainerName { get; set; }
/// <summary>
/// Name of file that contains this extension. This name can be contains '/'
/// </summary>
[Required]
public string Name { get; set; }
/// <summary>
/// bites of blob file
/// </summary>
[Required]
public byte[] Blob { get; set; }

Note: the container name is the principal path of images this path only can contains one subrute (Examples): user-images documents name is the name of blob file this name can be contains subroutes (Examples): docoment.doc user12/document.doc images-pablo-12/profile.png

This library is based of your oficial documentation for more informatio you can access to: https://docs.microsoft.com/en-us/azure/storage/blobs/storage-quickstart-blobs-dotnet For more information you can access to next repository: https://github.com/Leningsv/dot-net-libs/tree/master/DotNetLibs/DotNetLibs.AzureBlobStorage

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.1 is compatible.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 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.0.3 556 9/4/2019