Sisk.HttpServer
0.6.2
Prefix Reserved
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
<PackageReference Include="Sisk.HttpServer" Version="0.6.2" />
<PackageVersion Include="Sisk.HttpServer" Version="0.6.2" />
<PackageReference Include="Sisk.HttpServer" />
paket add Sisk.HttpServer --version 0.6.2
#r "nuget: Sisk.HttpServer, 0.6.2"
#:package Sisk.HttpServer@0.6.2
#addin nuget:?package=Sisk.HttpServer&version=0.6.2
#tool nuget:?package=Sisk.HttpServer&version=0.6.2
<p align="center"> <img width="100%" height="auto" src="https://i.imgur.com/RCljAQs.png"> </p>
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 | Versions 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. |
-
net6.0
- No dependencies.
NuGet packages (8)
Showing the top 5 NuGet packages that depend on Sisk.HttpServer:
| Package | Downloads |
|---|---|
|
Sisk.ServiceProvider
This package includes tools for easily porting your Sisk service. |
|
|
Sisk.IniConfiguration
This package provides an INI configuration provider for Sisk projects. |
|
|
Sisk.SslProxy
This package provides an experimental SSL proxy for the Sisk Framework and other .NET projects. |
|
|
Sisk.Cadente.CoreEngine
Cadente is a high-performance managed implementation of HTTP/1.1 with SSL support for .NET. |
|
|
Sisk.BasicAuth
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.6.1 | 184 | 12/24/2025 | |
| 1.6.0 | 273 | 12/16/2025 | |
| 1.6.0-beta7 | 192 | 11/26/2025 | |
| 1.6.0-beta5 | 396 | 11/19/2025 | |
| 1.6.0-beta4 | 129 | 11/7/2025 | |
| 1.6.0-beta3 | 189 | 11/6/2025 | |
| 1.6.0-beta2 | 191 | 11/3/2025 | |
| 1.6.0-beta1 | 121 | 11/1/2025 | |
| 1.5.2 | 344 | 10/9/2025 | |
| 1.5.1 | 258 | 9/8/2025 | |
| 1.5.0 | 205 | 8/18/2025 | |
| 1.5.0-rc1 | 196 | 8/17/2025 | |
| 1.5.0-beta3 | 188 | 7/7/2025 | |
| 1.5.0-beta1 | 215 | 6/4/2025 | |
| 1.4.3 | 318 | 5/2/2025 | |
| 1.4.2 | 444 | 4/8/2025 | |
| 1.4.1 | 1,000 | 3/29/2025 | |
| 1.4.1-beta1 | 205 | 3/17/2025 | |
| 1.4.0.1 | 530 | 2/10/2025 | |
| 1.4.0-beta3 | 314 | 1/22/2025 | |
| 1.4.0-beta2 | 133 | 1/19/2025 | |
| 1.4.0-beta1 | 122 | 1/14/2025 | |
| 1.3.2 | 289 | 1/2/2025 | |
| 1.3.1 | 275 | 12/12/2024 | |
| 1.3.0 | 238 | 11/13/2024 | |
| 1.3.0-rc5 | 156 | 11/10/2024 | |
| 1.3.0-rc4 | 123 | 11/9/2024 | |
| 1.3.0-rc2 | 142 | 11/5/2024 | |
| 1.3.0-rc | 143 | 11/5/2024 | |
| 1.2.0 | 254 | 10/29/2024 | |
| 1.1.1 | 1,332 | 10/17/2024 | |
| 1.1.0 | 358 | 9/22/2024 | |
| 1.0.4 | 203 | 10/17/2024 | |
| 1.0.3 | 266 | 9/13/2024 | |
| 1.0.2 | 247 | 9/1/2024 | |
| 1.0.1 | 259 | 8/28/2024 | |
| 1.0.0 | 280 | 8/16/2024 | |
| 1.0.0-rc8 | 214 | 8/13/2024 | |
| 1.0.0-rc7 | 174 | 8/1/2024 | |
| 1.0.0-rc6 | 129 | 7/24/2024 | |
| 1.0.0-rc4 | 174 | 7/10/2024 | |
| 1.0.0-rc3 | 124 | 7/4/2024 | |
| 1.0.0-rc2 | 157 | 6/24/2024 | |
| 1.0.0-rc1 | 170 | 6/7/2024 | |
| 0.16.2 | 753 | 4/28/2024 | |
| 0.16.2-beta4 | 202 | 4/24/2024 | |
| 0.16.1 | 512 | 2/26/2024 | |
| 0.16.0 | 2,824 | 1/9/2024 | |
| 0.16.0-rc-5 | 321 | 1/3/2024 | |
| 0.16.0-rc-4 | 213 | 12/21/2023 | |
| 0.16.0-rc-3 | 218 | 12/7/2023 | |
| 0.16.0-rc-2 | 204 | 11/25/2023 | |
| 0.16.0-rc-1 | 213 | 11/13/2023 | |
| 0.15.3.1 | 220 | 2/19/2024 | |
| 0.15.3 | 296 | 11/25/2023 | |
| 0.15.2 | 873 | 10/30/2023 | |
| 0.15.1 | 288 | 9/30/2023 | |
| 0.15.0.47 | 342 | 8/30/2023 | |
| 0.15.0.47-rc | 91 | 8/25/2023 | |
| 0.15.0.46-beta | 119 | 8/22/2023 | |
| 0.15.0.42-beta | 239 | 8/16/2023 | |
| 0.15.0.6-beta | 272 | 8/9/2023 | |
| 0.15.0-beta | 278 | 7/20/2023 | |
| 0.14.0.1 | 324 | 7/18/2023 | |
| 0.14.0 | 281 | 7/17/2023 | |
| 0.13.1.1 | 325 | 6/10/2023 | |
| 0.13.1 | 324 | 6/8/2023 | |
| 0.13.0 | 325 | 5/20/2023 | |
| 0.12.1 | 287 | 5/2/2023 | |
| 0.12.0 | 326 | 4/29/2023 | |
| 0.11.1 | 307 | 4/9/2023 | |
| 0.11.0 | 386 | 3/30/2023 | |
| 0.10.1 | 377 | 3/21/2023 | |
| 0.10.0 | 343 | 3/15/2023 | |
| 0.9.1 | 385 | 3/2/2023 | |
| 0.9.0 | 370 | 2/22/2023 | |
| 0.8.9 | 379 | 2/14/2023 | |
| 0.8.8 | 388 | 2/8/2023 | |
| 0.8.6 | 420 | 2/2/2023 | |
| 0.8.5 | 405 | 2/1/2023 | |
| 0.8.4 | 495 | 1/31/2023 | |
| 0.8.3 | 445 | 1/26/2023 | |
| 0.8.2 | 465 | 1/10/2023 | |
| 0.8.1 | 463 | 1/7/2023 | |
| 0.8.0 | 444 | 1/6/2023 | |
| 0.7.5 | 413 | 12/28/2022 | |
| 0.7.4 | 475 | 12/27/2022 | |
| 0.7.3 | 434 | 12/26/2022 | |
| 0.7.2 | 447 | 12/22/2022 | |
| 0.7.1 | 437 | 12/21/2022 | |
| 0.7.0 | 433 | 12/21/2022 | |
| 0.6.4 | 452 | 12/13/2022 | |
| 0.6.3 | 459 | 12/11/2022 | |
| 0.6.2 | 477 | 12/11/2022 | |
| 0.6.1 | 428 | 12/10/2022 | |
| 0.6.0 | 434 | 12/9/2022 | |
| 0.5.0 | 483 | 11/16/2022 | |
| 0.4.8 | 504 | 10/30/2022 | |
| 0.4.6 | 513 | 10/27/2022 | |
| 0.4.1 | 556 | 10/19/2022 | |
| 0.4.0 | 549 | 10/18/2022 | |
| 0.3.1 | 540 | 10/15/2022 | |
| 0.3.0 | 565 | 10/15/2022 |