Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 1.11 KB

README.md

File metadata and controls

38 lines (22 loc) · 1.11 KB

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