Skip to content

Repository files navigation

tgv_small

Fast, minimalistic and cross-platform HTTP server

using tgv;

var app = new App();
app.Get("/", async (ctx, next, exception) => {
  await ctx.Text("Hello world!");
});

app.Start(7000); 

Motivation

TGV aims to bring the simplicity and intuitiveness of frameworks like ExpressJS to the .NET and C# ecosystem. Unlike the more complex and sometimes overwhelming structure of ASP.NET, TGV offers a straightforward approach to building web applications.

Installation

Available as Nugget package.

Project written with .Net Standart 2.0.

Installation is done using dotnet add package tgv1

Features

HTTP \ HTTPS support

Routing system similar to Express server.

HTTP helper function (redirecting, sending files, JSON, etc.)

For more information follow Wiki

About

ExpressJS-like implementation of simple HTTP server for .NET

Topics

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages