Aspose.HTML-Cloud 21.6.0

.NET Standard 2.0
There is a newer version of this package available.
See the version list below for details.
dotnet add package Aspose.HTML-Cloud --version 21.6.0
NuGet\Install-Package Aspose.HTML-Cloud -Version 21.6.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="Aspose.HTML-Cloud" Version="21.6.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.HTML-Cloud --version 21.6.0
#r "nuget: Aspose.HTML-Cloud, 21.6.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Aspose.HTML-Cloud as a Cake Addin
#addin nuget:?package=Aspose.HTML-Cloud&version=21.6.0

// Install Aspose.HTML-Cloud as a Cake Tool
#tool nuget:?package=Aspose.HTML-Cloud&version=21.6.0

HTML Rendering & Conversion .NET Cloud REST API

Version 21.6 Nuget GitHub

banner

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.

Read & Write HTML Formats

HTML, XHTML, MHTML, MD (Markdown)

Save HTML As

Fixed Layout: PDF, XPS
Images: TIFF, JPEG, PNG, BMP

Read HTML Formats

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

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
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
22.10.1 140 10/13/2022
22.9.2 145 9/22/2022
21.6.0 460 6/29/2021
21.5.0 514 5/31/2021
20.12.0 506 1/21/2021
20.11.0 359 12/21/2020
20.5.0 605 5/26/2020
19.11.0 498 12/5/2019
19.10.1 405 11/6/2019
19.10.0 478 10/30/2019
19.9.3 403 10/23/2019
19.9.2 400 10/17/2019
19.9.1 443 10/15/2019
19.9.0 396 10/8/2019
19.8.1 461 9/9/2019
19.8.0 462 8/29/2019
19.7.0 476 8/20/2019
19.5.0 521 7/3/2019
19.1.0 762 2/12/2019
18.12.0 766 1/21/2019
18.9.0 710 10/5/2018
18.8.0 659 9/18/2018
18.7.0 728 8/6/2018
18.5.0 836 6/22/2018
18.4.0 927 5/16/2018
18.3.0 731 4/17/2018
18.2.0 842 3/12/2018
18.1.0 822 2/6/2018
17.10.0 809 12/27/2017

- Previous SDK versions provided quite poor information about service-side errors; now SDK API exceptions are more informative (Extended handling of underlying cloud API errors).