![]() |
VOOZH | about |
dotnet add package GeeksCoreLibrary.Modules.GclConverters.EvoPdf --version 5.3.2508.1
NuGet\Install-Package GeeksCoreLibrary.Modules.GclConverters.EvoPdf -Version 5.3.2508.1
<PackageReference Include="GeeksCoreLibrary.Modules.GclConverters.EvoPdf" Version="5.3.2508.1" />
<PackageVersion Include="GeeksCoreLibrary.Modules.GclConverters.EvoPdf" Version="5.3.2508.1" />Directory.Packages.props
<PackageReference Include="GeeksCoreLibrary.Modules.GclConverters.EvoPdf" />Project file
paket add GeeksCoreLibrary.Modules.GclConverters.EvoPdf --version 5.3.2508.1
#r "nuget: GeeksCoreLibrary.Modules.GclConverters.EvoPdf, 5.3.2508.1"
#:package GeeksCoreLibrary.Modules.GclConverters.EvoPdf@5.3.2508.1
#addin nuget:?package=GeeksCoreLibrary.Modules.GclConverters.EvoPdf&version=5.3.2508.1Install as a Cake Addin
#tool nuget:?package=GeeksCoreLibrary.Modules.GclConverters.EvoPdf&version=5.3.2508.1Install as a Cake Tool
The Geeks Core Library has functionality for converting HTML to PDF files. This functionality can be used by injecting IHtmlToPdfConverterService into your class.
The default implementation in the GCL (HtmlToPdfConverterService) always returns null from the ConvertHtmlStringToPdfAsync method. This is because the GCL doesn't include any PDF converter dependencies. The default implementation is there to show how to use the IHtmlToPdfConverterService interface and to load HTML to PDF conversion settings from the database. The current library is an implementation of the IHtmlToPdfConverterService interface that uses the EvoPdf library to convert HTML to PDF.
This package depends on EvoPdf.Chromium package. This is a paid library, so it's not included in the NuGet package of the GCL. You have to add a reference to it in your own project. If you don't, you'll get an exception when you try to use the IHtmlToPdfConverterService. If you don't want to use Evo PDF, you can create your own implementation of IHtmlToPdfConverterService and use a different library there.
If you do want to use Evo PDF, you need to add a reference to EvoPdf.Chromium.Windows and/or EvoPdf.Chromium.Linux, depending on which OS your application will run. It's also possible to load the correct package dynamically, based on the OS. That can be done by adding the following to your .csproj file:
<ItemGroup Condition="'$(RuntimeIdentifier)' == '' AND $([MSBuild]::IsOsPlatform('Windows'))">
<PackageReference Include="EvoPdf.Chromium.Windows" Version="11.4.5" />
</ItemGroup>
<ItemGroup Condition="'$(RuntimeIdentifier)' == '' AND $([MSBuild]::IsOsPlatform('Linux'))">
<PackageReference Include="EvoPdf.Chromium.Linux" Version="11.4.1" />
</ItemGroup>
<ItemGroup Condition="'$(RuntimeIdentifier)' == 'win-x64'">
<PackageReference Include="EvoPdf.Chromium.Windows" Version="11.4.5" />
</ItemGroup>
<ItemGroup Condition="'$(RuntimeIdentifier)' == 'linux-x64'">
<PackageReference Include="EvoPdf.Chromium.Linux" Version="11.4.1" />
</ItemGroup>
To add this implementation to the dependency injection container, add the following line just below the call to AddGclServices:
builder.Services.AddEvoPdfHtmlToPdfConverterService();
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.3.2605.2 | 1,029 | 6/16/2026 |
| 5.3.2605.1 | 110 | 5/22/2026 |
| 5.3.2601.1 | 332 | 1/19/2026 |
| 5.3.2512.1 | 419 | 12/18/2025 |
| 5.3.2508.1 | 658 | 8/21/2025 |
| 5.3.2507.6 | 285 | 7/31/2025 |
| 5.3.2507.5 | 692 | 7/23/2025 |
| 5.3.2507.4 | 323 | 7/17/2025 |
| 5.3.2507.3 | 241 | 7/10/2025 |
| 5.3.2507.2 | 257 | 7/4/2025 |
| 5.3.2507.1 | 262 | 7/1/2025 |
| 5.3.2506.8 | 293 | 6/24/2025 |
| 5.3.2506.7 | 225 | 6/24/2025 |
| 5.3.2506.6 | 257 | 6/18/2025 |
| 5.3.2506.5 | 387 | 6/13/2025 |
| 5.3.2506.4 | 393 | 6/12/2025 |
| 5.3.2506.3 | 260 | 6/5/2025 |
| 5.3.2506.2 | 239 | 6/5/2025 |
| 5.3.2506.1 | 249 | 6/3/2025 |
| 5.3.2505.1 | 339 | 5/1/2025 |