SimpleW 16.0.0-alpha.19

This is a prerelease version of SimpleW.
There is a newer prerelease version of this package available.
See the version list below for details.
The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package SimpleW --version 16.0.0-alpha.19
                    
NuGet\Install-Package SimpleW -Version 16.0.0-alpha.19
                    
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.0.0-alpha.19" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SimpleW" Version="16.0.0-alpha.19" />
                    
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.0.0-alpha.19
                    
#r "nuget: SimpleW, 16.0.0-alpha.19"
                    
#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.0.0-alpha.19
                    
#: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.0.0-alpha.19&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=SimpleW&version=16.0.0-alpha.19&prerelease
                    
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
16.0.0-beta.1 46 10/10/2025
16.0.0-alpha.27 51 10/10/2025
15.1.0 303 9/18/2025
15.0.0 155 9/13/2025
14.0.1 603 7/22/2025
14.0.0 352 7/20/2025
13.1.0 807 4/21/2025
13.0.0 698 2/14/2025
12.0.1 285 12/26/2024
12.0.0 767 5/1/2024
11.9.0 673 2/15/2024
11.8.0 209 2/14/2024
11.7.0 176 2/3/2024
11.6.0 181 2/2/2024
11.5.0 418 1/14/2024
11.4.0 202 1/4/2024
11.3.3 247 12/24/2023
11.3.2 221 12/24/2023
11.3.1 182 12/24/2023
11.3.0 277 12/15/2023
11.2.0 215 12/9/2023
11.1.0 165 11/7/2023
11.0.0 176 11/1/2023
10.0.0 398 10/22/2023
9.0.1 183 10/22/2023
9.0.0 152 10/21/2023
8.2.0 221 10/18/2023
8.1.2 224 10/12/2023
8.1.1 169 10/12/2023
8.1.0 165 10/12/2023
8.0.8 454 8/17/2023
8.0.7 196 8/16/2023
8.0.6 692 5/15/2023
8.0.5 229 5/15/2023
8.0.4 540 3/30/2023
8.0.3 329 3/29/2023
8.0.2 402 3/19/2023
8.0.1 487 2/16/2023
8.0.0 456 1/25/2023
7.0.0 640 12/1/2022
6.2.4 433 11/30/2022
6.2.3 397 11/30/2022
6.2.2 538 11/10/2022
6.2.1 554 10/20/2022
6.2.0 529 10/5/2022
6.1.0 483 10/4/2022
6.0.0 474 10/2/2022
5.0.0 488 9/30/2022
4.4.6 526 9/28/2022
4.4.5 493 9/28/2022
4.4.4 480 9/27/2022
4.4.3 642 8/29/2022
4.4.2 520 8/24/2022
4.4.1 547 8/24/2022
4.4.0 517 8/24/2022
4.3.2 614 8/13/2022
4.3.1 486 8/13/2022
4.3.0 498 8/11/2022
4.2.8 616 7/29/2022
4.2.7 720 6/28/2022
4.2.6 559 6/28/2022
4.2.5 544 6/14/2022
4.2.4 769 4/27/2022
4.2.3 503 4/27/2022
4.2.2 694 4/7/2022
4.2.1 516 4/7/2022
4.2.0 568 4/4/2022
4.1.0 601 3/22/2022
4.0.0 542 3/21/2022
3.2.0 533 3/20/2022
3.1.2 631 3/10/2022
3.1.1 553 3/8/2022
3.1.0 580 2/22/2022
3.0.0 562 2/21/2022
2.3.0 635 2/11/2022
2.2.1 576 2/3/2022
2.1.1 566 1/31/2022
2.1.0 547 1/30/2022
2.0.0 598 1/23/2022
1.1.1 514 1/3/2022
1.1.0 422 12/26/2021
1.0.15 400 12/16/2021
1.0.14 398 12/16/2021
1.0.13 2,513 11/26/2021
1.0.12 3,991 11/24/2021
1.0.11 3,866 11/24/2021
1.0.10 5,589 11/24/2021
1.0.9 6,673 11/23/2021
1.0.8 1,066 11/20/2021
1.0.7 443 11/15/2021
1.0.6 415 11/15/2021
1.0.5 456 11/12/2021
1.0.4 436 11/12/2021
1.0.3 495 11/12/2021
1.0.2 465 11/11/2021
1.0.1 462 11/10/2021
1.0.0 595 11/10/2021 1.0.0 is deprecated because it has critical bugs.