TX Text Control .NET Server

Deployment Guide

Topic

An application built with TX Text Control .NET Server takes TX Text Control with it: publishing puts the engine, its native libraries, its fonts and the Document Editor backend next to your application, and the license is compiled into your assembly. No setup runs on the target. What differs from one target to the next is how the application is hosted, how the Document Editor's connection gets through and what the platform expects from the runtime.

What Every Deployment Has in Common

  • An engine for the target platform. The Core engine in TXTextControl.TextControl.Core.SDK runs on Windows and Linux; the Classic engine runs on Windows only. Publish for the runtime identifier of the target, win-x64 or linux-x64.
  • A publish output with everything TX Text Control needs. Next to your application, dotnet publish puts the TX Text Control assemblies, the native libraries of the target platform, the Fonts folder of the Core engine and the files of the Document Editor backend.
  • The .NET runtime on the target. Text Control's examples publish framework-dependent applications. The Document Editor backend runs as a separate dotnet process with the installed runtime and listens on TCP port 4283, which only your application uses.
  • A path for the WebSocket connection. Every server, proxy and load balancer between the browser and your application must let the Document Editor's WebSocket connection through, and with several instances, keep it on one instance. WebSocket Architecture explains the connection.
  • Runtime licenses. Each production server, virtual machine or cloud instance needs one. See Runtime Licenses.

Choose a Target

TargetRead
Windows Server with IIS, or a Windows serviceWindows
Ubuntu or Debian with systemd and nginxLinux
Linux containers, fonts in the image, several containersDocker
Kubernetes clusters, with Deployments, Services and session affinityKubernetes
Azure App Service on Windows or LinuxAzure
AWS Elastic Beanstalk or AWS FargateAWS
Google Cloud RunGoogle Cloud
Build, publish and deploy in a pipelineCI/CD

Find the Right Page

If you want toRead
Check what a Linux server or container needs: glibc, gconv, ports, processesLinux Requirements
Configure an IIS application pool so that the Document Editor backend keeps runningIIS
Build a container image without putting the NuGet feed credentials into itDockerfile
Add company fonts to a deploymentFonts
Run the Document Editor backend separately from the applicationMultiple Processes
Find out which requests need sticky sessions behind a load balancerScaling Containers

Where to Start

  1. Operating Systems: confirm that the target platform and the engine fit.
  2. The section of your target: Windows, Linux, Docker or Azure.
  3. CI/CD: automate the deployment.
  4. Troubleshooting: when the application or the editor doesn't start on the target.