# TX Text Control ASP.NET MVC Document Viewer 34.5.1

> TX Text Control ASP.NET MVC Document Viewer 34.5.1. Review the changes from 34.5.0, including in-process processing, signing completion hooks, viewer API migrations, annotation updates, and server and browser font deployment.

- **Author:** Bjoern Meyer
- **Published:** 2026-11-27
- **Modified:** 2026-11-27
- **Description:** TX Text Control ASP.NET MVC Document Viewer 34.5.1. Review the changes from 34.5.0, including in-process processing, signing completion hooks, viewer API migrations, annotation updates, and server and browser font deployment.
- **6 min read** (1129 words)
- **Tags:**
  - Document Viewer
  - ASP.NET Core
  - ASP.NET MVC
  - NuGet
  - Release
- **Web URL:** https://www.textcontrol.com/blog/2026/11/27/tx-text-control-aspnet-mvc-document-viewer-3451-released/
- **LLMs URL:** https://www.textcontrol.com/blog/2026/11/27/tx-text-control-aspnet-mvc-document-viewer-3451-released/llms.txt
- **LLMs-Full URL:** https://www.textcontrol.com/blog/2026/11/27/tx-text-control-aspnet-mvc-document-viewer-3451-released/llms-full.txt

---

Today, we released **TX Text Control ASP.NET MVC Document Viewer 34.5.1**. The following changes apply when upgrading from **34.5.0**. Review the processing defaults, signing integration, viewer APIs, and font deployment requirements before updating your application.

### NuGet Packages

