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.20260118-2346 20 1/18/2026
26.0.0-alpha.20260118-2036 33 1/18/2026
26.0.0-alpha.20260118-1725 28 1/18/2026
26.0.0-alpha.20260117-1408 31 1/17/2026
26.0.0-alpha.20260117-0024 39 1/17/2026
26.0.0-alpha.20260115-2259 33 1/15/2026
26.0.0-alpha.20260115-0118 35 1/15/2026
26.0.0-alpha.20260113-0126 35 1/13/2026
26.0.0-alpha.20260112-2345 38 1/12/2026
26.0.0-alpha.20260112-2319 41 1/12/2026
26.0.0-alpha.20260111-2244 43 1/11/2026
26.0.0-alpha.20260111-1852 42 1/11/2026
26.0.0-alpha.20260111-1821 42 1/11/2026
26.0.0-alpha.20260111-0022 41 1/11/2026
26.0.0-alpha.20260111-0011 41 1/11/2026
26.0.0-alpha.20260107-0153 53 1/7/2026
26.0.0-alpha.20260107-0116 48 1/7/2026
26.0.0-alpha.20260106-0219 42 1/6/2026
26.0.0-alpha.20260106-0215 38 1/6/2026
26.0.0-alpha.20260106-0142 44 1/6/2026
26.0.0-alpha.20260106-0025 43 1/6/2026
26.0.0-alpha.20260105-0244 44 1/5/2026
26.0.0-alpha.20260104-2212 43 1/4/2026
26.0.0-alpha.20260104-2131 38 1/4/2026
26.0.0-alpha.20260104-1657 40 1/4/2026
26.0.0-alpha.20260104-1634 46 1/4/2026
26.0.0-alpha.20260104-1323 42 1/4/2026
26.0.0-alpha.20260104-1146 43 1/4/2026
26.0.0-alpha.20260104-0258 48 1/4/2026
26.0.0-alpha.20260104-0229 44 1/4/2026
26.0.0-alpha.20260104-0207 39 1/4/2026
26.0.0-alpha.20260104-0150 44 1/4/2026
26.0.0-alpha.20260104-0058 43 1/4/2026
26.0.0-alpha.20260103-1123 48 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 49 12/31/2025
26.0.0-alpha.20251228-1449 46 12/28/2025
26.0.0-alpha.20251228-1441 45 12/28/2025
26.0.0-alpha.20251228-1404 49 12/28/2025
26.0.0-alpha.20251227-0444 44 12/27/2025
26.0.0-alpha.20251226-2325 45 12/26/2025
26.0.0-alpha.20251226-0151 129 12/26/2025
26.0.0-alpha.20251226-0056 128 12/26/2025
26.0.0-alpha.20251225-0348 136 12/25/2025
26.0.0-alpha.20251225-0247 131 12/25/2025
26.0.0-alpha.20251223-2339 130 12/23/2025
26.0.0-alpha.20251223-1919 126 12/23/2025
26.0.0-alpha.20251223-0204 133 12/23/2025
26.0.0-alpha.20251222-0203 129 12/22/2025
26.0.0-alpha.20251221-2209 128 12/21/2025
26.0.0-alpha.20251221-1244 110 12/21/2025
26.0.0-alpha.20251221-1210 110 12/21/2025
26.0.0-alpha.20251221-0322 75 12/21/2025
26.0.0-alpha.20251220-0342 115 12/20/2025
16.1.0 402 11/2/2025
16.0.0 509 10/20/2025
15.1.0 366 9/18/2025
15.0.0 209 9/13/2025
14.0.1 661 7/22/2025
14.0.0 400 7/20/2025
13.1.0 992 4/21/2025
13.0.0 753 2/14/2025
12.0.1 340 12/26/2024
12.0.0 820 5/1/2024
11.9.0 721 2/15/2024
11.8.0 262 2/14/2024
11.7.0 234 2/3/2024
11.6.0 227 2/2/2024
11.5.0 463 1/14/2024
11.4.0 249 1/4/2024
11.3.3 293 12/24/2023
11.3.2 279 12/24/2023
11.3.1 235 12/24/2023
11.3.0 326 12/15/2023
11.2.0 279 12/9/2023
11.1.0 186 11/7/2023
11.0.0 201 11/1/2023
10.0.0 416 10/22/2023
9.0.1 202 10/22/2023
9.0.0 172 10/21/2023
8.2.0 248 10/18/2023
8.1.2 249 10/12/2023
8.1.1 192 10/12/2023
8.1.0 184 10/12/2023
8.0.8 484 8/17/2023
8.0.7 225 8/16/2023
8.0.6 730 5/15/2023
8.0.5 256 5/15/2023
8.0.4 574 3/30/2023
8.0.3 373 3/29/2023
8.0.2 436 3/19/2023
8.0.1 526 2/16/2023
8.0.0 493 1/25/2023
7.0.0 678 12/1/2022
6.2.4 481 11/30/2022
6.2.3 429 11/30/2022
6.2.2 583 11/10/2022
6.2.1 592 10/20/2022
6.2.0 570 10/5/2022
6.1.0 525 10/4/2022
6.0.0 517 10/2/2022
5.0.0 528 9/30/2022
4.4.6 566 9/28/2022
4.4.5 531 9/28/2022
4.4.4 523 9/27/2022
4.4.3 682 8/29/2022
4.4.2 569 8/24/2022
4.4.1 597 8/24/2022
4.4.0 557 8/24/2022
4.3.2 652 8/13/2022
4.3.1 522 8/13/2022
4.3.0 548 8/11/2022
4.2.8 660 7/29/2022
4.2.7 758 6/28/2022
4.2.6 612 6/28/2022
4.2.5 583 6/14/2022
4.2.4 813 4/27/2022
4.2.3 546 4/27/2022
4.2.2 732 4/7/2022
4.2.1 549 4/7/2022
4.2.0 613 4/4/2022
4.1.0 645 3/22/2022
4.0.0 587 3/21/2022
3.2.0 574 3/20/2022
3.1.2 678 3/10/2022
3.1.1 600 3/8/2022
3.1.0 626 2/22/2022
3.0.0 605 2/21/2022
2.3.0 689 2/11/2022
2.2.1 621 2/3/2022
2.1.1 606 1/31/2022
2.1.0 604 1/30/2022
2.0.0 643 1/23/2022
1.1.1 557 1/3/2022
1.1.0 462 12/26/2021
1.0.15 445 12/16/2021
1.0.14 439 12/16/2021
1.0.13 2,558 11/26/2021
1.0.12 4,029 11/24/2021
1.0.11 3,917 11/24/2021
1.0.10 5,639 11/24/2021
1.0.9 6,725 11/23/2021
1.0.8 1,110 11/20/2021
1.0.7 487 11/15/2021
1.0.6 460 11/15/2021
1.0.5 499 11/12/2021
1.0.4 479 11/12/2021
1.0.3 547 11/12/2021
1.0.2 512 11/11/2021
1.0.1 507 11/10/2021
1.0.0 673 11/10/2021 1.0.0 is deprecated because it has critical bugs.