7 lines
134 B
C#

var builder = WebApplication.CreateBuilder(args);
var app = builder.Build();
app.MapGet("/", () => "Hello World 2!");
app.Run();