Commit fa65092
authored
[Blazor] Update BlazingPizza to .NET 10.0 (#2142)
* Update BlazingPizza to .NET 10.0
* Remove HTTPS redirect for benchmark compatibility
* Fix blazor.benchmarks.yml: move arguments to job level and add readyStateText
* Restore UseHttpsRedirection
* Migrate BlazingPizza to Blazor Web App pattern
- Updated Program.cs to use AddRazorComponents/MapRazorComponents
- Created Components folder with App.razor, Routes.razor
- Moved Pages to Components/Pages
- Moved Shared to Components/Layout
- Removed _Host.cshtml (replaced by App.razor)
- Updated scripts from blazor.server.js to blazor.web.js
- Added UseAntiforgery middleware1 parent a65a7ec commit fa65092
20 files changed
Lines changed: 43 additions & 34 deletions
File tree
- scenarios
- src/BenchmarksApps/BlazorBlazingPizza
- Components
- Layout
- Pages
- Pages
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
This file was deleted.
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments