Editing a Word document should not mean downloading it.

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.

One plugin, two ways to edit.

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 code stays in control

Your server opens the document, receives the edited file and closes the session when the user is done.

Our editor or your own

Embed the full editor interface, or build your own on the documented editing endpoints.

Save where your files already live

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.

Everything an editing session needs

Live editing, undo and redo, export and autosave, with the same Doconut plugin model you already use for the viewer.

Live DOCX editing

Users edit Word (.docx) documents directly in the browser, inside your own application.

Export to DOCX or PDF

Download the edited document as DOCX or PDF from the editor, or export it from your server code.

Ready-made widget

Add a self-service editor to any page: users pick a .docx and start editing, with no extra server code.

Undo and redo

The server keeps each session's undo and redo history, so users can step back through their changes.

Autosave

Save the document in the background when the user pauses, and warn users before they leave with unsaved changes.

Ready for web farms

Run the editor behind a load balancer: sessions can be stored encrypted in a shared folder, so another server can pick them up.

Doconut Editor with Save, PDF, Undo and Redo buttons above an open Word document

Two ways to start editing.

Open the document from your server, or let users bring their own .docx.

Server API

Your application opens a document it already has, hands the session to the editor and exports the result when the user is done.

Self-service widget

Users pick a .docx in the page and start editing right away. You turn it on with one option in your Doconut setup.

Open a DOCX editing session in C#.

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.

Program.cs
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);
Open the live demo
Doconut Editor document properties dialog over an open Word document

Choose the Editor package for your framework.

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).

.NET 8

Doconut.NET8.Editor

.NET 6

Doconut.NET6.Editor

.NET Standard

Doconut.NETStandard.Editor

.NET Framework 4.7.2

Doconut.NETFramework.Editor

License the Editor capability.

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.

Evaluation

Temporary Demo/NFR licenses are accepted. Output carries the evaluation watermark.

Production

A paid license granting Editor, within its version window, produces output without the evaluation watermark.

Startup validation

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.

License updates

ASP.NET Core reads the license at application startup. Restart the application after replacing its license file.

Editor Plugin pricing

Choose the license that matches how you deploy browser document editing in your Doconut application.

LicensePriceBest forIncludes
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 Plugin

Where the Editor fits

Any ASP.NET application where people need to change a Word document without leaving it.

Drafting contracts and agreements inside a business application.
Letting customers adjust Word documents in a self-service portal.
Correcting reports before they are sent out as PDF.
Editing password-protected Word documents that your server opens for the user.
Internal tools where documents must stay on your own servers.
Deployments behind a load balancer, with sessions shared between servers.

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.

DOCX editor SDK for ASP.NET: developer FAQ

Integration details for browser editing, export, licensing and deployment.

How do I edit a Word document in the browser with ASP.NET Core?

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.

Can users export the edited document to PDF?

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.

How do I add a self-service DOCX editor to an ASP.NET Core page?

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.

Can I edit password-protected DOCX files in C#?

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.

Does the DOCX editor save changes to my server automatically?

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.

How long does an ASP.NET Core DOCX editing session last?

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.

Can I run the ASP.NET Core document editor behind a load balancer?

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.

Is the DOCX editor SDK available for ASP.NET MVC on .NET Framework 4.7.2?

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.

ลอง, สร้าง, ซื้อ

ดูการทำงานก่อนที่คุณจะติดตั้งอะไรเลย

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.

การสาธิตสดทำงานบนเอกสารตัวอย่าง ไม่ต้องสมัคร ไม่ต้องติดตั้ง

เพิ่มลงในโครงการของคุณ

เริ่มต้นด้วยแพคเกจ NuGet แล้วทำตามคู่มือการตั้งค่าสำหรับเฟรมเวิร์กของคุณ

dotnet add package Doconut.NET8.Editor
อ่านคู่มือการตั้งค่า