You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add migration benchmark progression and sample complexity ordering
- Reorder samples/ in project structure by increasing complexity
- Mark WingtipToys as current benchmark focus
- Add Migration Benchmark Progression table (WingtipToys → ContosoUniversity → DepartmentPortal)
- Note that DepartmentPortal is the most sophisticated future target
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
BlazorWebFormsComponents/ -- Main component library
68
68
BlazorWebFormsComponents.Test/ -- Unit tests with bUnit
@@ -317,6 +317,18 @@ These are hard rules for migration work in this repository:
317
317
5.**Register transforms twice**: Every new CLI transform must be registered in both `src/BlazorWebFormsComponents.Cli/Program.cs` DI and `tests/BlazorWebFormsComponents.Cli.Tests/TestHelpers.cs` so the runtime pipeline and isolated test pipeline stay aligned.
318
318
6.**Respect quarantine boundaries**: `PageQuarantineDetector` should quarantine non-essential `Account/`, `Admin/`, `Checkout/`, mobile, payment, or compile-surface blocker pages, but benchmark-critical home, about, contact, product, catalog, and cart flows stay on the runnable path whenever possible.
319
319
320
+
### Migration Benchmark Progression
321
+
322
+
The `samples/` folder contains benchmark apps ordered by increasing complexity. Each app exercises more of the CLI and BWFC component surface:
323
+
324
+
| Sample | Complexity | Key Challenges | Status |
325
+
|--------|-----------|----------------|--------|
326
+
|**WingtipToys**| ★★☆ | E-commerce: products, cart, checkout, identity, EF data binding |**Current focus** — active benchmark runs |
327
+
|**ContosoUniversity**| ★★☆ | University CRUD: master-detail, search, EF migrations | Acceptance tests exist |
328
+
|**DepartmentPortal**| ★★★ | Multi-page portal: advanced data binding, nested controls, complex layouts | Future target — most sophisticated |
329
+
330
+
Always complete the current benchmark focus before moving to the next. Improvements to the CLI and toolkit should be validated against the current focus app first, then regression-tested against simpler samples.
331
+
320
332
## Migration Shims
321
333
322
334
The library provides compile-compatibility shims on `WebFormsPageBase` so migrated code-behind compiles unchanged:
0 commit comments