-
Notifications
You must be signed in to change notification settings - Fork 4
Dependancy/upgrade.net10 #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
fc99836
7b8533a
a4b1682
b114eb7
52381c0
4721078
7a17827
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,8 @@ | ||
| <CascadingAuthenticationState> | ||
| <Router AppAssembly="@typeof(App).Assembly"> | ||
| <Router AppAssembly="@typeof(App).Assembly" NotFoundPage="typeof(Pages.NotFound)"> | ||
| <Found Context="routeData"> | ||
| <AuthorizeRouteView 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> | ||
| </CascadingAuthenticationState> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| @page "/not-found" | ||
| @layout MainLayout | ||
|
|
||
| <h3>Not found</h3> | ||
| <p role="alert">Sorry, there's nothing at this address.</p> | ||
|
|
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -6,11 +6,14 @@ | |||||
| <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> | ||||||
| <title>Example</title> | ||||||
| <base href="/" /> | ||||||
| <link rel="preload" id="webassembly" /> | ||||||
| <link href="css/app.css" rel="stylesheet" /> | ||||||
| <link href="Example.styles.css" rel="stylesheet" /> | ||||||
|
|
||||||
| <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" rel="stylesheet" /> | ||||||
| <link href="_content/MudBlazor/MudBlazor.min.css" rel="stylesheet" /> | ||||||
| <script type="importmap"></script> | ||||||
|
||||||
| <script type="importmap"></script> |
Copilot
AI
Nov 11, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The asset fingerprinting syntax appears incorrect. The hash # and placeholder syntax #[.{fingerprint}] should typically be just a placeholder like .{fingerprint} without the hash and brackets, or the entire placeholder pattern should be removed if not using the override. Verify this matches .NET 10's actual asset fingerprinting convention.
| <script src="_framework/blazor.webassembly#[.{fingerprint}].js"></script> | |
| <script src="_framework/blazor.webassembly.{fingerprint}.js"></script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
NotFoundPageparameter should be a Type, not a string. Remove the quotes aroundtypeof(Pages.NotFound). It should be:NotFoundPage=\"@typeof(Pages.NotFound)\"