Created
March 9, 2022 22:07
-
-
Save awswithdotnet/7414754a59e277e90bf5b2e3cc93be5b to your computer and use it in GitHub Desktop.
minimalapi Program
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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