Sisk.HttpServer 0.15.0-beta

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
This is a prerelease version of Sisk.HttpServer.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Sisk.HttpServer --version 0.15.0-beta
NuGet\Install-Package Sisk.HttpServer -Version 0.15.0-beta
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="Sisk.HttpServer" Version="0.15.0-beta" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Sisk.HttpServer --version 0.15.0-beta
#r "nuget: Sisk.HttpServer, 0.15.0-beta"
#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.
// Install Sisk.HttpServer as a Cake Addin
#addin nuget:?package=Sisk.HttpServer&version=0.15.0-beta&prerelease

// Install Sisk.HttpServer as a Cake Tool
#tool nuget:?package=Sisk.HttpServer&version=0.15.0-beta&prerelease

Welcome to Sisk

Sisk is a powerful framework for building powerful web applications for Windows, Linux and Mac.

With Sisk, you can use the full power of .NET to create fast, dynamic and powerful web applications. It's an alternative to Microsoft's ASP.NET Core, which is simpler and easier to understand and setup.

public class Program
{
    static void Main(string[] args)
    {
        HttpServer http = HttpServer.Emit(
            insecureHttpPort: 5555,
            out HttpServerConfiguration serverConfig,
            out ListeningHost listeningHost,
            out Router mainRouter
        );

        mainRouter += new Route(RouteMethod.Get, "/", request =>
        {
            return new HttpResponse(200) { Content = new StringContent("Hello, world!") };
        });

        http.Start();

        Console.WriteLine($"HTTP server is listening on {http.ListeningPrefixes[0]}");

        Thread.Sleep(-1);
    }
}

Main features:

  • 100% open source
  • Multi-platform and cross-operating system
  • Ultra fast asynchronous response/second average
  • Uses the operating system's native HTTP interface listener
  • Sustainable and maintainable
  • Code-pattern-agnostic
  • Easy setup
  • Same code implementation for *nix, Mac OS and Windows
  • Middlewares, before and/or after request handlers
  • Configurable error handling
  • Support to log advanced logging with rotating support
  • Easy Cross-Origin Resource Sharing setup
  • Server Side Events and Web Sockets support
  • Multiple listening hosts per service
  • Advanced routing system
  • Less than 170kb the entire package
  • Written in C#

You can learn how to get started with Sisk here.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Sisk.HttpServer:

Package Downloads
Sisk.ServiceProvider The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

This package includes tools for easily porting your Sisk service.

Sisk.BasicAuth The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

This package includes an helper for embeding basic authentication in your applications made with Sisk.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0-rc2 55 6/24/2024
1.0.0-rc1 78 6/7/2024
0.16.2 255 4/28/2024
0.16.2-beta4 92 4/24/2024
0.16.1 144 2/26/2024
0.16.0 1,346 1/9/2024
0.16.0-rc-5 205 1/3/2024
0.16.0-rc-4 91 12/21/2023
0.16.0-rc-3 96 12/7/2023
0.16.0-rc-2 116 11/25/2023
0.16.0-rc-1 97 11/13/2023
0.15.3.1 85 2/19/2024
0.15.3 185 11/25/2023
0.15.2 431 10/30/2023
0.15.1 175 9/30/2023
0.15.0.47 189 8/30/2023
0.15.0.47-rc 55 8/25/2023
0.15.0.46-beta 58 8/22/2023
0.15.0.42-beta 126 8/16/2023
0.15.0.6-beta 136 8/9/2023
0.15.0-beta 136 7/20/2023
0.14.0.1 207 7/18/2023
0.14.0 161 7/17/2023
0.13.1.1 162 6/10/2023
0.13.1 167 6/8/2023
0.13.0 173 5/20/2023
0.12.1 153 5/2/2023
0.12.0 166 4/29/2023
0.11.1 172 4/9/2023
0.11.0 224 3/30/2023
0.10.1 205 3/21/2023
0.10.0 204 3/15/2023
0.9.1 249 3/2/2023
0.9.0 229 2/22/2023
0.8.9 237 2/14/2023
0.8.8 248 2/8/2023
0.8.6 283 2/2/2023
0.8.5 269 2/1/2023
0.8.4 289 1/31/2023
0.8.3 277 1/26/2023
0.8.2 311 1/10/2023
0.8.1 298 1/7/2023
0.8.0 296 1/6/2023
0.7.5 272 12/28/2022
0.7.4 300 12/27/2022
0.7.3 282 12/26/2022
0.7.2 301 12/22/2022
0.7.1 289 12/21/2022
0.7.0 306 12/21/2022
0.6.4 281 12/13/2022
0.6.3 305 12/11/2022
0.6.2 314 12/11/2022
0.6.1 287 12/10/2022
0.6.0 297 12/9/2022
0.5.0 340 11/16/2022
0.4.8 348 10/30/2022
0.4.6 364 10/27/2022
0.4.1 385 10/19/2022
0.4.0 379 10/18/2022
0.3.1 402 10/15/2022
0.3.0 412 10/15/2022