Weft.Server 1.0.1

Prefix Reserved
dotnet add package Weft.Server --version 1.0.1
                    
NuGet\Install-Package Weft.Server -Version 1.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Weft.Server" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Weft.Server" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="Weft.Server" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Weft.Server --version 1.0.1
                    
#r "nuget: Weft.Server, 1.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Weft.Server@1.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Weft.Server&version=1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=Weft.Server&version=1.0.1
                    
Install as a Cake Tool

Weft.Server

A y-sync WebSocket relay for ASP.NET Core: it speaks the standard Yjs y-sync protocol, so existing editor clients (Tiptap + y-prosemirror, y-websocket) connect with no adaptation.

Part of Weft — real-time CRDT collaboration and content-addressed document versioning for .NET.

Install

dotnet add package Weft.Server

What it provides

  • DI wiringAddWeftServer(...) + MapWeft("/path")path/{docId}.
  • IWeftAuthorizer — the consumer's access hook (Deny / ReadOnly / ReadWrite); Weft never implements identity itself.
  • IDocumentStore — durable persistence of opaque blobs; InMemory / FileSystem included, EF Core and Redis adapters in separate packages.
  • Ephemeral awareness/presence, incremental reconnect (state vectors), and per-connection backpressure.
builder.Services.AddWeftServer();
builder.Services.AddSingleton<IWeftAuthorizer, MyAuthorizer>();
app.MapWeft("/collab");   // ws://host/collab/{docId}

Licensed under Apache-2.0.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Weft.Server:

Package Downloads
Weft.Server.Persistence.Redis

Weft — IDocumentStore adapter over Redis (StackExchange.Redis): snapshot as a string + updates as a list, with atomic compaction via a transaction. Compatible with Redis-wire servers (Redis, Valkey).

Weft.Server.Persistence.EFCore

Weft — IDocumentStore adapter over Entity Framework Core (opaque per-document blob persistence: snapshot + updates with transactional compaction). Provider-agnostic: the consumer configures the provider (SQLite, PostgreSQL, SQL Server, …) via DbContextOptions.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.1 137 7/19/2026
1.0.0 119 7/19/2026