# Deploying the Angular Document Editor

> Deploying the TX Text Control Angular editor requires three components: the Angular npm package, the WebSocketHandler middleware, and a document synchronization TCP service. The WebSocketHandler supports any .NET Core platform, while the TCP service requires a Windows Server host.

- **Author:** Bjoern Meyer
- **Published:** 2019-11-11
- **Modified:** 2026-03-05
- **Description:** Deploying the TX Text Control Angular editor requires three components: the Angular npm package, the WebSocketHandler middleware, and a document synchronization TCP service. The WebSocketHandler supports any .NET Core platform, while the TCP service requires a Windows Server host.
- **2 min read** (341 words)
- **Tags:**
  - Angular
  - ASP.NET
  - Reporting
- **Web URL:** https://www.textcontrol.com/blog/2019/11/11/deploying-the-angular-document-editor/
- **LLMs URL:** https://www.textcontrol.com/blog/2019/11/11/deploying-the-angular-document-editor/llms.txt
- **LLMs-Full URL:** https://www.textcontrol.com/blog/2019/11/11/deploying-the-angular-document-editor/llms-full.txt

---

We recently announced the [final version](https://www.textcontrol.com/blog/2020/01/07/tx-text-control-for-angular-released/llms-full.txt) of the Angular document editor with the Node.js *WebSocketHandler*. This article explains the required components to deploy an application that uses the document editor.

The TX Text Control document editor requires 3 components:

1. Client-side Angular component
2. Server-side WebSocketHandler (Node.js or ASP.NET on Linux or Windows)
3. Document synchronization TCP service (Windows)

In order to create an Angular application using the document editor, a WebSocketHandler project and the actual Angular project is required. The following tutorial shows how to create such an Angular application:

[Creating your First Angular Application](https://www.textcontrol.com/blog/2020/01/01/creating-an-angular-document-editor-application/llms-full.txt)

The following diagram illustrates the required components to deploy the document editor:

![Angular Deployment](https://s1-www.textcontrol.com/assets/dist/blog/2019/11/11/a/assets/deployment_angular.webp "Angular Deployment")

The client-side Angular component opens a WebSocket connection to the *WebSocketHandler* running within the *WebSocketServer*. The *webSocketURL* parameter is used to connect the Angular component to the used *WebSocketHandler* project.

The port number must match the port number defined in the *WebSocketServer* project in the file *app.js*. The server hosting the Angular application and the Node.js server can be deployed to all platforms including Windows, Linux and Mac. Alternatively, the WebSocketHandler can be implemented using the MVC version of TX Text Control running on IIS on a Windows Server.

The third required component is the *Document Sync TCP Service*. The tutorial uses a demo service hosted by us (*demos.textcontrol.com*). In order to deploy an application, you will need to host your own service. The deployment of the service is described in the deployment [documentation of TX Text Control .NET Server](https://docs.textcontrol.com/textcontrol/asp-dotnet/article.aspnet.requirements.htm). The TCP service needs to be deployed to a Windows-based server running Microsoft Server 2012 or better.

Let us know, if you have any questions regarding your implementation or deployment of the Angular document editor. We are always here to help.

[Contact Us ](https://www.textcontrol.com/support/)

---

## 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

- [Impressions from DDC in Cologne](https://www.textcontrol.com/blog/2019/12/02/impressions-from-ddc-in-cologne/llms.txt)
- [Meet Text Control at DEVintersection 2019 in Las Vegas](https://www.textcontrol.com/blog/2019/11/01/meet-text-control-at-devintersection-2019-in-las-vegas/llms.txt)
- [See Text Control at Web Developer Conference (WDC)](https://www.textcontrol.com/blog/2019/10/07/see-text-control-at-web-developer-conference-wdc/llms.txt)
- [Test the Text Control Widget in JSFiddle](https://www.textcontrol.com/blog/2019/09/04/test-the-text-control-widget-in-jsfiddle/llms.txt)
- [Text Control Roadmap 2019: High DPI Support, Forms, Node.js and Angular](https://www.textcontrol.com/blog/2019/03/12/text-control-roadmap-2019/llms.txt)
- [Building an ASP.NET Core Backend (Linux and Windows) for the Document Editor and Viewer](https://www.textcontrol.com/blog/2025/03/26/building-an-asp-net-core-backend-for-the-document-editor-and-viewer/llms.txt)
- [Impressions from .NET Developer Conference DDC 2024](https://www.textcontrol.com/blog/2024/11/28/impressions-from-net-developer-conference-ddc-2024/llms.txt)
- [Back from Florida: Impressions from VSLive! Orlando 2024](https://www.textcontrol.com/blog/2024/11/21/back-from-florida-impressions-from-vslive-orlando-2024/llms.txt)
- [.NET C# PDF Generation Techniques: Which Method is Right for Your Project?](https://www.textcontrol.com/blog/2024/10/30/net-csharp-pdf-generation-techniques-which-method-is-right-for-your-project/llms.txt)
- [Implementing a Security Middleware for Angular Document Editor Applications in C#](https://www.textcontrol.com/blog/2024/10/14/implementing-a-security-middleware-for-angular-document-editor-applications/llms.txt)
- [Meet Text Control at DDC .NET Developer Conference 2024](https://www.textcontrol.com/blog/2024/10/07/meet-text-control-at-ddc-net-developer-conference-2024/llms.txt)
- [Visit Text Control at VSLive! in Orlando, Florida](https://www.textcontrol.com/blog/2024/10/01/visit-tx-text-control-at-vslive-in-orlando-florida/llms.txt)
- [Creating Advanced Tables in PDF and DOCX Documents with C#](https://www.textcontrol.com/blog/2024/09/30/creating-advanced-tables-in-pdf-and-docx-documents-with-csharp/llms.txt)
- [Back in the Pocono Mountains: Meet Text Control at TechBash 2024](https://www.textcontrol.com/blog/2024/09/24/back-in-the-pocono-mountains-meet-text-control-at-techbash-2024/llms.txt)
- [Back from Copenhagen Developers Festival 2024](https://www.textcontrol.com/blog/2024/09/05/back-from-copenhagen-developers-festival-2024/llms.txt)
- [Using the Document Editor in SPA Applications using the removeFromDom Method](https://www.textcontrol.com/blog/2024/09/02/using-the-document-editor-in-spa-applications-using-the-removefromdom-method/llms.txt)
- [Video Tutorial: Creating a MailMerge Template and JSON Data Structure](https://www.textcontrol.com/blog/2024/08/16/video-tutorial-creating-a-mailmerge-template-and-json-data-structure/llms.txt)
- [Best Practices for Mail Merge and Form Field Processing in ASP.NET Core C# Applications](https://www.textcontrol.com/blog/2024/07/30/best-practices-for-mail-merge-and-form-field-processing-in-asp-net-core-csharp-applications/llms.txt)
- [Advantages of Flow Type Layout Reporting vs. Banded Reporting or PDF Template Engines in .NET C#](https://www.textcontrol.com/blog/2024/07/29/advantages-of-flow-type-layout-reporting-vs-banded-reporting-or-pdf-template-engines-in-net-c-sharp/llms.txt)
- [Observe When the Reporting Preview Tab is Active Using MutationObserver](https://www.textcontrol.com/blog/2024/07/23/observe-when-the-reporting-preview-tab-is-active-using-mutationobserver/llms.txt)
- [Mail Merge: The Pre-Shaped Data Concept Explained](https://www.textcontrol.com/blog/2024/05/30/mail-merge-the-pre-shaped-data-concept-explained/llms.txt)
- [Meet Text Control at NDC Oslo 2024](https://www.textcontrol.com/blog/2024/05/28/meet-text-control-at-ndc-oslo-2024/llms.txt)
- [Form Field Compatibility: Work with AcroForms, Legacy MS Word Forms, and Content Controls](https://www.textcontrol.com/blog/2024/04/04/form-fields-working-with-acroforms-legacy-ms-word-forms-and-content-controls/llms.txt)
- [Comments JavaScript API: Useful Tips and Tricks](https://www.textcontrol.com/blog/2024/04/01/comments-javascript-api-useful-tips-and-tricks/llms.txt)
- [Integrating Document Lifecycle Management with ASP.NET Core and C#](https://www.textcontrol.com/blog/2024/03/29/integrating-document-lifecycle-management-with-asp-net-core-and-c-sharp/llms.txt)
