Skip to content

sisk-http/core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sisk Framework

Discover Sisk | Documentation | Blog | Changelogs | Benchmarks

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.SslProxy: the HTTPS provider for Sisk.
  • Sisk.BasicAuth: the basic authentication package which provides helper request handlers for handling authentication.
  • Sisk.ServiceProvider: (obsolete) the Service Providers utility package for porting your Sisk app between environments. This package is indeed to work with version 0.15 and olders, as 0.16 has it implemented on it's core package.

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 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;

class Program
{
    static async Task Main(string[] args)
    {
        using var app = HttpServer.CreateBuilder(5555).Build();

        app.Router.MapGet("/", request =>
        {
            return new HttpResponse("Hello, world!");
        });

        await app.StartAsync(); // 🚀 app is listening on http://localhost:5555/
    }
}

You can learn more about Sisk on its 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.

  • Lightweight: robust projects tested in small, low-cost, low-performance environments and got good results.
  • 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.

Stargazers over time

Stargazers over time

License

The entire Sisk ecosystem is licensed under the MIT License.