-
Notifications
You must be signed in to change notification settings - Fork 163
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
Upgraded MudBlazor Templates to .NET 9 #482
Open
jperson2000
wants to merge
13
commits into
MudBlazor:dev
Choose a base branch
from
jperson2000:feature/net9
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
3cb4418
Upgraded MudBlazor Templates to .NET 9
jperson2000 9e27423
Fixed issues found while running test PowerShell script.
jperson2000 f69a855
Fixed SonarCloud issues.
jperson2000 63b6e1a
Resync template files after switching to aspnetcore release/9.0 branc…
jperson2000 b75db1b
Build test
jperson2000 aeb4223
Merge branch 'dev' into feature/net9
ScarletKuro 73e61c6
remove old 8.0 from list
ScarletKuro 21de1af
Testing build
jperson2000 d6948bf
Merge branch 'feature/net9' of https://github.com/jperson2000/MudBlaz…
jperson2000 82eaa53
update ci
ScarletKuro e4f0cce
Restored original Home welcome message
jperson2000 bcefa1e
Merge branch 'feature/net9' of https://github.com/jperson2000/MudBlaz…
jperson2000 4a3daaa
Fixed incorrect .NET version in welcome message
jperson2000 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/template", | ||
"$schema": "https://json.schemastore.org/template", | ||
"author": "MudBlazor", | ||
"classifications": [ | ||
"Web", | ||
|
@@ -18,7 +18,7 @@ | |
"650B3CE7-2E93-4CC4-9F46-466686815EAA", | ||
"53bc9b9d-9d6a-45d4-8429-2a2761773502" | ||
], | ||
"identity": "MudBlazorWebApp.CSharp.8.0", | ||
"identity": "MudBlazorWebApp.CSharp.9.0", | ||
"thirdPartyNotices": "", | ||
"preferNameDirectory": true, | ||
"primaryOutputs": [ | ||
|
@@ -52,13 +52,7 @@ | |
"**/wwwroot/bootstrap/**" | ||
], | ||
"modifiers": [ | ||
{ | ||
"condition": "(!IndividualLocalAuth)", | ||
"exclude": [ | ||
"**/wwwroot/bootstrap/**" | ||
] | ||
}, | ||
{ | ||
{ | ||
"condition": "(!UseWebAssembly)", | ||
"exclude": [ | ||
"MudBlazor.Template.Client/**", | ||
|
@@ -73,6 +67,7 @@ | |
"rename": { | ||
"MudBlazor.Template/Components/Layout/": "./MudBlazor.Template.Client/Layout/", | ||
"MudBlazor.Template/Components/Pages/Home.razor": "./MudBlazor.Template.Client/Pages/Home.razor", | ||
"MudBlazor.Template/Components/Pages/Weather.razor": "./MudBlazor.Template.Client/Pages/Weather.razor", | ||
"MudBlazor.Template/Components/Routes.razor": "./MudBlazor.Template.Client/Routes.razor" | ||
} | ||
}, | ||
|
@@ -94,10 +89,9 @@ | |
} | ||
}, | ||
{ | ||
"condition": "(UseWebAssembly || (!UseWebAssembly && !UseServer))", | ||
"condition": "(!(UseServer && !UseWebAssembly))", | ||
"exclude": [ | ||
"MudBlazor.Template/Components/Pages/Counter.razor", | ||
"MudBlazor.Template/Components/Pages/Weather.razor" | ||
"MudBlazor.Template/Components/Pages/Counter.razor" | ||
] | ||
}, | ||
{ | ||
|
@@ -130,7 +124,6 @@ | |
"exclude": [ | ||
"MudBlazor.Template/Components/Account/**", | ||
"MudBlazor.Template/Data/**", | ||
"MudBlazor.Template.Client/PersistentAuthenticationStateProvider.cs", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This provider is no longer necessary as of .NET 9. |
||
"MudBlazor.Template.Client/UserInfo.cs", | ||
"MudBlazor.Template.Client/Pages/Auth.razor" | ||
] | ||
|
@@ -148,24 +141,12 @@ | |
] | ||
}, | ||
{ | ||
"condition": "(!(IndividualLocalAuth && UseServer && UseWebAssembly))", | ||
"exclude": [ | ||
"MudBlazor.Template/Components/Account/PersistingRevalidatingAuthenticationStateProvider.cs" | ||
] | ||
}, | ||
{ | ||
"condition": "(!(IndividualLocalAuth && UseServer && !UseWebAssembly))", | ||
Comment on lines
-151
to
-157
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This provider has been completely removed in .NET 9. |
||
"condition": "(!(IndividualLocalAuth && UseServer))", | ||
"exclude": [ | ||
"MudBlazor.Template/Components/Account/IdentityRevalidatingAuthenticationStateProvider.cs" | ||
] | ||
}, | ||
{ | ||
"condition": "(!(IndividualLocalAuth && !UseServer && UseWebAssembly))", | ||
"exclude": [ | ||
"MudBlazor.Template/Components/Account/PersistingServerAuthenticationStateProvider.cs" | ||
] | ||
}, | ||
{ | ||
{ | ||
"condition": "(IndividualLocalAuth && UseLocalDB && UseWebAssembly)", | ||
"rename": { | ||
"MudBlazor.Template/Data/SqlServer/": "MudBlazor.Template/Data/Migrations/" | ||
|
@@ -217,12 +198,12 @@ | |
"datatype": "choice", | ||
"choices": [ | ||
{ | ||
"choice": "net8.0", | ||
"description": "Target net8.0" | ||
"choice": "net9.0", | ||
"description": "Target net9.0" | ||
} | ||
], | ||
"replaces": "net8.0", | ||
"defaultValue": "net8.0" | ||
"replaces": "net9.0", | ||
"defaultValue": "net9.0" | ||
}, | ||
"HostIdentifier": { | ||
"type": "bind", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
These lines ensure that bootstrap isn't included in MudBlazor templates. However, we removed this folder in PR #465 and it won't appear again unless we start templates completely from scratch in the future.