Quick start
From download to your first PDF
Three steps and about five minutes. Pick the package that matches your stack and the install line and first program appear below — both exactly as they ship in the download.
1. Install ASP.NET Core
dotnet run --project LumasPdfWeb
2. Write a PDF
The smallest complete program: create the document, write to it, close it.
app.MapGet("/invoice", (string name, decimal amount) => {
// one engine instance per request: create, build, close, delete
using var pdf = new PdfEngine();
pdf.CreatePDF(stream);
// ...
return Results.File(stream.ToArray(), "application/pdf");
});
3. Remove the watermark when you are ready
Everything above works with no key at all. Output carries an evaluation watermark until a key is applied — nothing else is limited, and there is no time limit on trying it.
Before you deploy this one
A self-contained web sample with the package bundled.
win-x86 win-x64 win-arm64 linux-x64 linux-arm64 macos
If the first program does not run
Almost every first-run problem is the same one: the process cannot find the engine library, or it found one built for the other bitness. The package page for your stack lists what has to sit where, and the knowledge base has the platform-specific version of that answer.