Sisk.HttpServer 0.15.0.46-beta

Prefix Reserved
This is a prerelease version of Sisk.HttpServer.
This package has a SemVer 2.0.0 package version: 0.15.0.46-beta+a2cb87ccc6eadd7b14daf1053adf110dbf365343.
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.46-beta
                    
NuGet\Install-Package Sisk.HttpServer -Version 0.15.0.46-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.46-beta" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Sisk.HttpServer" Version="0.15.0.46-beta" />
                    
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.15.0.46-beta
                    
#r "nuget: Sisk.HttpServer, 0.15.0.46-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.
#:package Sisk.HttpServer@0.15.0.46-beta
                    
#: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.15.0.46-beta&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Sisk.HttpServer&version=0.15.0.46-beta&prerelease
                    
Install as a Cake Tool

Sisk is a web development framework that is lightweight, agnostic, easy, simple, and robust. Its core idea is to create a service that runs on the internet and follows the pattern you define. Moreover, Sisk is a framework that adapts to how you want it to work, not the other way around.

Due to its explicit nature, its behavior is predictable. The main differentiator from ASP.NET is that Sisk can be up and running in very few lines of code, avoiding unnecessary configurations, and requiring the minimum setup to get your server working. Additionally, it does not demand any additional .NET SDK packages to develop, as the base package of .NET 6 is sufficient to start your development with Sisk.

It can handle multiple requests asynchronously, provides useful tools to manage and accelerate web development.

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

namespace myProgram;

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

Sisk can do web development the way you want. Create MVC, MVVC, SOLID applications, or any other design pattern you're interested in.

  • Lightweight: robust projects tested in small, low-cost, low-performance environments and got good results. The entire Sisk ecosystem is less than 500kb in size!
  • Open-source: the entire Sisk ecosystem is open source, and all the libraries and technologies we use must be open source as well. Sisk is entirely distributed under the MIT License, which allows the commercial development.
  • Sustainable: you are the one who makes the project, Sisk gives you the tools. Because it is open source, the community (including you) can maintain, fix bugs and improve Sisk over time.

What is Sisk for?

You can create Restful applications, gRPC, Websockets, file servers, GraphQL, Entity Framework, and more - basically whatever you want. Sisk is an extremely modular and sustainable framework. Furthermore, its current development is intense, and there's much more to be added to Sisk, but the focus is to keep it a simple, easy-to-maintain, and enjoyable framework for developers to start projects of any size.

Sisk was also been tested in low-performance environments, like machines with less than 1GB of RAM, and it can process over twenty thousand requests per second. The code, from arrival on the server to the response, is extremely concise, with very few steps before reaching the client.

One of the pillars of developing with Sisk is compatibility with any machine that supports .NET, including those that do not require Native AOT. Some additional implementations are also provided to the Sisk ecosystem, such as porting projects to other machines with configuration files, a view-engine based on LISP, among others, served with packages beyond the Sisk core package. By design, Sisk is built to work with routers, but don't worry, you are not obligated to use them. Sisk will provide you with all the necessary infrastructure to create a secure application that doesn't obfuscate your code.

There's no need for excessive ceremony, fluff, or spending hours on boring documentation. Sisk is simple and elegant in its syntax, facilitating the development of fast and complex systems.

But why not just use ASP.NET?

ASP.NET is an great and well-established web framework, and many features present in Sisk were inspired by it. However, Sisk focuses on simpler and more performant development, eliminating the need for installing additional components in your system, project, editor, etc. Sisk was designed to be straightforward and robust, enabling the creation of anything you desire.

Moreover, its development model allows you to choose how you want your development to be. You handle requests in a simple, efficient, explicit, and fast manner. Knowledge and understanding of HTTP are required if you want to do everything manually, and even then, Sisk can greatly simplify things with all the functions it provides in its core package.

Getting started with Sisk is easy. Those who already have experience with web development typically learn Sisk in one or two days. Our documentation is� let's say� very well-documented. You can find everything you need here. Additionally, our source code is open, so you have access to it.

Documentation

You can get started here or access the documentation repository here.

Installation

You can install the latest release from Nuget packages:

