How to Use IronPdfEngine
IronPdfEngine is a gRPC server designed to manage various IronPDF operations, including creating, writing, editing, and reading PDFs. Built as a self-contained C# .NET application, IronPdfEngine operates independently, eliminating the need for the .NET runtime during execution.
Get started with IronPDF
Start using IronPDF in your project today with a free trial.
How to Use IronPdfEngine as a Remote Server
- Install the C# library to utilize IronPdfEngine
- Install the IronPdf.slim package from NuGet
- Utilize the IronPdfConnectionConfiguration class to configure the connection settings
- Use the IronPdfEngine to render HTML to PDF with an identical to Chrome renderer
IronPdf .NET and IronPdfEngine
IronPdf .NET does not require IronPdfEngine to run. IronPdfEngine is just an optional way to use IronPdf. By default, IronPdf for .NET will not use IronPdfEngine.
Please note
IronPdf .NET with Remote IronPdfEngine
The IronPdf.slim NuGet package is the only package needed to use IronPdf for .NET with Remote IronPdfEngine.
Please note
IronPdf
or IronPdf.Linux
, you may use IronPdf.slim
instead to reduce your application's size.Assuming that IronPdfEngine runs remotely at 123.456.7.8:33350
.
Please note
Install IronPdf using NuGet:
PM> Install-Package IronPdf
After installing IronPdf.slim
, you just need to tell IronPdf where IronPdfEngine is (please make sure that address is accessible, not blocked by firewall). Use the IronPdfConnectionConfiguration class to configure the connection settings. Add the below code to the initial stage of your application (or just before calling any IronPdf method).
Installation.ConnectToIronPdfHost(IronPdf.GrpcLayer.IronPdfConnectionConfiguration.RemoteServer("123.456.7.8:33350"));
Installation.ConnectToIronPdfHost(IronPdf.GrpcLayer.IronPdfConnectionConfiguration.RemoteServer("123.456.7.8:33350"));
Installation.ConnectToIronPdfHost(IronPdf.GrpcLayer.IronPdfConnectionConfiguration.RemoteServer("123.456.7.8:33350"))
Simple as that! After this, your application will be connected to Remote IronPdfEngine!