Your code stays in control
Your server opens the document, receives the edited file and closes the session when the user is done.
Doconut Editor is a DOCX editor SDK for ASP.NET. Your users edit Word documents in the browser and save them as DOCX or PDF, and the file never leaves your server.

Without an editor in your app, users download the file, change it in Word and upload it again. With Doconut Editor the document opens for editing inside your application, the editing session runs on your server, and your code gets the result back as DOCX or PDF.
Open the document from your server code when your app already has the file, or let users pick a .docx with the ready-made widget.
Your server opens the document, receives the edited file and closes the session when the user is done.
Embed the full editor interface, or build your own on the documented editing endpoints.
Export the edited document as DOCX or PDF to your own storage, or save it automatically while the user works.
Editing works on .docx files. Changes that were not exported are lost when the session is closed.
Live editing, undo and redo, export and autosave, with the same Doconut plugin model you already use for the viewer.
Users edit Word (.docx) documents directly in the browser, inside your own application.
Download the edited document as DOCX or PDF from the editor, or export it from your server code.
Add a self-service editor to any page: users pick a .docx and start editing, with no extra server code.
The server keeps each session's undo and redo history, so users can step back through their changes.
Save the document in the background when the user pauses, and warn users before they leave with unsaved changes.
Run the editor behind a load balancer: sessions can be stored encrypted in a shared folder, so another server can pick them up.

Open the document from your server, or let users bring their own .docx.
Your application opens a document it already has, hands the session to the editor and exports the result when the user is done.
Users pick a .docx in the page and start editing right away. You turn it on with one option in your Doconut setup.
In ASP.NET Core, register EditorPlugin inside AddDoconut and resolve DocumentEditor to open a .docx file. This excerpt assumes your application supplies app and ct; pass the returned token to your editing interface. It shows registration and opening a session, rather than a complete host setup.
using Doconut;
builder.Services.AddDoconut(options =>
{
options.LicensePath = "Doconut.Viewer.lic";
options.AddPlugin<Doconut.Plugins.Editor.EditorPlugin>();
});
var editor = app.Services.GetRequiredService<DocumentEditor>();
var token = await editor.OpenForEditAsync(
"contract.docx",
ct: ct);
Keep the Editor package at the same version as its matching Doconut package. For .NET 8 and .NET 6, supported platforms are Windows and glibc-based Linux x64 (not Alpine/musl).
Doconut.NET8.Editor
Doconut.NET6.Editor
Doconut.NETStandard.Editor
Doconut.NETFramework.Editor
Editor requires a license granting LicenseCapability.Editor alongside the base viewer license. Place Doconut.Viewer.Editor.lic in the same folder as Doconut.Viewer.lic.
Temporary Demo/NFR licenses are accepted. Output carries the evaluation watermark.
A paid license granting Editor, within its version window, produces output without the evaluation watermark.
Missing Editor capability, a legacy TRIAL file or an out-of-window paid license causes startup failure. ASP.NET Core validates this during AddDoconut; .NET Framework validates it during DoconutHost.Initialize.
ASP.NET Core reads the license at application startup. Restart the application after replacing its license file.
Choose the license that matches how you deploy browser document editing in your Doconut application.
| License | Price | Best for | Includes |
|---|---|---|---|
Developer License | $399 | One developer building or maintaining a Doconut editing integration. | Licensed access to the Editor plugin for development and project implementation. |
Site License | $999 | A production deployment owned by one organization. | Document editing for site-level deployments that need predictable commercial coverage. |
SDK License | $2,999 | Teams embedding Doconut into redistributed or multi-client software. | Broader licensing for SDK-style distribution and customer-facing product scenarios. |
Prices shown are for the Editor plugin add-on. Final licensing terms depend on your Doconut license type and deployment model.
Buy Editor PluginAny ASP.NET application where people need to change a Word document without leaving it.
The editor's Save button downloads the file to the user's computer. To keep the edited file on your server, export it from your code or turn on autosave.
Integration details for browser editing, export, licensing and deployment.
Register Doconut.Plugins.Editor.EditorPlugin with AddPlugin inside AddDoconut, then open the .docx with DocumentEditor.OpenForEditAsync. Pass the returned session token to mountDoconutEditor to attach the full browser editor UI. Configure AddSession and UseSession because document access is bound to the ASP.NET session.
DocumentEditor.ExportAsync(token, "pdf", ct) returns the edited document as PDF bytes, and "docx" returns DOCX bytes. The editor UI also has Save and PDF buttons for browser downloads. Export requires a live editor session and a license granting the Editor capability.
Enable AddEditorWidget alongside EditorPlugin registration and initialize Doconut.editor with your middleware basePath. The widget uploads a .docx through ?edit=open, receives an editing token and mounts the full editor UI. The self-service upload endpoint is disabled by default.
Open a password-protected .docx from server code with DocumentEditor.OpenForEditAsync and set DocOptions.Password. The self-service widget does not accept a password and rejects password-protected uploads. DocumentEditor.ExportAsync preserves the original password in DOCX output, while PDF output is never password-protected.
The widget's Save button downloads a DOCX to the browser and does not store it in your server repository. Configure the Doconut.editor autosave.save callback to receive the current DOCX as a Blob and send it to your storage endpoint. Alternatively, call DocumentEditor.ExportAsync and store the returned bytes in server code.
DocOptions.TimeOut controls the document session's sliding expiration and defaults to 60 minutes; successful requests carrying the token refresh it. DoconutOptions.MaxConcurrentEditorSessions defaults to 200, and idle sessions can be evicted when the cap is reached. If every session is active, a new open is rejected with HTTP 503. DocumentEditor.Close releases a session explicitly and discards changes that have not been exported.
By default, live editor sessions reside on one node and require session affinity. AddDoconutEditorPersistence lets another node rebuild a session from encrypted, token-bound snapshots and an operation log in a shared FileShare directory. Configure the same EditorPersistenceOptions.FarmKey on every node and register IDistributedCache so DistributedDocumentAccessStore can share token grants. EditorSnapshotEveryOps controls the snapshot cadence and how far back undo survives failover.
The Doconut.NETFramework.Editor package provides the Editor plugin for ASP.NET applications targeting .NET Framework 4.7.2. Register it through DoconutHost.Initialize in Application_Start and resolve DocumentEditor through DoconutHost.Services. The Framework API documents DocumentEditor.OpenForEdit, Export, ExportAsync and Close, so use the Framework integration guide rather than copying the ASP.NET Core registration sample.
Vyzkoušejte, vytvořte, kupte
Let users edit Word documents in the browser inside your ASP.NET app, with the files kept on your own server. The live demo shows the Viewer and the Annotation, Search, Converter and Signer plugins on sample documents.
Živá ukázka běží na ukázkových dokumentech. Žádná registrace, žádná instalace.
Začněte s balíčkem NuGet a poté postupujte podle průvodce nastavením pro váš framework.
dotnet add package Doconut.NET8.EditorKaždý formát a funkci po dobu 30 dnů, poté vyberte licenci, která vyhovuje.
Požádat o 30denní evaluační licenciZískejte zdarma dočasnou licenciČasově omezená licence, která funguje jako komerční, pro testování na vašem vlastním serveru.