Skip to content
/ tgv Public

ExpressJS-like implementation of simple HTTP server for .NET

License

Notifications You must be signed in to change notification settings

Oshi41/tgv

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published