GroupDocs.Viewer.AmazonS3Storage 18.8.0

GroupDocs.Viewer for .NET AmazonS3

Amazon S3 file storage for GroupDocs.Viewer for .NET which allows you to keep files and cache in the cloud.

Install-Package GroupDocs.Viewer.AmazonS3Storage -Version 18.8.0
dotnet add package GroupDocs.Viewer.AmazonS3Storage --version 18.8.0
<PackageReference Include="GroupDocs.Viewer.AmazonS3Storage" Version="18.8.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GroupDocs.Viewer.AmazonS3Storage --version 18.8.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Configuration

If you're hosting your project inside EC2 instance IAM access keys already exist inside instance via environment variables.
Please check AWS Access Keys best practices article for more
information about keeping your access keys secure.

For the test purposes you can add IAM access keys to your AppSettings in app.config or web.config.
(Do not commit your access keys to the source control).

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <appSettings>
    <add key="AWSAccessKey" value="***"/>
    <add key="AWSSecretKey" value="***"/>
    <add key="AWSRegion" value="***" />
  </appSettings>
</configuration>

How to use

var client = new AmazonS3Client();
var bucket = "my-bucket";

var storage = new AmazonS3Storage(client, bucket);
var viewer = new ViewerHtmlHandler(storage);

var pages = viewer.GetPages("document.docx");

Configuration

If you're hosting your project inside EC2 instance IAM access keys already exist inside instance via environment variables.
Please check AWS Access Keys best practices article for more
information about keeping your access keys secure.

For the test purposes you can add IAM access keys to your AppSettings in app.config or web.config.
(Do not commit your access keys to the source control).

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <appSettings>
    <add key="AWSAccessKey" value="***"/>
    <add key="AWSSecretKey" value="***"/>
    <add key="AWSRegion" value="***" />
  </appSettings>
</configuration>

How to use

var client = new AmazonS3Client();
var bucket = "my-bucket";

var storage = new AmazonS3Storage(client, bucket);
var viewer = new ViewerHtmlHandler(storage);

var pages = viewer.GetPages("document.docx");

Release Notes

This is first public release.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
18.8.0 148 8/28/2018