`csharp
@using System.Reflection
@using AppBlueprint.UiKit.Components.Pages
<Router AppAssembly="@typeof(Program).Assembly"
AdditionalAssemblies="@AdditionalAssemblies">
<Found Context="routeData">
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
</Found>
<NotFound>
<MudText Typo="Typo.h6">Sorry, there's nothing here!</MudText>
</NotFound>
</Router>
@code {
private Assembly[] AdditionalAssemblies { get; } = new[] { typeof(AppBlueprint.UiKit.Components.Pages.Dashboard).Assembly };
protected override void OnInitialized()
{
foreach (var assembly in AppDomain.CurrentDomain.GetAssemblies())
{
Console.WriteLine($"Loaded Assembly: {assembly.FullName}");
}
}
}
`csharp
@using System.Reflection
@using AppBlueprint.UiKit.Components.Pages
<Router AppAssembly="@typeof(Program).Assembly"
AdditionalAssemblies="@AdditionalAssemblies">
<Found Context="routeData">
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
</Found>
<NotFound>
<MudText Typo="Typo.h6">Sorry, there's nothing here!</MudText>
</NotFound>
</Router>
@code {
private Assembly[] AdditionalAssemblies { get; } = new[] { typeof(AppBlueprint.UiKit.Components.Pages.Dashboard).Assembly };
protected override void OnInitialized()
{
foreach (var assembly in AppDomain.CurrentDomain.GetAssemblies())
{
Console.WriteLine($"Loaded Assembly: {assembly.FullName}");
}
}
}