Existing WPF Feature Adoption
Example goal: add one Windows App SDK windowing feature to a WPF app without rewriting the UI.
Flow
Existing WPF app
-> add Windows App SDK package
-> choose deployment model
-> initialize runtime if needed
-> get WPF window HWND
-> convert HWND to WindowId
-> get AppWindow
-> apply feature
-> test in real deployment model
What To Document
Existing app framework:
Deployment model:
Runtime initialization needed:
Feature added:
HWND interop location:
Build result:
Launch result:
Packaging/runtime gaps:
Keep The Boundary Small
Add a service such as WindowsWindowingService. Keep WPF view models free of package graph, bootstrapper, and HWND conversion logic.