Description
Watson Webserver is a simple, fast, asynchronous C# web server for building REST APIs and HTTP services. Version 7 uses one programming model across HTTP/1.1, HTTP/2 and HTTP/3, with protocols chosen through WebserverSettings. It includes an API route experience with automatic JSON serialization, typed parameters, middleware, structured authentication, request timeouts and health checks. Native WebSocket support works on HTTP/1.1, including routes that mix REST and WebSocket. The server can generate OpenAPI documents in versions 3.0, 3.1 or 3.2 and serve Swagger UI, and it publishes OpenTelemetry-shaped metrics and traces that any collector can subscribe to. The README says it removed its dependency on http.sys and optimized its hot path. The project is part of the .NET Foundation and is available as a NuGet package named Watson, with a separate Watson.Clients package.…
Highlights
- REST routes with JSON, middleware and authentication
- HTTP/1.1, HTTP/2 and HTTP/3 in one model
- WebSocket routes alongside REST
- OpenAPI and Swagger UI, with OpenTelemetry metrics
Ratings & Reviews
No ratings yet
Be the first to rate WatsonWebserver.
People also visit
WatsonWebserver FAQ
What is Watson Webserver?
A C# web server library for building REST APIs and HTTP services, with HTTP/1.1, HTTP/2 and HTTP/3 support.
How do I install it?
Add the Watson NuGet package to your .NET project. The Watson.Clients package is also published separately.
Does it generate API docs?
Yes. It can generate OpenAPI documents in versions 3.0, 3.1 or 3.2, with 3.0 as the default, and serve Swagger UI.
Is it part of a foundation?
Yes. The README says the project is part of the .NET Foundation.
What are the best WatsonWebserver alternatives?
Popular alternatives to WatsonWebserver include WatsonTcp, ObjectReef and Wfrest. See all WatsonWebserver alternatives








