Deployment Guide
To run on a server or in your customers' browsers, an application with TX Sheet Control needs three things: the files of its package, such as the editor script, the fonts or the server engine; its license file; and a license that permits the deployment. This guide shows for each kind of application what to deploy, how to check it on the target and how to solve the problems that occur most often.
What Every Deployment Has in Common
- A license for the deployment. Configure the contents of
tx-sheet-control.licensebefore the editor or the server starts. Showing the editor to the users of your application requires an OEM license; a Developer license covers server processing on two production server instances. - The complete output. Deploy the complete output of
dotnet publish, or the complete installed npm package, not only the main script or assembly. The fonts and the engine are separate files of that output. - Fonts from your deployment. Every package brings its own fonts. Documents are rendered and exported with these fonts, or with the fonts you add, not with fonts installed on the computer.
- No external services. The editor loads its files only from the URLs you configure. The server packages need no network connection and no browser, and the .NET package needs no Node.js installation. Your application can run without internet access.
- A test on the target. Test the deployed application, not the development folder, which can supply files that the deployment lacks.
Find the Right Page
| If you want to | Read |
|---|---|
| See what each kind of application deploys | Deployment Overview |
| Choose Trial, Developer or OEM licensing and configure the license file | Licensing |
| Deploy the editor in a plain HTML, JavaScript, TypeScript or Angular application | Static Assets and Offline Hosting |
| Run the editor without a network connection | Static Assets and Offline Hosting |
| Understand which fonts the editor and the server use, and what replaces a missing font | Font Handling |
| Look up the supplied font families and the notices to keep | Included Fonts and Notices |
| Add a font that is not supplied | Custom Fonts |
| Publish a Razor Pages or MVC application with the editor | ASP.NET Core Applications |
| Publish a Blazor Server or WebAssembly editor | Blazor Applications |
| Deploy document processing in .NET | .NET Server Applications |
| Deploy document processing in Node.js, also with a bundler or a container image | Node.js Server Applications |
| Protect uploads, data, browser assets and logs | Host Security and File Handling |
| Fix an error that occurs after the deployment | Deployment Problems |
Where to Start
- Deployment Overview: what your kind of application deploys and how you check it.
- Licensing: the license your deployment needs and how to configure it before startup.
- The page of your platform: Static Assets and Offline Hosting for a JavaScript, TypeScript or Angular editor, ASP.NET Core Applications, Blazor Applications, .NET Server Applications or Node.js Server Applications.
- Host Security and File Handling: what the host application controls.
If something fails on the target, look up its message in Deployment Problems.
Pages in This Section
- Deployment Overview: the files each kind of application deploys and an acceptance check for the target.
- Licensing: the license file, Trial, Developer and OEM rights, configuration before startup, license checks and export branding.
- Static Assets and Offline Hosting: the editor's files,
fontCatalogURL, HTTP, CORS, base paths, caching and hosting without a network connection. - Font Handling: the font catalog, the server font folder, replacement fonts, character fallback and the rules for font files.
- Included Fonts and Notices: the 30 supplied font families with their face counts, and the license and notice files.
- Custom Fonts: extend the font catalog of the editor and the font folder of the server, and check the result.
- ASP.NET Core Applications: the Tag Helper's files, the middleware, publishing, path bases and checks.
- Blazor Applications: publishing Server and WebAssembly editors, circuit messages, licensing and checks.
- .NET Server Applications: the publish output of the Server package, platforms, fonts, cancellation and capacity.
- Node.js Server Applications: the installed package, bundlers, container images, fonts and the lifetime of a job.
- Host Security and File Handling: untrusted files, authorized data, browser assets, logging and notices.
- Deployment Problems: the error messages of a deployed application, with their causes and fixes.