SimpleW 16.1.0

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package SimpleW --version 16.1.0
                    
NuGet\Install-Package SimpleW -Version 16.1.0
                    
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="SimpleW" Version="16.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SimpleW" Version="16.1.0" />
                    
Directory.Packages.props
<PackageReference Include="SimpleW" />
                    
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 SimpleW --version 16.1.0
                    
#r "nuget: SimpleW, 16.1.0"
                    
#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 SimpleW@16.1.0
                    
#: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=SimpleW&version=16.1.0
                    
Install as a Cake Addin
#tool nuget:?package=SimpleW&version=16.1.0
                    
Install as a Cake Tool

SimpleW

website

NuGet Package NuGet Downloads License <br/> Linux MacOS Windows (Visual Studio)

Features

  1. Routing
  2. API REST (Controller/Method + automatic json serialization/deserialization)
  3. Json Web Token
  4. Websocket
  5. Server Sent Events
  6. Static Files
  7. OpenTelemetry

Getting Started

The minimal API

using System;
using System.Net;
using SimpleW;

namespace Sample {
    class Program {

        static void Main() {

            // 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 non blocking background server
            server.Start();

            Console.WriteLine("server started at http://localhost:2015/");

            // block console for debug
            Console.ReadKey();

        }
    }

}

Documentation

To check out docs, visit stratdev3.github.io.

Changelog

Detailed changes for each release are documented in the CHANGELOG.

Contribution

Feel free to report issue.

License

This library is under the MIT License.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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.
  • net8.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on SimpleW:

Package Downloads
SimpleW.Newtonsoft

