GroupDocs.Viewer.AmazonS3Storage
18.8.0
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" />
paket add GroupDocs.Viewer.AmazonS3Storage --version 18.8.0
#r "nuget: GroupDocs.Viewer.AmazonS3Storage, 18.8.0"
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.
Dependencies
-
- AWSSDK.Core (>= 3.3.25)
- AWSSDK.S3 (>= 3.3.21)
- GroupDocs.Viewer (>= 18.8.1)
Used By
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version History
Version | Downloads | Last updated |
---|