Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

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

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages