Awesome
Prism
Prism is a framework for building loosely coupled, maintainable, and testable XAML applications in WPF, Xamarin Forms, Uno Platform and WinUI. Separate releases are available for each platform and those will be developed on independent timelines. Prism provides an implementation of a collection of design patterns that are helpful in writing well-structured and maintainable XAML applications, including MVVM, dependency injection, commands, EventAggregator, and others. Prism's core functionality is a shared code base supported in .NET Standard 2.0, .NET Framework 4.6 / 4.7, and .NET6.0/.NET8.0. Those things that need to be platform specific are implemented in the respective libraries for the target platform. Prism also provides great integration of these patterns with the target platform.
Licensing
The Prism Team would first and foremost like to thank all of those developers who have stepped up over the past 4 years with GitHub Sponsors. We are committed to ensuring the longevity and success of the Prism Library. As a result Prism 9.0 is now Dual License. We continue to offer a FREE Community License for the vast majority of our community, while the Commercial License will now be required by larger organizations to help fund and support the development of Prism. We additionally have the Commercial Plus License which grants access to a number of additional support libraries that build on top of Prism as well as a private Discord channel where you can ask questions and interact with the Prism Team.
Build Status
Status | |
---|---|
Full Build | |
Prism.Core | |
Prism.Wpf | |
Prism.Forms | |
Prism.Uno | |
Prism.Maui |
Support
- Documentation is maintained in the Prism-Documentation repo under /docs and can be found in a readable format on the website.
- StackOverflow: NOTE The Prism Team no longer supports or engages with questions posted on StackOverflow. Questions posted there may or may not receive correct answers.
- For general questions and support, post your questions in GitHub Discussions.
- You can enter bugs and feature requests in our Issues.
- Enterprise Support: If you are interested in Enterprise Support please email the Prism Team at support@prismlibrary.com
Videos & Training
By watching our courses, not only do you help support the project financially, but you might also learn something along the way. We believe this is a win-win for everyone.
- Introduction to Prism for WPF (NEW)
- Introduction to Prism (Legacy)
- What's New in Prism 5.0
- Prism Problems & Solutions: Showing Multiple Shells
- Prism Problems & Solutions: Mastering TabControl
- Prism Problems & Solutions: Loading Modules Based on User Roles
- Prism Problems & Solutions: Loading Dependent Views
We appreciate your support.
NuGet Packages
Official Prism releases are available on NuGet. Prism packages are also available on the private Commercial Plus Feed which will be updated with each merged PR. If you want to take advantage of a new feature as soon as it's merged into the code base, or if there is a critical bug you need fixed we invite you to purchase the Commercial Plus License to take advantage of these packages.
Core Packages
These are the base packages for each platform, together with the Prism's Core assembly as a cross-platform PCL.
Platform | Package | NuGet | Commercial Plus Feed |
---|---|---|---|
Cross Platform | Prism.Core | ||
Cross Platform | Prism.Events | ||
Cross Platform | Prism.Container.Abstractions | ||
Cross Platform | Prism.Container.DryIoc | ||
Cross Platform | Prism.Container.Unity | ||
WPF | Prism.Wpf | ||
Xamarin.Forms | [Prism.Forms][FormsNuGet] | [][FormsNuGet] | ![FormsPrismNuGetShield] |
Uno Platform and WinUI | Prism.Uno |
Container-specific packages
Each supported IoC container has its own package assisting in the setup and usage of that container together with Prism. The assembly is named using this convention: Prism.Container.Platform.dll, e.g. Prism.Unity.Wpf.dll. Starting with version 7.0, Prism is moving to separate packages for each platform. Be sure to install the package for the Container and the Platform of your choice.
WPF
Package | NuGet | Commercial Plus Feed |
---|---|---|
Prism.DryIoc | ||
Prism.Unity |
Xamarin Forms
Package | NuGet | Commercial Plus Feed |
---|---|---|
[Prism.DryIoc.Forms][DryIocFormsNuGet] | [][DryIocFormsNuGet] | ![DryIocFormsPrismNuGetShield] |
[Prism.Unity.Forms][UnityFormsNuGet] | [][UnityFormsNuGet] | ![UnityFormsPrismNuGetShield] |
Prism.Forms.Regions |
Uno Platform
Package | NuGet | Commercial Plus Feed |
---|---|---|
Prism.DryIoc.Uno |
A detailed overview of each assembly per package is available here.
Samples
For stable samples be sure to check out the samples repo for the platform you are most interested in.
- Prism for WPF Samples
- Prism for Xamarim.Forms
- Prism for Uno Platform (Coming soon)
- Prism for .NET MAUI (Coming soon)
Contributing
We strongly encourage you to get involved and help us evolve the code base.
- You can see what our expectations are for pull requests here.