Tutorials
Each tutorial builds one complete, working program from start to finish. Every line of code on these pages was compiled and run to produce the output and screenshots you see, and the input and output files are there to download.
Build a document-conversion web APIAn ASP.NET Core minimal API that turns uploads into PDFs and thumbnails, with limits and proper HTTP errors.
Generate invoices with mail mergeMerge orders into a Word template with a repeating line-item table, then save as DOCX and PDF.
Fill a {{placeholder}} template from JSONReplace text markers with JSON values and repeat a table row once per array item.
Fill and update several tablesFill {{#table1}} and {{#table2}} from one JSON file, fill just the table you name, and update a table found by header, bookmark or position.
Build a report in codeA two-page sales report with styles, figures, lists and tables, composed entirely in C#.
Compare two versions of a contractGet every difference as a tracked change, then accept or reject revisions in code.
Assemble a board packConvert Word papers, then merge, extract, split and reorder PDF pages, and render thumbnails.
Run an SSRS report and export itRun Microsoft's Regional Sales .rdl with your own data provider, then export to PDF, Excel and CSV.
Before you start
Every tutorial assumes a .NET 8 or later console or web project with the DocWright package installed. See Install. Tutorials that need a capability package say so at the top.