Posted 15 July 2026, 1:58 am EST
Hello,
Do you have any example code on building the collaboration server in asp.net core 8.0 + please?
Thank you
Forums Home / Spread / SpreadJS
Posted by: storm.binary on 15 July 2026, 1:58 am EST
Posted 15 July 2026, 1:58 am EST
Hello,
Do you have any example code on building the collaboration server in asp.net core 8.0 + please?
Thank you
Posted 15 July 2026, 6:53 am EST
Hello,
Thanks for reaching out about the Collaboration Server.
I want to set expectations correctly here: the Collaboration Server is built entirely on Node.js, not ASP.NET Core/.NET. The core framework ships as npm packages (@mescius/js-collaboration, @mescius/js-collaboration-ot, @mescius/js-collaboration-presence, plus the spread-sheets-collaboration packages for the OT type), and every tutorial Collaboration sets up the server with Node.js + Express listening for WebSocket connections. There isn’t a .NET/NuGet build of the collaboration engine, so we don’t have ASP.NET Core sample code for the server itself.
The supported way to use this alongside an ASP.NET Core 8+ application is to run the two side by side rather than inside the same process:
We actually document this exact split in our “Deploying Collaboration Client and Server Separately” tutorial, which walks through hosting the frontend as a static site (IIS, Nginx, Apache all work) while the backend runs independently as a Node WebSocket service with SQLite-backed persistence:
https://developer.mescius.com/spreadjs/docs/spreadjs-collaboration-server/spreadjs-sheets-collaboration/tutorial-real-time-collaborative-spreadjs-designer/tutorial-
The main Collaboration Server overview and the Collaboration Framework docs are also worth reviewing if you haven’t already:
https://developer.mescius.com/spreadjs/docs/spreadjs-collaboration-server
https://developer.mescius.com/spreadjs/docs/spreadjs-collaboration-server/collaboration-framework
Best regards,
Priyam