Celerio 1.0.0

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

// Install Celerio as a Cake Tool
#tool nuget:?package=Celerio&version=1.0.0

Celerio

Celerio is a Lightweight and Fast Framework for Building HTTP Web Apps in C#.

Installation

Just install nuget package https://www.nuget.org/packages/Celerio

Usage

  1. At any point in your application, create pipeline instance
    var pipeline = new Pipeline();
  1. If you're going to use authentication, then change crypto keys
    pipeline.Authentification = new DefaultAuthentification("key", "salt");
  1. Configure pipeline any way you want (e.g. Change authentification scheme or add IP blacklist)

  2. Create anywhere an endpoint for e.g.

    [Route("GET", "/sum", "/add", "/add/{a}/{b}", "/sum/{a}/{b}")]
    public static HttpResponse Sum(int a, int b)
    {
        return HttpResponse.Ok((a+b).ToString());
    }
  1. Then just create server instance and run it
    Server server = new Server(pipeline);
    await server.StartListening(5000);

Documentation

See documentation here

Contacts

Oxule

ribb2017@mail.ru

@Oxule

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 is compatible.  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.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.
  • net8.0

    • No dependencies.

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.1.0.3 62 6/21/2024
1.1.0.2 64 6/21/2024
1.1.0.1 68 6/21/2024
1.1.0 69 6/20/2024
1.0.6.8 67 6/19/2024
1.0.6.7 77 6/16/2024
1.0.6.6 105 5/29/2024
1.0.6.5 82 5/27/2024
1.0.6.4 105 5/26/2024
1.0.6.3 61 5/2/2024
1.0.6.2 106 4/26/2024
1.0.6.1 116 4/26/2024
1.0.5 117 4/26/2024
1.0.4 74 4/19/2024
1.0.3 74 4/19/2024
1.0.2 84 4/19/2024
1.0.0 88 4/19/2024