VOOZH about

URL: https://www.nuget.org/packages/GroupDocs.Viewer.UI.Api.AwsS3.Storage

⇱ NuGet Gallery | GroupDocs.Viewer.UI.Api.AwsS3.Storage 26.4.0




👁 Image
GroupDocs.Viewer.UI.Api.AwsS3.Storage 26.4.0

Prefix Reserved
dotnet add package GroupDocs.Viewer.UI.Api.AwsS3.Storage --version 26.4.0
 
 
NuGet\Install-Package GroupDocs.Viewer.UI.Api.AwsS3.Storage -Version 26.4.0
 
 
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.AwsS3.Storage" Version="26.4.0" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="GroupDocs.Viewer.UI.Api.AwsS3.Storage" Version="26.4.0" />
 
Directory.Packages.props
<PackageReference Include="GroupDocs.Viewer.UI.Api.AwsS3.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.AwsS3.Storage --version 26.4.0
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: GroupDocs.Viewer.UI.Api.AwsS3.Storage, 26.4.0"
 
 
#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.AwsS3.Storage@26.4.0
 
 
#: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.AwsS3.Storage&version=26.4.0
 
Install as a Cake Addin
#tool nuget:?package=GroupDocs.Viewer.UI.Api.AwsS3.Storage&version=26.4.0
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

GroupDocs.Viewer.UI.Api.AwsS3.Storage

GroupDocs.Viewer.UI.Api.AwsS3.Storage is an Amazon S3 file storage implementation that can be used with GroupDocs.Viewer.UI.Api. It provides seamless integration with AWS S3 for storing and retrieving documents in your GroupDocs.Viewer.UI application.

Installation

To use AWS S3 storage in your ASP.NET Core project:

  1. Add the required package to your project:
dotnet add package GroupDocs.Viewer.UI.Api.AwsS3.Storage
  1. Configure AWS S3 storage in your Startup class:
using Amazon.S3;

var builder = WebApplication.CreateBuilder(args);

builder.Services
 .AddGroupDocsViewerUI();

builder.Services
 .AddControllers()
 .AddGroupDocsViewerSelfHostApi()
 .AddAwsS3Storage(options =>
 {
 options.Region = "us-east-1"; // AWS region
 options.BucketName = "your-bucket-name";
 options.AccessKey = "your-access-key"; // Optional if using AWS credentials
 options.SecretKey = "your-secret-key"; // Optional if using AWS credentials
 options.S3Config = new AmazonS3Config
 {
 // Configure additional S3 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 AWS S3 storage implementation supports the following configuration options:

  • Region (Required): The AWS region where your S3 bucket is located (e.g., "us-east-1", "eu-west-1").
  • BucketName (Required): The name of your S3 bucket.
  • AccessKey (Optional): AWS access key. If not provided, the AWS SDK will use the default credential provider chain.
  • SecretKey (Optional): AWS secret key. If not provided, the AWS SDK will use the default credential provider chain.
  • S3Config (Optional): Additional configuration for the Amazon S3 client.

AWS Credentials

You can provide AWS credentials in several ways:

  1. Explicit Configuration:

    options.AccessKey = "your-access-key";
    options.SecretKey = "your-secret-key";
    
  2. Environment Variables:

    • AWS_ACCESS_KEY_ID
    • AWS_SECRET_ACCESS_KEY
  3. AWS Credentials File:

    • Located at ~/.aws/credentials (Linux/Mac) or %UserProfile%\.aws\credentials (Windows)
  4. Instance Profile (when running on AWS EC2)

License

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

Product Versions Compatible and additional computed target framework versions.
.NET net6.0 net6.0 is compatible.  net6.0-android net6.0-android was computed.  net6.0-ios net6.0-ios was computed.  net6.0-maccatalyst net6.0-maccatalyst was computed.  net6.0-macos net6.0-macos was computed.  net6.0-tvos net6.0-tvos was computed.  net6.0-windows net6.0-windows was computed.  net7.0 net7.0 was computed.  net7.0-android net7.0-android was computed.  net7.0-ios net7.0-ios was computed.  net7.0-maccatalyst net7.0-maccatalyst was computed.  net7.0-macos net7.0-macos was computed.  net7.0-tvos net7.0-tvos was computed.  net7.0-windows net7.0-windows was computed.  net8.0 net8.0 is compatible.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 is compatible.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows 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
26.4.0 106 4/29/2026
26.3.0 130 3/4/2026
8.1.5 144 2/19/2026
8.1.4 125 2/13/2026
8.1.3 125 2/11/2026
8.1.2 413 11/17/2025
8.1.1 298 9/21/2025
8.0.7 261 5/23/2025
8.0.6 265 5/5/2025
8.0.5 271 4/23/2025
8.0.4 289 4/22/2025
8.0.3 252 4/4/2025
8.0.2 241 2/6/2025
8.0.1 247 12/20/2024
8.0.0 238 12/16/2024
6.0.4 233 9/30/2024
6.0.3 273 6/11/2024
6.0.2 715 6/29/2023
6.0.1 674 6/29/2023
6.0.0 666 12/8/2022