HiQPdf Next for .NET is a library that can be integrated into applications running on Azure App Service for Windows to create and process PDF documents.
You can create PDF documents, convert HTML, Word, Excel, RTF and Markdown documents to PDF, extract text and images from existing PDF documents, perform text search operations on PDF documents and convert PDF pages to images.
HiQPdf Next for .NET runs in Azure App Service 64-bit applications without requiring any installation or prior configuration of the deployment environment. The steps required to use the library in your own applications deployed to Azure App Service are detailed below.
The library targets .NET Standard 2.0 and is compatible with any .NET Core or .NET Framework application that supports this standard.
Create a new .NET project in Visual Studio and use the NuGet Package Manager to add a reference to the HiQPdf.Next.Windows NuGet metapackage which will install all the library components.
To install only specific components of the HiQPdf Next library you can add references to the corresponding NuGet packages. You can find more details about the available packages in the Getting Started on Windows documentation section.
After installing the package, add the using HiQPdf.Next; directive at the top of your source files to access the HiQPdf Next API.
Example code snippets and usage details are available in the Getting Started on Windows documentation section.
HTML to PDF conversion can be resource-intensive and may require significant CPU and memory depending on the complexity of the HTML content being processed.
The B1 plan (1 core, 1.75 GB RAM) is the minimum supported hosting option and may be used for basic or low-volume scenarios. For development and testing, we recommend at least a B2 plan (2 cores, 3.5 GB RAM).
For production environments, especially when processing complex or large documents, a Premium plan such as P1v3 (2 vCPUs, 8 GB RAM) or higher is strongly recommended. Premium plans provide the performance and reliability required for consistent PDF generation under load.
The Free and Shared plans are not suitable for running the converter.
Publish the application to Azure App Service on Windows.
At this point, everything should be configured and you can run your application. Alternatively, you can follow the same steps from this guide to build and publish our ASP.NET demo application to Azure App Service on Windows.