Complete Rebuild of Project from HelloWorld to Blazer WebApp
All checks were successful
Tests / Declarative: Post Actions No test results found
csharp-secdevops-pipeline-pod/pipeline/head This commit looks good

This commit is contained in:
2026-05-12 09:16:44 +02:00
parent e784b7996c
commit 251776b9fd
183 changed files with 644 additions and 8364 deletions

23
Program.cs Normal file
View File

@@ -0,0 +1,23 @@
using SecDevOpsLab.Components;
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
builder.Services.AddRazorComponents()
.AddInteractiveServerComponents();
var app = builder.Build();
// Configure the HTTP request pipeline.
if (!app.Environment.IsDevelopment())
{
app.UseExceptionHandler("/Error", createScopeForErrors: true);
}
app.UseStaticFiles();
app.UseAntiforgery();
app.MapRazorComponents<App>()
.AddInteractiveServerRenderMode();
app.Run();