#GroupDocs.Conversion .NET Samples
This sample solution demonstrate the usage of [GroupDocs.Conversion for .NET library]( http://groupdocs.com/dot-net/document-conversion-library).
##How-to install/run
- Download sample sources to any directory.
- Open "GroupDocs.Conversion for .NET Sample.sln" with Visual Studio
- Rebuild and run sample project
##Project details and configuration
###GroupDocs.Conversion for .NET Sample
The sample demonstrate the following file conversions:
- PDF to HTML
- DOC to PDF
- DOC to JPG
- DOC to PNG with custom conversion options
- DOC to BMP through PDF
###GroupDocs.Conversion.CustomInputDataHandler
This is an example of custom IInputDataHandler. It shows how to use Amazon S3 as file storage without using cache.
Configuration
- Open AmazonInputHandler.cs and change bucketName with your file input bucket name
private static string bucketName = ""; //TODO: Put your input bucketname here
- Open App.config and set your Amazon access and secret keys
<appSettings>
<add key="AWSAccessKey" value=""/>
<add key="AWSSecretKey" value="" />
</appSettings>
###GroupDocs.Conversion.CustomCacheDataHandler
This is an example of custom IInputDataHandler and ICacheDataHandler. It shows how to use Amazon S3 as file storage and cache storage.
Configuration
- Open AmazonInputHandler.cs and change bucketName with your file input bucket name
private static string bucketName = ""; //TODO: Put your input bucketname here
- Open AmazonCacheDataHandler.cs and set your cache files bucket name
private static string bucketName = ""; //TODO: Put your cache bucketname here
- Set your Amazon access and secret keys in App.config
<appSettings>
<add key="AWSAccessKey" value=""/>
<add key="AWSSecretKey" value="" />
</appSettings>
If you set a valid license please delete your cache.