Add detailed comments and app flow documentation for BlazorWasm

Added comprehensive inline comments (mainly in German) to key files (index.html, Program.cs, App.razor, MainLayout.razor, NavMenu.razor, Catalogs.razor, CatalogApiClient.cs) to clarify their roles and the overall application flow. Updated Home.razor with a clearer heading and intro. Introduced Ablauf.cs, which documents the loading order and responsibilities of each major component. These changes enhance codebase clarity and maintainability, especially for German-speaking developers.
This commit is contained in:
OlgunR
2026-01-28 15:03:52 +01:00
parent 05964eb02e
commit 98b841196e
9 changed files with 152 additions and 36 deletions

View File

@@ -1,4 +1,11 @@
<Router AppAssembly="@typeof(App).Assembly">
@*
• Ist der logische Einstiegspunkt der Blazor-Anwendung.
• Sie definiert die Routing-Logik und das Standardlayout der Anwendung.
• Der Router-Komponent in App.razor entscheidet, welche Blazor-Komponente basierend auf der URL geladen wird.
kurz: Steuert die Navigation und das Rendering der Blazor-Komponenten.
*@
<Router AppAssembly="@typeof(App).Assembly">
<Found Context="routeData">
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
<FocusOnNavigate RouteData="@routeData" Selector="h1" />