百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
P

Prism

> 数据库
开源

Prism 是一个框架,用于在 WPF、Xamarin Forms 和 Uno/Win UI 应用中构建松散耦合、可维护和可测试的 XAML 应用程序。

6.8K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

Prism 是一个框架,用于在 WPF、Xamarin Forms 和 Uno/Win UI 应用中构建松散耦合、可维护和可测试的 XAML 应用程序。

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 Build
Prism.Core
Prism.Wpf
Prism.Avalonia
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 [email protected]

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 CoreNuGetShield CorePrismNuGetShield
Cross Platform Prism.Events EventsNuGetShield EventsPrismNuGetShield
Cross Platform Prism.Container.Abstractions ContainerAbstractionsNuGetShield ContainerAbstractionsPrismNuGetShield
Cross Platform Prism.Container.DryIoc ContainerDryIocNuGetShield ContainerDryIocPrismNuGetShield
Cross Platform Prism.Container.Unity ContainerUnityNuGetShield ContainerUnityPrismNuGetShield
WPF Prism.Wpf WpfNuGetShield WpfPrismNuGetShield
Avalonia Prism.Avalonia AvaloniaNuGetShield AvaloniaPrismNuGetShield
.NET MAUI Prism.Maui MauiNuGetShield MauiPrismNuGetShield
Uno Platform and WinUI Prism.Uno UnoNuGetShield UnoPrismNuGetShield

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 DryIocWpfNuGetShield DryIocWpfPrismNuGetShield
Prism.Unity UnityWpfNuGetShield UnityWpfPrismNuGetShield

Avalonia

Package NuGet Commercial Plus Feed
Prism.DryIoc.Avalonia DryIocAvaloniaNuGetShield DryIocAvaloniaPrismNuGetShield

.NET MAUI

Package NuGet Commercial Plus Feed
Prism.Maui MauiNuGetShield MauiPrismNuGetShield
Prism.DryIoc.Maui DryIocMauiNuGetShield DryIocMauiPrismNuGetShield
Prism.Maui.Rx MauiRxNuGetShield MauiRxPrismNuGetShield

Uno Platform

Package NuGet Commercial Plus Feed
Prism.DryIoc.Uno DryIocUnoPlatformNuGetShield DryIocUnoPlatformPrismNuGetShield

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 .NET MAUI
  • Prism for Uno Platform (Coming soon)
  • Prism for Avalonia

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.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C#c-sharphacktoberfestmvvmprism

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类数据库
定价开源

> 相关工具

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库