Skip to main content
net6.0net8.0

GroupDocs.Viewer.UI.Api.AzureBlob.Storage containing Microsoft Azure file-storage implementation that can be used with GroupDocs.Viewer.UI.Api see https://github.com/groupdocs-viewer/GroupDocs.Viewer-for-.NET-UI for more details.

Published
Feb 13, 2026
8mo ago
Total Downloads
7.3K
7,288

Install

dotnet add package GroupDocs.Viewer.UI.Api.AzureBlob.Storage --version 8.1.4
ProductVersions
.NET
net6.0net8.0

README

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.

Changes from Previous Version

No structural changes between v8.1.3 and v8.1.4.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.