SpreadJS collaboration server example

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:

    • Your ASP.NET Core app continues to handle everything else (auth, APIs, serving the SpreadJS client).
    • The Collaboration Server runs as a separate Node.js process/service (can be on the same host, in a sibling container, or behind the same reverse proxy/domain).

    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

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels