GroupDocs.Viewer.UI.Api.AzureBlob.Storage 8.1.1

Prefix Reserved
dotnet add package GroupDocs.Viewer.UI.Api.AzureBlob.Storage --version 8.1.1
                    
NuGet\Install-Package GroupDocs.Viewer.UI.Api.AzureBlob.Storage -Version 8.1.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="GroupDocs.Viewer.UI.Api.AzureBlob.Storage" Version="8.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="GroupDocs.Viewer.UI.Api.AzureBlob.Storage" Version="8.1.1" />
                    
Directory.Packages.props
<PackageReference Include="GroupDocs.Viewer.UI.Api.AzureBlob.Storage" />
                    
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 GroupDocs.Viewer.UI.Api.AzureBlob.Storage --version 8.1.1
                    
#r "nuget: GroupDocs.Viewer.UI.Api.AzureBlob.Storage, 8.1.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 GroupDocs.Viewer.UI.Api.AzureBlob.Storage@8.1.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=GroupDocs.Viewer.UI.Api.AzureBlob.Storage&version=8.1.1
                    
Install as a Cake Addin
#tool nuget:?package=GroupDocs.Viewer.UI.Api.AzureBlob.Storage&version=8.1.1
                    
Install as a Cake Tool

GroupDocs.Viewer.UI.Api.AzureBlob.Storage

GroupDocs.Viewer.UI.Api.AzureBlob.Storage is a Microsoft Azure Blob Storage implementation that can be used with GroupDocs.Viewer.UI.Api. It provides seamless integration with Azure Blob Storage for storing and retrieving documents in your GroupDocs.Viewer.UI application.

Installation

To use Azure Blob Storage in your ASP.NET Core project:

  1. Add the required package to your project:
dotnet add package GroupDocs.Viewer.UI.Api.AzureBlob.Storage
  1. Configure Azure Blob Storage in your Startup class:
using Azure.Storage.Blobs;

var builder = WebApplication.CreateBuilder(args);

builder.Services
    .AddGroupDocsViewerUI();

builder.Services
    .AddControllers()
    .AddGroupDocsViewerSelfHostApi()
    .AddAzureBlobStorage(options =>
    {
        options.AccountName = "your-storage-account-name";
        options.AccountKey = "your-storage-account-key";
        options.ContainerName = "your-container-name";
        options.ClientOptions = new BlobClientOptions
        {
            // Configure additional Azure Blob client settings if needed
        };
    });

var app = builder.Build();

app
    .UseRouting()
    .UseEndpoints(endpoints =>
    {
        endpoints.MapGroupDocsViewerUI(options =>
        {
            options.UIPath = "/viewer";
            options.ApiEndpoint = "/viewer-api";
        });
        endpoints.MapGroupDocsViewerApi(options =>
        {
            options.ApiPath = "/viewer-api";
        });
    });

await app.RunAsync();

Configuration Options

The Azure Blob Storage implementation supports the following configuration options:

  • AccountName (Required): The name of your Azure Storage account.
  • AccountKey (Required): The access key for your Azure Storage account.
  • ContainerName (Required): The name of the blob container in your storage account.
  • ClientOptions (Optional): Additional configuration for the Azure Blob client.

Azure Storage Connection String

Alternatively, you can use a connection string instead of separate account name and key:

options.ConnectionString = "DefaultEndpointsProtocol=https;AccountName=your-storage-account-name;AccountKey=your-storage-account-key;EndpointSuffix=core.windows.net";

License

This project is licensed under the MIT License - see the LICENSE.txt file for details.

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 is compatible.  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
8.1.1 17 9/21/2025
8.0.7 155 5/23/2025
8.0.6 176 5/5/2025
8.0.5 190 4/23/2025
8.0.4 192 4/22/2025
8.0.3 152 4/4/2025
8.0.2 143 2/6/2025
8.0.1 151 12/20/2024
8.0.0 143 12/16/2024
6.0.6 153 12/2/2024
6.0.4 168 9/30/2024
6.0.3 162 6/11/2024
6.0.2 731 6/29/2023
6.0.1 667 6/29/2023
6.0.0 670 12/8/2022