Introduction to Prism
masterPrism is a framework designed for building loosely coupled, maintainable, and testable XAML applications. It is compatible with several platforms, including WPF, .NET MAUI, Uno Platform, and Avalonia. Each platform has separate releases developed on independent timelines.
Prism implements several key design patterns to help structure XAML applications:
- MVVM (Model-View-ViewModel)
- Dependency Injection
- Commands
- EventAggregator
The core functionality is shared via a Cross Compiled .NET Standard and .NET 4.5/4.8 Library, while platform-specific implementations are handled in their respective libraries. Prism 9 specifically focuses on unifying the API across all platforms to maximize code reuse and ease of migration between platforms.