Files
Elternbeirat/Elternbeirat.Web/Program.cs
T
tleiningerandClaude Opus 4.8 8b172e2c3c Initial Blazor Web App template
Rider-generated Blazor Web App (net10.0, interactive render mode None,
no auth scaffold, no sample pages). Includes Rider auto-formatting.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-09-20 21:51:10 +02:00

26 lines
694 B
C#

using Elternbeirat.Web.Components;
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
builder.Services.AddRazorComponents();
var app = builder.Build();
// Configure the HTTP request pipeline.
if (!app.Environment.IsDevelopment())
{
app.UseExceptionHandler("/Error", createScopeForErrors: true);
// The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.
app.UseHsts();
}
app.UseStatusCodePagesWithReExecute("/not-found", createScopeForStatusCodePages: true);
app.UseHttpsRedirection();
app.UseAntiforgery();
app.MapStaticAssets();
app.MapRazorComponents<App>();
app.Run();