PM> NuGet\Install-Package Sisk.HttpServer
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.  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.
  • net7.0

    • No dependencies.

NuGet packages (5)

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.SslProxy

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

Sisk.IniConfiguration

This package provides an INI configuration provider for Sisk projects.

Sisk.BasicAuth

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

Sisk.JsonRpc

This package provides an JSON-RPC 2.0 interface for Sisk projects.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.5.0-beta3 131 7/7/2025
1.5.0-beta1 148 6/4/2025
1.4.3 220 5/2/2025
1.4.2 245 4/8/2025
1.4.1 548 3/29/2025
1.4.1-beta1 156 3/17/2025
1.4.0.1 321 2/10/2025
1.4.0-beta3 207 1/22/2025
1.4.0-beta2 86 1/19/2025
1.4.0-beta1 83 1/14/2025
1.3.2 189 1/2/2025
1.3.1 181 12/12/2024
1.3.0 175 11/13/2024
1.3.0-rc5 117 11/10/2024
1.3.0-rc4 95 11/9/2024
1.3.0-rc2 100 11/5/2024
1.3.0-rc 96 11/5/2024
1.2.0 172 10/29/2024
1.1.1 1,252 10/17/2024
1.1.0 281 9/22/2024
1.0.4 118 10/17/2024
1.0.3 201 9/13/2024
1.0.2 191 9/1/2024
1.0.1 191 8/28/2024
1.0.0 208 8/16/2024
1.0.0-rc8 149 8/13/2024
1.0.0-rc7 113 8/1/2024
1.0.0-rc6 90 7/24/2024
1.0.0-rc4 107 7/10/2024
1.0.0-rc3 88 7/4/2024
1.0.0-rc2 114 6/24/2024
1.0.0-rc1 123 6/7/2024
0.16.2 669 4/28/2024
0.16.2-beta4 138 4/24/2024
0.16.1 428 2/26/2024
0.16.0 2,416 1/9/2024
0.16.0-rc-5 277 1/3/2024
0.16.0-rc-4 151 12/21/2023
0.16.0-rc-3 170 12/7/2023
0.16.0-rc-2 159 11/25/2023
0.16.0-rc-1 147 11/13/2023
0.15.3.1 155 2/19/2024
0.15.3 243 11/25/2023
0.15.2 826 10/30/2023
0.15.1 238 9/30/2023
0.15.0.47 274 8/30/2023
0.15.0.47-rc 73 8/25/2023
0.15.0.46-beta 96 8/22/2023
0.15.0.42-beta 193 8/16/2023
0.15.0.6-beta 203 8/9/2023
0.15.0-beta 203 7/20/2023
0.14.0.1 263 7/18/2023
0.14.0 224 7/17/2023
0.13.1.1 236 6/10/2023
0.13.1 240 6/8/2023
0.13.0 251 5/20/2023
0.12.1 223 5/2/2023
0.12.0 241 4/29/2023
0.11.1 235 4/9/2023
0.11.0 294 3/30/2023
0.10.1 288 3/21/2023
0.10.0 269 3/15/2023
0.9.1 310 3/2/2023
0.9.0 299 2/22/2023
0.8.9 299 2/14/2023
0.8.8 314 2/8/2023
0.8.6 349 2/2/2023
0.8.5 336 2/1/2023
0.8.4 383 1/31/2023 0.8.4 is deprecated because it has critical bugs.
0.8.3 351 1/26/2023
0.8.2 383 1/10/2023
0.8.1 366 1/7/2023
0.8.0 374 1/6/2023
0.7.5 346 12/28/2022
0.7.4 379 12/27/2022
0.7.3 354 12/26/2022
0.7.2 371 12/22/2022
0.7.1 357 12/21/2022
0.7.0 372 12/21/2022
0.6.4 353 12/13/2022
0.6.3 369 12/11/2022
0.6.2 380 12/11/2022
0.6.1 353 12/10/2022
0.6.0 358 12/9/2022
0.5.0 409 11/16/2022
0.4.8 420 10/30/2022
0.4.6 436 10/27/2022
0.4.1 469 10/19/2022
0.4.0 459 10/18/2022
0.3.1 471 10/15/2022
0.3.0 479 10/15/2022