Skip to content

sisk-http/core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

351 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sisk Framework

Discover Sisk | Documentation | Blog | Changelogs | Benchmarks

Tests Nuget Nuget Nuget Nuget Nuget

Sisk is a set of libraries for web development that is lightweight, agnostic, easy, simple, and robust. The perfect choice for your next project.


Documentation

You can get started with Sisk here or build the documentation repository here.

For information about release notes, changelogs and API breaking changes, please refer to changelogs archive.

Installing

You can install the latest release from Nuget packages:

dotnet add package Sisk.HttpServer

Packages

In this repository, you have the source code of:

  • Sisk.HttpServer: the Sisk Framework mainframe and core functions.
  • Sisk.IniConfiguration: an INI-document configuration provider for Sisk.
  • Sisk.BasicAuth: lightweight HTTP Basic Authentication helpers, including request handlers and credential primitives for protected endpoints.
  • Sisk.Documenting: API documentation generation tools for Sisk applications, with OpenAPI export and extensibility points for examples and content schemas.
  • Sisk.ModelContextProtocol: integration components to expose Sisk services through the Model Context Protocol (MCP), helping AI clients discover and use tools/resources from your app.
  • Sisk.Monitoring: runtime monitoring utilities for inspecting server behavior, observing request flow, and improving diagnostics in production-like environments.
  • Sisk.Cadente: an experimental "ultrafast" implementation of the HTTP/1.1 protocol in pure C#.

Legacy projects

The following packages are currently kept for compatibility and migration scenarios:

Screenshots

Project Screenshot
Sisk.Documenting Sisk.Documenting screenshot
Sisk.Monitoring Sisk.Monitoring screenshot

Getting started

The Sisk 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 fully predictable. The main differentiator from ASP.NET is that Sisk can be built and run 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 work with, as the base package of .NET is sufficient to start your development with Sisk.

You can build applications that are not necessarily a complete web application, but that have an web module, such as receiving an OAuth authorization token, hosting a UI to control your application, monitoring logs, etc. Sisk is very flexible and abstract.

class Program
{
    static async Task Main(string[] args)
    {
        using var app = HttpServer.CreateBuilder()
            .UseListeningPort("http://localhost:5000/")
            .Build();
        
        app.Router.MapGet("/", request =>
        {
            return new HttpResponse()
            {
                Status = 200,
                Content = new StringContent("Hello, world!")
            };
        });
        
        await app.StartAsync();
    }
}

You can learn more about Sisk on it's website.

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.

  • Flexible: you're not limited to build an full-featured web application, but it can be an module to your existing project.
  • Lightweight: robust projects can be runned in small, low-cost environments and provide a nice performance. The Sisk core server also uses zero dependencies on it's core library.
  • 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: the project adapts to the pattern you want. Write MVC, MVVM, Clean-Architecture, OOP, Functional applications... you are in control.

Stargazers over time

Stargazers over time

License

The entire Sisk ecosystem is licensed under the MIT License.

About

Sisk's request and response processor mainframe source code.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Contributors

Languages