Added DevExpress Dashboard to ASP.NET Core API and both Blazor WASM/Server frontends. Configured dashboard storage, sample data source, and API endpoint. Updated Blazor projects with dashboard packages, styles, and a new dashboard page. Navigation and configuration updated to support dashboard integration.
21 lines
880 B
Plaintext
21 lines
880 B
Plaintext
@*
|
|
• 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.
|
|
*@
|
|
@DxResourceManager.RegisterTheme(Themes.Fluent)
|
|
@DxResourceManager.RegisterScripts()
|
|
<Router AppAssembly="@typeof(App).Assembly">
|
|
<Found Context="routeData">
|
|
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
|
|
<FocusOnNavigate RouteData="@routeData" Selector="h1" />
|
|
</Found>
|
|
<NotFound>
|
|
<PageTitle>Not found</PageTitle>
|
|
<LayoutView Layout="@typeof(MainLayout)">
|
|
<p role="alert">Sorry, there's nothing at this address.</p>
|
|
</LayoutView>
|
|
</NotFound>
|
|
</Router>
|