Skip to content

Minimal APIs turned up to 11

License

Notifications You must be signed in to change notification settings

Vake93/Infinitesimal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Infinitesimal

Infinitesimal is a Source Generator that turns up the ASP.NET minimal APIs to 11. Let's see how terse we can make this without losing too much functionality. This was made in a span of a couple of hours so there are bound to be bugs and PR's are welcomed.

How to use

  • Create a new ASP.NET 6 Project

    dotnet new web

  • Add the Infinitesimal NuGet Package

    dotnet add package Infinitesimal --version 0.0.2

  • Update the Program.cs with

    InfinitesimalWebApp.Run(args);
    [HttpGet("/")] static string Greet() => "This app is Infinitesimal!";
  • Run the project

    dotnet run

    Alternatively...

    Can also be used with Minimal APIs as follows:

About

Minimal APIs turned up to 11

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages