var builder = WebApplication.CreateBuilder(args); var app = builder.Build(); app.MapGet("/", () => "Test .NET 7"); app.Run();