Skip to content

Instantly share code, notes, and snippets.

@awswithdotnet
Created March 9, 2022 22:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save awswithdotnet/7414754a59e277e90bf5b2e3cc93be5b to your computer and use it in GitHub Desktop.
Save awswithdotnet/7414754a59e277e90bf5b2e3cc93be5b to your computer and use it in GitHub Desktop.
minimalapi Program
WebApplicationBuilder builder = WebApplication.CreateBuilder(args);
WebApplication app = builder.Build();
app.MapGet("/greeting", () => "aws w/ .NET");
app.Run("http://*:80");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment