# WebSocket Architecture

> Host the Document Editor's WebSocket connection: the URL, UseTXWebSocketMiddleware order and overloads, WebSocketHandler, the backend TCP link, IIS and nginx.

- **Product:** TX Text Control .NET Server
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control .NET Server > Integration Guide > WebSocket Architecture
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/integration/websockets/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/integration/websockets/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/integration/websockets/llms-full.txt

---

## On This Page

- [The Path of a Connection](https://docs.textcontrol.com/tx-text-control-dotnet-server/integration/websockets/#the-path-of-a-connection)
- [How the WebSocket URL Is Built](https://docs.textcontrol.com/tx-text-control-dotnet-server/integration/websockets/#how-the-websocket-url-is-built)
- [Add the Middleware to the Pipeline](https://docs.textcontrol.com/tx-text-control-dotnet-server/integration/websockets/#add-the-middleware-to-the-pipeline)
- [Reach a Session on the Server](https://docs.textcontrol.com/tx-text-control-dotnet-server/integration/websockets/#reach-a-session-on-the-server)
- [The Connection to the Backend Process](https://docs.textcontrol.com/tx-text-control-dotnet-server/integration/websockets/#the-connection-to-the-backend-process)
- [Host the Connection](https://docs.textcontrol.com/tx-text-control-dotnet-server/integration/websockets/#host-the-connection)
- [Diagnose Connection Problems](https://docs.textcontrol.com/tx-text-control-dotnet-server/integration/websockets/#diagnose-connection-problems)
- [Recognize Outdated Setups](https://docs.textcontrol.com/tx-text-control-dotnet-server/integration/websockets/#recognize-outdated-setups)
- [Next Steps](https://docs.textcontrol.com/tx-text-control-dotnet-server/integration/websockets/#next-steps)

---

## Nearby

- **Previous:** [REST Services](https://docs.textcontrol.com/tx-text-control-dotnet-server/integration/rest-services/llms.txt)
- **Next:** [ASP.NET on .NET Framework](https://docs.textcontrol.com/tx-text-control-dotnet-server/integration/dotnet-framework/llms.txt)