Newtonsoft.Json integration for SimpleW.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
26.0.0-alpha.20260111-0022 0 1/11/2026
26.0.0-alpha.20260111-0011 0 1/11/2026
26.0.0-alpha.20260107-0153 43 1/7/2026
26.0.0-alpha.20260107-0116 40 1/7/2026
26.0.0-alpha.20260106-0219 34 1/6/2026
26.0.0-alpha.20260106-0215 31 1/6/2026
26.0.0-alpha.20260106-0142 36 1/6/2026
26.0.0-alpha.20260106-0025 34 1/6/2026
26.0.0-alpha.20260105-0244 42 1/5/2026
26.0.0-alpha.20260104-2212 41 1/4/2026
26.0.0-alpha.20260104-2131 36 1/4/2026
26.0.0-alpha.20260104-1657 38 1/4/2026
26.0.0-alpha.20260104-1634 44 1/4/2026
26.0.0-alpha.20260104-1323 40 1/4/2026
26.0.0-alpha.20260104-1146 41 1/4/2026
26.0.0-alpha.20260104-0258 47 1/4/2026
26.0.0-alpha.20260104-0229 40 1/4/2026
26.0.0-alpha.20260104-0207 38 1/4/2026
26.0.0-alpha.20260104-0150 42 1/4/2026
26.0.0-alpha.20260104-0058 42 1/4/2026
26.0.0-alpha.20260103-1123 44 1/3/2026
26.0.0-alpha.20260103-0040 43 1/3/2026
26.0.0-alpha.20260103-0005 43 1/3/2026
26.0.0-alpha.20251231-0223 46 12/31/2025
26.0.0-alpha.20251228-1449 43 12/28/2025
26.0.0-alpha.20251228-1441 42 12/28/2025
26.0.0-alpha.20251228-1404 48 12/28/2025
26.0.0-alpha.20251227-0444 41 12/27/2025
26.0.0-alpha.20251226-2325 42 12/26/2025
26.0.0-alpha.20251226-0151 129 12/26/2025
26.0.0-alpha.20251226-0056 123 12/26/2025
26.0.0-alpha.20251225-0348 133 12/25/2025
26.0.0-alpha.20251225-0247 128 12/25/2025
26.0.0-alpha.20251223-2339 130 12/23/2025
26.0.0-alpha.20251223-1919 124 12/23/2025
26.0.0-alpha.20251223-0204 125 12/23/2025
26.0.0-alpha.20251222-0203 126 12/22/2025
26.0.0-alpha.20251221-2209 126 12/21/2025
26.0.0-alpha.20251221-1244 107 12/21/2025
26.0.0-alpha.20251221-1210 109 12/21/2025
26.0.0-alpha.20251221-0322 75 12/21/2025
26.0.0-alpha.20251220-0342 113 12/20/2025
16.1.0 384 11/2/2025
16.0.0 499 10/20/2025
15.1.0 357 9/18/2025
15.0.0 201 9/13/2025
14.0.1 653 7/22/2025
14.0.0 394 7/20/2025
13.1.0 970 4/21/2025
13.0.0 741 2/14/2025
12.0.1 331 12/26/2024
12.0.0 806 5/1/2024
11.9.0 711 2/15/2024
11.8.0 252 2/14/2024
11.7.0 226 2/3/2024
11.6.0 217 2/2/2024
11.5.0 455 1/14/2024
11.4.0 241 1/4/2024
11.3.3 285 12/24/2023
11.3.2 269 12/24/2023
11.3.1 228 12/24/2023
11.3.0 316 12/15/2023
11.2.0 267 12/9/2023
11.1.0 184 11/7/2023
11.0.0 198 11/1/2023
10.0.0 416 10/22/2023
9.0.1 199 10/22/2023
9.0.0 168 10/21/2023
8.2.0 240 10/18/2023
8.1.2 246 10/12/2023
8.1.1 189 10/12/2023
8.1.0 181 10/12/2023
8.0.8 480 8/17/2023
8.0.7 221 8/16/2023
8.0.6 729 5/15/2023
8.0.5 253 5/15/2023
8.0.4 569 3/30/2023
8.0.3 369 3/29/2023
8.0.2 435 3/19/2023
8.0.1 520 2/16/2023
8.0.0 488 1/25/2023
7.0.0 674 12/1/2022
6.2.4 479 11/30/2022
6.2.3 425 11/30/2022
6.2.2 581 11/10/2022
6.2.1 589 10/20/2022
6.2.0 563 10/5/2022
6.1.0 525 10/4/2022
6.0.0 512 10/2/2022
5.0.0 524 9/30/2022
4.4.6 563 9/28/2022
4.4.5 528 9/28/2022
4.4.4 521 9/27/2022
4.4.3 680 8/29/2022
4.4.2 567 8/24/2022
4.4.1 592 8/24/2022
4.4.0 555 8/24/2022
4.3.2 645 8/13/2022
4.3.1 517 8/13/2022
4.3.0 543 8/11/2022
4.2.8 657 7/29/2022
4.2.7 757 6/28/2022
4.2.6 610 6/28/2022
4.2.5 581 6/14/2022
4.2.4 812 4/27/2022
4.2.3 542 4/27/2022
4.2.2 727 4/7/2022
4.2.1 549 4/7/2022
4.2.0 609 4/4/2022
4.1.0 642 3/22/2022
4.0.0 583 3/21/2022
3.2.0 569 3/20/2022
3.1.2 677 3/10/2022
3.1.1 596 3/8/2022
3.1.0 623 2/22/2022
3.0.0 603 2/21/2022
2.3.0 687 2/11/2022
2.2.1 615 2/3/2022
2.1.1 605 1/31/2022
2.1.0 598 1/30/2022
2.0.0 638 1/23/2022
1.1.1 554 1/3/2022
1.1.0 458 12/26/2021
1.0.15 442 12/16/2021
1.0.14 435 12/16/2021
1.0.13 2,554 11/26/2021
1.0.12 4,029 11/24/2021
1.0.11 3,911 11/24/2021
1.0.10 5,634 11/24/2021
1.0.9 6,720 11/23/2021
1.0.8 1,106 11/20/2021
1.0.7 483 11/15/2021
1.0.6 455 11/15/2021
1.0.5 498 11/12/2021
1.0.4 475 11/12/2021
1.0.3 544 11/12/2021
1.0.2 506 11/11/2021
1.0.1 503 11/10/2021
1.0.0 670 11/10/2021 1.0.0 is deprecated because it has critical bugs.