| NuGet package | Target frameworks |
|---|---|
| [`TXTextControl.Web.DocumentViewer`](https://www.nuget.org/packages/TXTextControl.Web.DocumentViewer/34.5.1) | `net8.0` for ASP.NET Core |
| [`TXTextControl.Web.DocumentViewer.Classic`](https://www.nuget.org/packages/TXTextControl.Web.DocumentViewer.Classic/34.5.1) | `net45` for ASP.NET MVC 5 and `net8.0` for ASP.NET Core on Windows |

Update the package used by your application to version `34.5.1`. For example, use the following command for the ASP.NET Core package:

```bash
dotnet add package TXTextControl.Web.DocumentViewer --version 34.5.1
```

### Document Processing and Hosting

In isolated mode, the ASP.NET Core host starts the Supervisor and initializes its Workers before accepting requests. The pool defaults to **one Worker per logical processor**. Set [`options.Process.WorkerPool.Count`](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer-hosting/workerpooloptions/count-property/) to size the pool for your deployment. The Supervisor replaces failed Workers, and an interrupted connection allows unrelated jobs to continue.

> **In-process processing is now the default for ASP.NET Core.** If your Core deployment relies on process isolation, explicitly set [`options.Process.Mode`](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer-hosting/processoptions/mode-property/)`  =  `[ `DocumentProcessingMode.IsolatedProcess`](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer-hosting/documentprocessingmode/enumeration/) in [`AddTXDocumentViewer()`](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer-hosting/addtxdocumentviewerextension/addtxdocumentviewer-method/). Classic processes documents in the web application process.

Large documents load, render, and export faster. Document analysis and text extraction also use less temporary managed memory.

ASP.NET Core applications can handle categorized processing failures through [`IExceptionHandler`](https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.diagnostics.iexceptionhandler?view=aspnetcore-8.0). Invalid request payloads return **HTTP 400** with `kind: "InvalidInput"`, including oversized requests and malformed Base64 signature images.

### Signing

Use [`ISignatureCompletionService.CompleteAsync`](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer-services/isignaturecompletionservice/completeasync-method/) to process a document after native signing. The service receives the original signing data and the signed document and can return a replacement document. The viewer's submit callback receives the completion data and the resulting document.

**For custom signing integrations, migrate from [`ISignatureService`](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer-services/isignaturecompletionservice/) to [`ISignatureCompletionService`](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer-services/isignaturecompletionservice/).** Native signing and the execution gateway are now internal. Applications that injected [`IExecutionGateway`](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer-hosting/addtxdocumentviewerextension/addtxdocumentviewer-method/) or supplied a gateway to the controller should configure processing through [`AddTXDocumentViewer()`](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer-hosting/addtxdocumentviewerextension/addtxdocumentviewer-method/).

Signature boxes are restored when a document is loaded. Legacy signing redirects preserve all fields returned by the application.

### Viewer Changes

#### Search and Selection

Search ignores letter case by default. Use [`viewer.find(text, { matchCase: true })`](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript-document-viewer/documentviewercontroller/find-method/) for a case-sensitive search. The viewer honors [`isSelectionActivated`](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-viewer/user-interface/) at startup and preserves the user's selection mode when loading another document.

![Document Viewer 34.5.1 searching for payment terms without matching case](https://s1-www.textcontrol.com/assets/dist/blog/2026/11/27/a/assets/viewer-search-ignore-case.webp "Document Viewer 34.5.1 searching for payment terms without matching case") The default case-insensitive search highlights lowercase, title-case, and uppercase occurrences of the same phrase.![Document Viewer 34.5.1 with case-sensitive search enabled](https://s1-www.textcontrol.com/assets/dist/blog/2026/11/27/a/assets/viewer-search-match-case.webp "Document Viewer 34.5.1 with case-sensitive search enabled") With case matching enabled, only occurrences that match the lowercase search phrase are highlighted.

#### Text Annotations and Comments

Text annotations preview edits as you type or paste, including line breaks. Pressing Escape discards the pending edit. The selection frame resizes immediately when you change the font, size, bold, or italic style. Use the comments button or sidebar to read annotation comments.

![Live preview of a two-line text annotation in Document Viewer 34.5.1](https://s1-www.textcontrol.com/assets/dist/blog/2026/11/27/a/assets/viewer-text-annotation.webp "Live preview of a two-line text annotation in Document Viewer 34.5.1") A text annotation previews both lines while the edit is still pending.![Annotation comment expanded in the Document Viewer comments sidebar](https://s1-www.textcontrol.com/assets/dist/blog/2026/11/27/a/assets/viewer-comments.webp "Annotation comment expanded in the Document Viewer comments sidebar") Open the comments sidebar and select an annotation to read its comments.

#### Multi-Page View

The multi-page button uses a four-page grid icon. Activating it sets zoom to **10 percent**. Leaving multi-page view keeps the current zoom. In custom toolbars, replace [`DefaultItemTypes.TwoPageViewButton`](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript-document-viewer/defaultitemtypes/enumeration/) with [`DefaultItemTypes.MultiPageViewButton`](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript-document-viewer/defaultitemtypes/enumeration/#value-multipageviewbutton).

![Six document pages displayed at 10 percent zoom in multi-page view](https://s1-www.textcontrol.com/assets/dist/blog/2026/11/27/a/assets/viewer-multi-page.webp "Six document pages displayed at 10 percent zoom in multi-page view") The four-page grid button activates multi-page view and sets zoom to 10 percent.

#### Native DOM Events

On [`<tx-document-viewer>`](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript-document-viewer/documentviewerelement/), replace [`addViewerEventListener()`](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-viewer/events/) and [`removeViewerEventListener()`](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-viewer/events/) with the native [`addEventListener()`](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener) and [`removeEventListener()`](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener). Public viewer events bubble, and canceling a link event prevents the viewer's default navigation.

#### Document Loading, PDF.js, and Mobile Browsers

The viewer can start with an empty document. Configuring PDF.js explicitly selects it as the provider. If PDF.js cannot open a document, the viewer reports the failure. Mobile toolbar styling is corrected for Safari and Firefox on iPadOS 16.7.16 and newer.

### Font Deployment

The server-side font discovery, custom font-directory setting, and font download endpoint have been removed. **Install the fonts required for document processing on the server** and make the required display fonts available to the browser.

### Try the Sample Application

The ASP.NET Core MVC sample uses Document Viewer 34.5.1 and creates a six-page service agreement with mixed-case search text. Run it locally to compare search modes, edit text annotations, read comments, and switch to multi-page view. The screenshots above were captured from this application.

[Download the sample application](https://s1-www.textcontrol.com/assets/dist/blog/2026/11/27/a/assets/sample.zip). The included README describes the .NET 10 SDK and TX Text Control Core SDK requirements and the steps to run the sample.

### Upgrade Checklist

1. Update your NuGet package to `34.5.1`.
2. If your ASP.NET Core deployment requires process isolation, set [`DocumentProcessingMode.IsolatedProcess`](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer-hosting/documentprocessingmode/enumeration/) explicitly and review the Worker pool size.
3. Migrate custom signing integrations to [`ISignatureCompletionService`](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer-services/isignaturecompletionservice/) and configure processing through [`AddTXDocumentViewer()`](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc-documentviewer-hosting/addtxdocumentviewerextension/addtxdocumentviewer-method/).
4. Update custom toolbar items and event listeners to the replacement APIs. Review case-sensitive search requirements.
5. Install processing fonts on the server and provide display fonts to the browser.

---

## About Bjoern Meyer

As CEO, Bjoern is the visionary behind our strategic direction and business development, bridging the gap between our customers and engineering teams. His deep passion for coding and web technologies drives the creation of innovative products. If you're at a tech conference, be sure to stop by our booth - you'll most likely meet Bjoern in person. With an advanced graduate degree (Dipl. Inf.) in Computer Science, specializing in AI, from the University of Bremen, Bjoern brings significant expertise to his role. In his spare time, Bjoern enjoys running, paragliding, mountain biking, and playing the piano.

- [LinkedIn](https://www.linkedin.com/in/bjoernmeyer/)
- [X](https://x.com/txbjoern)
- [GitHub](https://github.com/bjoerntx)

---

## Related Posts

- [High-Performance Text Replacement in Large DOCX Files using C# .NET](https://www.textcontrol.com/blog/2025/07/30/high-performance-text-replacement-in-large-docx-files-using-csharp-dotnet/llms.txt)
- [Document Viewer 33.2.1 Released: New Event and Bug Fixes](https://www.textcontrol.com/blog/2025/07/30/document-viewer-33-2-1-released-new-event-and-bug-fixes/llms.txt)
- [Document Viewer: Long Polling Support for Loading Documents](https://www.textcontrol.com/blog/2024/04/25/document-viewer-long-polling-support-for-loading-documents/llms.txt)
- [Use PDF.js to Render PDF Documents within the Document Viewer](https://www.textcontrol.com/blog/2023/03/18/use-pdfjs-to-render-pdf-documents-within-the-document-viewer/llms.txt)
- [Document Viewer 31.2.2 RC1 Released with New Features](https://www.textcontrol.com/blog/2023/03/17/document-viewer-3122-rc1-released-with-new-features/llms.txt)
