Effinitive

A ground-up C# web framework with a custom HTTP server, full HTTP/2 implementation, and sub-50μs response times.

v1.3.1
1.2k installs
HTTP/1.1 · HTTP/2
<50μs response
<50μs
Response time
per request, p50
16×
vs ASP.NET Core
faster than Minimal API
16×
vs FastEndpoints
delivered on the promise
1.11×
vs GenHTTP
edges the custom-server class

Milestones achieved

HTTP/1.1 Compliance

Featured on Http11Probe — the public compliance suite comparing frameworks on RFC 7230 conformance, request smuggling, malformed input handling, and normalization.

View probe results

C# Web Frameworks Benchmark

Listed in the public web-frameworks benchmark alongside ASP.NET Core, Minimal API, and FastEndpoints — ranked on RPS and latency.

See the ranking

Coming soon

  • HTTP/3 (QUIC) transport
  • OpenAPI / Swagger generator
  • Source-generator endpoint registration
  • Expanded sample apps & templates
Install
dotnet add package EffinitiveFramework.Core
Quick Start

Your first endpoint

Type-safe endpoints with generic request/response handling. Here’s a minimal working sample.

1. Install

dotnet add package EffinitiveFramework.Core

2. Define an endpoint

using EffinitiveFramework.Core;

public class HealthCheckEndpoint : NoRequestEndpointBase<HealthResponse>
{
    protected override string Method => "GET";
    protected override string Route  => "/api/health";

    public override ValueTask<HealthResponse> HandleAsync(
        CancellationToken cancellationToken)
    {
        return new ValueTask<HealthResponse>(
            new HealthResponse { Status = "ok" });
    }
}

public record HealthResponse
{
    public string Status { get; init; } = "";
}

3. Bootstrap the app

var app = EffinitiveApp.Create(options =>
{
    options.Host = "localhost";
    options.Port = 5000;
});

app.RegisterEndpoint<HealthCheckEndpoint>();

await app.RunAsync();

The custom HTTP server handles sockets directly — HTTP/2 is enabled automatically when TLS is configured and the client negotiates it via ALPN.