Build / Publish Blazor WebAssembly Project #77
blazor.yml
on: workflow_dispatch
build
40s
publish
1m 13s
Annotations
10 warnings
build:
src/Shared/Authorization/FshRoles.cs#L10
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
|
build:
src/Shared/Authorization/FshRoles.cs#L10
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
|
build:
src/apps/blazor/infrastructure/Preferences/ClientPreferenceManager.cs#L54
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/apps/blazor/infrastructure/Auth/Jwt/JwtAuthenticationService.cs#L123
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
|
build:
src/apps/blazor/infrastructure/Preferences/ClientPreferenceManager.cs#L57
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
|
build:
src/apps/blazor/infrastructure/Preferences/ClientPreferenceManager.cs#L125
Non-constant fields should not be visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2211)
|
build:
src/apps/blazor/infrastructure/Preferences/ClientPreferenceManager.cs#L125
Make this field 'private' and encapsulate it in a 'public' property. (https://rules.sonarsource.com/csharp/RSPEC-1104)
|
build:
src/apps/blazor/infrastructure/Preferences/ClientPreferenceManager.cs#L125
Change the visibility of 'Preference' or make it 'const' or 'readonly'. (https://rules.sonarsource.com/csharp/RSPEC-2223)
|
build:
src/apps/blazor/infrastructure/Storage/StorageConstants.cs#L6
Non-constant fields should not be visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2211)
|
build:
src/apps/blazor/infrastructure/Storage/StorageConstants.cs#L6
Make this field 'private' and encapsulate it in a 'public' property. (https://rules.sonarsource.com/csharp/RSPEC-1104)
|