Dependency injection
Add Doconut to the service container and receive the Viewer through the same DI model as the rest of your application.
Embed more than 70 formats in ASP.NET Core and Blazor, self-hosted on Windows or Docker.

Register Doconut once, inject the Viewer where documents are opened, and let middleware serve the viewer pipeline and embedded resources.
builder.Services.AddDoconut(options =>
{
options.LicensePath = "Doconut.Viewer.lic";
});
app.UseDoconutResources();
app.UseDoconut();
var token = await viewer.OpenDocumentAsync(filePath);Add Doconut to the service container and receive the Viewer through the same DI model as the rest of your application.
Open files with OpenDocumentAsync() and return an opaque server-side token to the browser viewer.
Serve scripts, styles, images, and document requests with UseDoconutResources() and UseDoconut().
Enable licensed capabilities such as Converter and DICOM in the same startup configuration as the base viewer.
The exact SDK catalog contains 76 viewable extensions across 19 families, including formats that PDF-only components leave behind.
PDF, DOC, DOCX, RTF, ODT, XLS, XLSX, CSV, PPT, PPTX, ODP
DWG, DXF, DGN, VSD, VSDX, VSSX, VSTX, MPP, MPX
EML, EMLX, MSG, DCM, IMA, XPS, EPUB, MHT, MHTML
JPG, PNG, TIFF, SVG, WEBP, AVIF, PSD, HTML, TXT, and more

The .NET 8 build supports self-hosted deployment on Windows and in Docker while keeping document processing inside your infrastructure.
Distributed mode publishes reusable document artifacts to shared storage so any authorized node can serve protected viewer requests.
Distributed mode is opt-in. The standard single-instance viewer remains the default.
Approved nodes validate shared access tickets instead of depending on one application instance.
Tickets can bind document access to the current browser and authenticated user.
Begin viewing while optional background publishing continues with later pages.
Use bounded queues, readiness markers, revocation, and retention for predictable deployments.
Yes. The .NET 8 catalog supports 76 file extensions across 19 families and displays them through one browser viewer.
No. Documents are rendered by the self-hosted Doconut SDK without installing Microsoft Office on the server or client.
Yes. Open the document through the injected Viewer service, then initialize the Doconut JavaScript viewer inside your Blazor page.
No. Rendering and optional shared artifacts stay inside the infrastructure configured by your application.
Test Doconut with your own PDF, Office, CAD, email, image, and medical files.