Skip to content
This repository was archived by the owner on Jan 26, 2026. It is now read-only.

Latest commit

Β 

History

History
62 lines (50 loc) Β· 1.36 KB

File metadata and controls

62 lines (50 loc) Β· 1.36 KB


PlateHTTP

Simple and Light WebServer for .NET



β€» README is in progress...

🌐 Install

  • git
    • clone repository

      git clone https://github.com/somehitDev/PlateHTTP.git
    • add projectreference to .csproj of your project

      <ItemGroup>
          <ProjectReference Include="{path of PlateHTTP}/Core/PlateHTTP.csproj" />
          <!-- if need extensions -->
          <ProjectReference Include="{path of PlateHTTP}/Extensions/{name of extensions}.csproj" />
      </ItemGroup>
  • nuget
    • in progress ...

βš’οΈ Example

using PlateHTTP.Core;
using PlateHTTP.Extensions.Templating;

// create application instance
var app = new WebApplication();
// enable logging(optional)
app.EnableLogging("debug");

// register route points
app.Get("/", async ( request, response ) => {
    await response.SendText("Hello, PlateHTTP!");
});

// start server
app.Start();
  • output
PlateHTTP::info - Server listening on http://0.0.0.0:8000/
PlateHTTP::info - Press `Ctrl+C` to shutdown server...

PlateHTTP::debug - Endpoint [GET] `/`



πŸ“† CHANGELOG