Summary
Build a comprehensive reporting system for the migration toolkit that provides users with clear visibility into their Web Forms → Blazor migration at each stage.
Report Types
1. Initial Evaluation Report (Pre-Migration)
Run before any migration work begins to assess the source application.
Contents:
- Inventory of Web Forms controls found (.aspx, .ascx, .master files)
- Coverage analysis: which controls have BWFC equivalents
- Unsupported controls that require manual attention
- Code-behind complexity metrics (LOC, cyclomatic complexity)
- Data binding patterns detected (SqlDataSource, ObjectDataSource, etc.)
- Authentication/authorization patterns in use
- Third-party control dependencies (Telerik, DevExpress, etc.)
2. Post-L1 Report (After Script Migration)
Generated after bwfc-migrate.ps1 completes.
Contents:
- Files transformed (count and list)
- Line-by-line diff summary
- Warnings/TODOs injected by the script
- Patterns that need L2 Copilot attention
- Estimated remaining manual work
3. Post-L2 Report (After Copilot Transforms)
Generated after Copilot-assisted transformations.
Contents:
- Code-behind conversions completed
- Data binding modernization status
- Identity/auth migration status
- Remaining manual interventions required
- Test coverage gaps identified
4. L3 Recommendations Report
Guidance for optimization and modernization beyond 1:1 migration.
Contents:
- Performance optimization opportunities
- Blazor-native patterns to adopt (virtualization, streaming rendering)
- State management recommendations (Fluxor, cascading values)
- Component library alternatives (MudBlazor, Radzen for ACT replacements)
- Server vs WebAssembly hosting recommendation
- Suggested architectural improvements
5. Final Migration Summary Report
Comprehensive post-migration analysis.
Contents:
- Before/after metrics comparison
- Migration success rate (% automated vs manual)
- Build status and test results
- Performance benchmarks (if baseline available)
- Remaining technical debt
- Suggested next steps
Report Metrics (All Reports)
Each report should include where applicable:
| Metric |
Description |
| Complexity Score |
Low/Medium/High/Critical based on patterns detected |
| Estimated Copilot Work |
Token estimate for AI-assisted transforms |
| Estimated AI Cost |
Projected API cost based on token estimate |
| Projected Timeline |
Hours/days estimate based on complexity |
| Performance Delta |
Expected improvements (page load, memory, etc.) |
Output Formats
- Console — Summary during script execution
- Markdown — Human-readable report file
- JSON — Machine-readable for CI/CD integration
- HTML — Styled report for stakeholders (optional)
Implementation Considerations
- Reports should be generated by PowerShell functions in
migration-toolkit/scripts/
- Integrate with existing
bwfc-migrate.ps1 workflow
- Store reports in
migration-toolkit/reports/{timestamp}/
- Consider a
--report flag to control verbosity
- Metrics collection should be opt-in (privacy-conscious for telemetry)
Acceptance Criteria
Labels
enhancement, migration-toolkit, documentation
Summary
Build a comprehensive reporting system for the migration toolkit that provides users with clear visibility into their Web Forms → Blazor migration at each stage.
Report Types
1. Initial Evaluation Report (Pre-Migration)
Run before any migration work begins to assess the source application.
Contents:
2. Post-L1 Report (After Script Migration)
Generated after
bwfc-migrate.ps1completes.Contents:
3. Post-L2 Report (After Copilot Transforms)
Generated after Copilot-assisted transformations.
Contents:
4. L3 Recommendations Report
Guidance for optimization and modernization beyond 1:1 migration.
Contents:
5. Final Migration Summary Report
Comprehensive post-migration analysis.
Contents:
Report Metrics (All Reports)
Each report should include where applicable:
Output Formats
Implementation Considerations
migration-toolkit/scripts/bwfc-migrate.ps1workflowmigration-toolkit/reports/{timestamp}/--reportflag to control verbosityAcceptance Criteria
docs/migration-toolkit/reports.mdLabels
enhancement,migration-toolkit,documentation