Sisk.BasicAuth 0.15.0

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

// Install Sisk.BasicAuth as a Cake Tool
#tool nuget:?package=Sisk.BasicAuth&version=0.15.0                

Welcome to Sisk

Sisk is a powerful framework for building powerful web applications for Windows, Linux and Mac.

With Sisk, you can use the full power of .NET to create fast, dynamic and powerful web applications. It's an alternative to Microsoft's ASP.NET Core, which is simpler and easier to understand and setup.

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:

  • 100% open source
  • Multi-platform and cross-operating system
  • Ultra fast asynchronous response/second average
  • Uses the operating system's native HTTP interface listener
  • Sustainable and maintainable
  • Code-pattern-agnostic
  • Easy setup
  • Same code implementation for *nix, Mac OS and Windows
  • Middlewares, before and/or after request handlers
  • Configurable error handling
  • Support to log advanced logging with rotating support
  • Easy Cross-Origin Resource Sharing setup
  • Server Side Events and Web Sockets support
  • Multiple listening hosts per service
  • Advanced routing system
  • Less than 170kb the entire package
  • Written in C#

You can learn how to get started with Sisk here.

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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.0 75 10/29/2024
0.15.1 114 8/15/2024
0.15.0 191 8/4/2023