back to home

PrismLibrary / Prism

Prism is a framework for building loosely coupled, maintainable, and testable XAML applications in WPF, Xamarin Forms, and Uno / Win UI Applications..

6,731 stars
1,644 forks
41 issues
C#PowerShellCSS

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing PrismLibrary/Prism in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind-ai.vercel.app/repo/PrismLibrary/Prism)
Preview:Analyzed by RepoMind

Repository Summary (README)

Preview

Prism

Prism is a framework for building loosely coupled, maintainable, and testable XAML applications in WPF, Avalonia, MAUI, 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 BuildPrism CI
Prism.Corebuild_core
Prism.Wpfbuild_wpf
Prism.Avaloniabuild_avalonia
Prism.Unobuild_uno
Prism.Mauibuild_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.

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.

PlatformPackageNuGetCommercial Plus Feed
Cross PlatformPrism.CoreCoreNuGetShieldCorePrismNuGetShield
Cross PlatformPrism.EventsEventsNuGetShieldEventsPrismNuGetShield
Cross PlatformPrism.Container.AbstractionsContainerAbstractionsNuGetShieldContainerAbstractionsPrismNuGetShield
Cross PlatformPrism.Container.DryIocContainerDryIocNuGetShieldContainerDryIocPrismNuGetShield
Cross PlatformPrism.Container.UnityContainerUnityNuGetShieldContainerUnityPrismNuGetShield
WPFPrism.WpfWpfNuGetShieldWpfPrismNuGetShield
AvaloniaPrism.AvaloniaAvaloniaNuGetShieldAvaloniaPrismNuGetShield
Xamarin.FormsPrism.FormsFormsNuGetShieldFormsPrismNuGetShield
Uno Platform and WinUIPrism.UnoUnoNuGetShieldUnoPrismNuGetShield

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

PackageNuGetCommercial Plus Feed
Prism.DryIocDryIocWpfNuGetShieldDryIocWpfPrismNuGetShield
Prism.UnityUnityWpfNuGetShieldUnityWpfPrismNuGetShield

Avalonia

PackageNuGetCommercial Plus Feed
Prism.DryIoc.AvaloniaDryIocAvaloniaNuGetShieldDryIocAvaloniaPrismNuGetShield

Xamarin Forms

PackageNuGetCommercial Plus Feed
[Prism.DryIoc.Forms][DryIocFormsNuGet][DryIocFormsNuGetShield][DryIocFormsNuGet]![DryIocFormsPrismNuGetShield]
[Prism.Unity.Forms][UnityFormsNuGet][UnityFormsNuGetShield][UnityFormsNuGet]![UnityFormsPrismNuGetShield]
Prism.Forms.RegionsPrismFormsRegionsNuGetShieldPrismFormsRegionsPrismNuGetShield

Uno Platform

PackageNuGetCommercial Plus Feed
Prism.DryIoc.UnoDryIocUnoPlatformNuGetShieldDryIocUnoPlatformPrismNuGetShield

NuGet package tree

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.

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.