https://github.com/stratdev3/simplew
Modern Web Server for .NET. Designed for Simplicity. Built for Speed.
https://github.com/stratdev3/simplew
api dotnet http http-server https performance rest restapi sse webserver websocket websocket-server
Last synced: 27 days ago
JSON representation
Modern Web Server for .NET. Designed for Simplicity. Built for Speed.
- Host: GitHub
- URL: https://github.com/stratdev3/simplew
- Owner: stratdev3
- License: mit
- Created: 2023-11-05T12:58:38.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2026-04-11T13:52:51.000Z (about 1 month ago)
- Last Synced: 2026-04-11T15:27:15.864Z (about 1 month ago)
- Topics: api, dotnet, http, http-server, https, performance, rest, restapi, sse, webserver, websocket, websocket-server
- Language: C#
- Homepage: https://simplew.net
- Size: 8.84 MB
- Stars: 93
- Watchers: 4
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# SimpleW
[](https://simplew.net)
[](https://www.nuget.org/packages/SimpleW)

[](licence)
[](https://github.com/stratdev3/SimpleW/actions/workflows/build-linux.yml)
[](https://github.com/stratdev3/SimpleW/actions/workflows/build-macos.yml)
[](https://github.com/stratdev3/SimpleW/actions/workflows/build-windows.yml)
### Getting Started
The minimal API
```cs
using System;
using System.Net;
using SimpleW;
using SimpleW.Observability;
namespace Sample {
class Program {
static async Task Main() {
// debug log
Log.SetSink(Log.ConsoleWriteLine, LogLevel.Debug);
// listen to all IPs port 2015
var server = new SimpleWServer(IPAddress.Any, 2015);
// minimal api
server.MapGet("/api/test", () => {
return new { message = "Hello World !" };
});
// start a blocking background server
await server.RunAsync();
}
}
}
```
## Documentation
To check out docs, visit [simplew.net](https://simplew.net).
## Changelog
Detailed changes for each release are documented in the [CHANGELOG](https://github.com/stratdev3/SimpleW/blob/master/release.md).
## Contribution
Feel free to report issue.
## License
This library is under the MIT License.