Summary
dotnet build MyBlog.slnx --configuration Release --no-restore still succeeds with 46 warnings after PR #279 cleaned the profile-email slice. This issue tracks the remaining repo-wide warning debt outside the files touched by PR #279.
Current state
Top warning categories
CA2007 — e.g. src/Web/Components/Theme/ThemeProvider.razor.cs, src/Web/Data/MongoDbBlogPostRepository.cs, src/Web/Infrastructure/Caching/BlogPostCacheService.cs
CA1307 — e.g. tests/Web.Tests.Bunit/Components/RazorSmokeTests.cs
CA1515 — e.g. src/Web/Data/BlogDbContext.cs, src/Web/Components/Theme/ThemeProvider.razor.cs
- Smaller pockets remain for
CA1014, CA1062, CA1812, CA1826, and CA1865
Why it matters
- Warning debt obscures real regressions in local builds and CI
- It slows the path back to zero-warning Release-build enforcement
- New diagnostics are easier to miss when the baseline already contains noise
Acceptance Criteria
Sprint
Sprint 19
Summary
dotnet build MyBlog.slnx --configuration Release --no-restorestill succeeds with 46 warnings after PR #279 cleaned the profile-email slice. This issue tracks the remaining repo-wide warning debt outside the files touched by PR #279.Current state
Top warning categories
CA2007— e.g.src/Web/Components/Theme/ThemeProvider.razor.cs,src/Web/Data/MongoDbBlogPostRepository.cs,src/Web/Infrastructure/Caching/BlogPostCacheService.csCA1307— e.g.tests/Web.Tests.Bunit/Components/RazorSmokeTests.csCA1515— e.g.src/Web/Data/BlogDbContext.cs,src/Web/Components/Theme/ThemeProvider.razor.csCA1014,CA1062,CA1812,CA1826, andCA1865Why it matters
Acceptance Criteria
CA2007,CA1307,CA1515)dotnet build MyBlog.slnx --configuration Release --no-restoreto zero warningsSprint
Sprint 19