Blazor has revolutionized .NET web development, enabling rich, interactive UIs with C# both on the server and client-side (WebAssembly). As you build sophisticated Blazor applications, the need to display documents – reports, user uploads, reference materials – directly within the UI often arises. Relying on download links disrupts the fluid, single-page application feel that Blazor excels at.

Doconut document viewer illustration

That’s where Doconut comes in — a blazing-fast, fully managed document viewer built specifically for .NET developers. Whether you’re using Blazor Server or WebAssembly, Doconut keeps your users engaged and documents securely inside your app.

🧠 Why Use Doconut in Blazor?

  • Maintain SPA Flow: Doconut renders documents directly inside your pages. No new tabs, no external viewers.
  • Native to .NET: Designed for seamless integration in ASP.NET Core and Blazor. One consistent stack.
  • Multi-format Support: View PDFs, DOCX, XLSX, PPTX, HTML, images, emails, and even CAD — no third-party plugins required.
  • Responsive UI: Mobile-friendly viewing experience that matches your app’s look and feel.

You can learn more about the supported file types on doconut.com.

🧩 How to Integrate Doconut in Blazor

Whether you’re building a Blazor Server or WebAssembly app, Doconut offers a .NET Standard-compatible experience, ensuring compatibility across both.

How To: Install and Use Doconut from NuGet.org

Integrating Doconut into your .NET project is easy thanks to its availability on NuGet.org.

1. Find the Package on NuGet

Visit the official Doconut profile:
👉 https://www.nuget.org/profiles/doconut.com

There you’ll find available packages.

2. Install via NuGet Console or CLI

In Visual Studio or using the .NET CLI, install the main package.