Setup projects

This commit is contained in:
2025-01-19 19:16:19 +01:00
parent ba6cce3006
commit 43ecfe6813
35 changed files with 956 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
// Learn more about configuring OpenAPI at https://aka.ms/aspnet/openapi
builder.Services.AddOpenApi();
builder.AddServiceDefaults();
var app = builder.Build();
// Configure the HTTP request pipeline.
if (app.Environment.IsDevelopment()) {
app.MapOpenApi();
}
app.UseHttpsRedirection();
app.MapDefaultEndpoints();
app.Run();