MERSEL.Services.HtmlToPdf.Application
1.0.1
MERSEL.Services.HtmlToPdf.Client
Additional DetailsIHtmlToPdfConverter Interface'i Application paketinden ayrıştırılarak salt Client projesine eklendi. Bu yüzden bu paket kullanılmıyor.
dotnet add package MERSEL.Services.HtmlToPdf.Application --version 1.0.1
NuGet\Install-Package MERSEL.Services.HtmlToPdf.Application -Version 1.0.1
<PackageReference Include="MERSEL.Services.HtmlToPdf.Application" Version="1.0.1" />
<PackageVersion Include="MERSEL.Services.HtmlToPdf.Application" Version="1.0.1" />
<PackageReference Include="MERSEL.Services.HtmlToPdf.Application" />
paket add MERSEL.Services.HtmlToPdf.Application --version 1.0.1
#r "nuget: MERSEL.Services.HtmlToPdf.Application, 1.0.1"
#:package MERSEL.Services.HtmlToPdf.Application@1.0.1
#addin nuget:?package=MERSEL.Services.HtmlToPdf.Application&version=1.0.1
#tool nuget:?package=MERSEL.Services.HtmlToPdf.Application&version=1.0.1
MERSEL.Services.HtmlToPdf.Application
MERSEL HtmlToPdf mikroservisinin temel sözleşme (contract) katmanı.
Bu paket, HTML → PDF dönüşüm servisinin IHtmlToPdfConverter arayüzünü içerir. Kendi implementasyonunuzu yazmak veya istemci SDK'sını (MERSEL.Services.HtmlToPdf.Client) kullanmak için bu paketi referans alın.
Arayüz
public interface IHtmlToPdfConverter
{
// Tek HTML → PDF
Task<byte[]> ConvertAsync(byte[] htmlContent, CancellationToken ct = default);
// Çoklu HTML → Birleştirilmiş PDF
Task<byte[]> ConvertAndMergeAsync(IEnumerable<byte[]> htmlContents, CancellationToken ct = default);
}
Kullanım
Çoğu senaryoda doğrudan bu paketi değil, hazır HTTP istemcisi içeren MERSEL.Services.HtmlToPdf.Client paketini kullanmanız önerilir:
dotnet add package MERSEL.Services.HtmlToPdf.Client
Bu paketi yalnızca şu durumlarda doğrudan referans alın:
- Kendi
IHtmlToPdfConverterimplementasyonunuzu yazmak istiyorsanız - Servis sözleşmesine sadece arayüz seviyesinde bağımlılık istiyorsanız
Bağlantılar
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.