Skip to content

Rebuild navigation around regions and content hosts#1

Open
Junevy wants to merge 19 commits into
masterfrom
rebuild
Open

Rebuild navigation around regions and content hosts#1
Junevy wants to merge 19 commits into
masterfrom
rebuild

Conversation

@Junevy

@Junevy Junevy commented Jul 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • replace RegionService with the Region attached-property owner and IRegionManager/RegionManager, including weak lifecycle-aware region ownership
  • rebuild PageService around regions and ordinary DI, add explicit string routes, INavigationAware, and GoBack
  • add ContentService for non-page FrameworkElement navigation hosted by content-capable regions
  • add six AddPage/AddContent DI extensions and document the breaking migration and host extension boundary

Breaking Changes

  • RegionService.RegionName is replaced by Region.RegionName
  • region lookup moves from IPageService to IRegionManager
  • RegionService is removed; compiled XAML/BAML must be rebuilt

Test Plan

  • Debug solution build: 0 warnings, 0 errors
  • net48: 90 tests passed
  • net8.0-windows: 90 tests passed
  • Release solution/package build: 0 warnings, 0 errors
  • verified no production references to RegionService

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant