HTML Rendering & Conversion .NET Cloud REST API
Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Free Trial
This cloud SDK assists to develop cloud-based HTML page rendering, processing, translation & conversion apps in C#, ASP.NET & other .NET languages via REST API.
HTML Processing Features
- Fetch the HTML page along with its resources as a ZIP archive by providing the page URL.
- Based on page URL, retrieve all images of an HTML page as a ZIP package.
- Load data from a local file to populate the HTML document template.
- Use the request body to populate the HTML document template.
- Convert HTML page to numerous other file formats.
HTML, XHTML, MHTML, MD (Markdown)
Save HTML As
Fixed Layout: PDF, XPS
Images: TIFF, JPEG, PNG, BMP
eBook: EPUB
Get Started
You do not need to install anything to get started with Aspose.HTML Cloud SDK for .NET. Just create an account at Aspose for Cloud and get your application information.
Simply execute Install-Package Aspose.HTML-Cloud
from the Package Manager Console in Visual Studio to fetch & reference Aspose.HTML assembly in your project. If you already have Aspose.HTML Cloud SDK for .NET and want to upgrade it, please execute Update-Package Aspose.HTML-Cloud
to get the latest version.
Please check the GitHub Repository for common usage scenarios.
Convert HTML
to PDF
Document via C# Code
// for complete examples, please visit https://github.com/aspose-html-cloud/aspose-html-cloud-dotnet
// Get Client Id and Client Secret from https://dashboard.aspose.cloud
string MyClientId = "My-Client-Id";
string MyClientSecret = "My-Client-Secret";
// Create instance of the API
var apiInstance = new HtmlApi(clientId: MyClientId, clientSecret: MyClientSecret);
// Create converter by ConverterBuilder
ConverterBuilder convHtmlPdf = new ConverterBuilder()
.FromLocalFile("D://sample-file.html")
.To(new PDFConversionOptions())
.SaveToLocal("Converted");
// Convert html page to pdf
ConversionResult result = apiInstance.Convert(convHtmlPdf);
Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Free Trial