Loading from WebSocketHandler
Because the document is already server-side (it gets synchronized with the document synchronization service), you can use the WebSocketHandler to load and to save the document directly server-side without the overhead of sending it back and forth.
This sample loads a document from a file located in the App_Data folder server-side.
This demo uses the MVC version of TXTextControl.Web included in TX Text Control .NET Server for ASP.NET. The functionality is compatible across all supported platforms.
Sample Source Code
No code required.
© 2022 Copyright Text Control GmbH and Text Control, LLC. All rights reserved. We ♥ documents.