Sisk.HttpServer 0.6.2

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

<p align="center"> <img width="100%" height="auto" src="https://i.imgur.com/RCljAQs.png"> </p>

Nuget

Sisk is a powerful micro-framework for building powerful Restful web APIs. It was written using .NET 6 and Microsoft-HTTPAPI/2.0 as their HTTP Engines. Currently, this micro-framework is suitable for building restful APIs, in a structured and object-oriented way. There is no native support for frontend rendering, templates or database connection. You can extend it as you see fit.

Features

  • Ultra fast response/second average
  • Support to operating system's native WebSocket control
  • Sustainable and maintainable
  • Abstract of usage models
  • Database-agnostic
  • Compatible implementation with *nix, Mac OS and Windows
  • Asynchronous
  • Request handling before callback support
  • Built-in configurable rate limiter
  • Configurable error handling
  • Support to log access logs
  • Easy Cross-Origin Resource Sharing setup
  • Written in C# using the Microsoft-HTTPAPI/2.0 (same as IIS)

Note: this micro-framework only works for HTTP and not HTTPS. To use it over TLS/HTTPS, use a reverse proxy.

Documentation

You can access the Sisk documentation here.

Installation

You can install the latest release from Nuget:

PM> dotnet add package Sisk.HttpServer

You can see more info in the docs.

And then you can start building your own HTTP api, like this:

using Sisk.Core.Http;
using Sisk.Core.Routing;

namespace Sisk.Server
{
    internal class Program
    {
        public static HttpServer? Server { get; set; }
        public static Router? Router { get; set; }

        static void Main(string[] args)
        {
            Router = new();
            Router.SetRoute(RouteMethod.Get, "/", (req) => 
            {
                return req.CreateOkResponse("Hello, world!");
            });

            HttpServerConfiguration config = new HttpServerConfiguration();
            config.ListeningPort = 7488;

            Server = new(Router, config)
            {
                Verbose = true
            };

            Console.WriteLine("Sisk is listening on HTTP localhost:{0}", config.ListeningPort);
            Server.Start();

            Console.ReadKey();
        }
    }
}
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 was computed.  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.  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.
  • net6.0

    • No dependencies.

NuGet packages (11)

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

Package Downloads
Sisk.Cadente.CoreEngine

Sisk engine integration for Cadente, binding the managed HTTP/1.1 host to Sisk's request pipeline and response model.

Sisk.IniConfiguration

INI-backed configuration provider for Sisk applications, with typed loading support built on the Sisk.IniConfiguration.Core parser.

Sisk.ServiceProvider

This package includes tools for easily porting your Sisk service.

Sisk.SslProxy

This package provides an experimental SSL proxy for the Sisk Framework and other .NET projects.

Sisk.BasicAuth

Basic authentication helpers for Sisk applications, including request validation utilities for protecting routes with HTTP credentials.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Sisk.HttpServer:

Repository Stars
MDA2AV/HttpArena
The most complete HTTP open source benchmarking platform. Don't just say you're fast, prove it.
Version Downloads Last Updated
1.6.3 429 7/24/2026
1.6.3-rc2 184 7/7/2026
1.6.3-rc1 236 6/16/2026
1.6.3-beta1 136 6/2/2026
1.6.2 267 4/18/2026
1.6.1 967 12/24/2025
1.6.0 353 12/16/2025
1.6.0-beta7 246 11/26/2025
1.6.0-beta5 447 11/19/2025
1.6.0-beta4 203 11/7/2025
1.6.0-beta3 258 11/6/2025
1.6.0-beta2 257 11/3/2025
1.6.0-beta1 175 11/1/2025
1.5.2 529 10/9/2025
1.5.1 342 9/8/2025
1.5.0 280 8/18/2025
1.5.0-rc1 263 8/17/2025
1.5.0-beta3 241 7/7/2025
1.5.0-beta1 262 6/4/2025
0.6.2 510 12/11/2022
Loading failed