Azure
Azure App Service is the Azure platform for which Text Control publishes a deployment tutorial: the same ASP.NET Core application with the Document Editor runs on App Service on Windows and on Linux, published from Visual Studio or with the Azure CLI. Both variants use the Core engine and bring the native libraries, the fonts and the Document Editor backend with the published application.
Windows or Linux
| App Service on Windows | App Service on Linux | |
|---|---|---|
| Target runtime | win-x64 | linux-x64 |
| Settings before the first deployment | Platform set to 64 Bit and Web sockets switched on | None |
| Plan | Basic or higher, required for 64 bit | Basic or higher; the Free tier allows five WebSocket connections |
| Engine | Core; the sandbox blocks the Windows graphics functions that Classic uses | Core; Classic doesn't run on Linux |
| Container images | Windows containers, in the Premium and Isolated tiers | Linux containers; the .NET images listen on port 8080 |
Find the Right Page
| If you want to | Read |
|---|---|
| Publish the application to App Service on Windows and enable 64 bit and Web sockets | Azure App Service Windows |
| Publish the application or a container image to App Service on Linux | Azure App Service Linux |
| Restore the TX Text Control packages in Azure DevOps | CI/CD Authentication |
| Deploy from a pipeline | CI/CD |
| Understand the App Service settings for the WebSocket connection of the editor | Host the Connection |
Scaling and Licensing
App Service adds instances when you scale out, manually or automatically. Keep session affinity on, so that each editing session stays on its instance; Scaling Containers explains which requests need it. Each instance added by scaling needs its own runtime license; when the number of instances changes automatically, consider the unlimited runtime license. See Runtime Licenses and OEM / Unlimited Runtime.
Where to Start
- Azure App Service Windows or Azure App Service Linux: publish the application.
- CI/CD: automate the deployment.
- Troubleshooting Azure: when the application or the editor doesn't start.