Popularity
9.4
Growing
Activity
8.9
Growing
3,530
418
1,113

Code Quality Rank: L4
Monthly Downloads: 26,130
Programming language: C#
Tags: UAP     UWP     XAML     Xamarin     WPF     Prism     Mvvm    
Latest version: v7.2.0.708

Prism alternatives and similar packages

Based on the "MVVM" category

  • knockout

    Knockout makes it easier to create rich, responsive UIs with JavaScript
  • ReactiveUI

    An MVVM framework for .NET that integrates the Reactive Extensions (Rx) framework, enabling developers to build elegant, testable applications using WPF, Windows Store Apps, WP8 or Xamarin.
  • MVVMCross

    Cross-platform mvvm mobile development framework for WPF, Silverlight for WP7 and WP8, Mono for Android, MonoTouch for iOS, Windows Universal projects (WPA8.1 and Windows 8.1 Store apps). Makes extensive use of Portable Class Libraries (PCL) to provide maintainable cross platform C# native applications.
  • Caliburn.Micro

    A small, yet powerful framework, designed for building applications across all XAML platforms. Its strong support for MV* patterns will enable you to build your solution quickly, without the need to sacrifice code quality or testability.
  • Gemini

    IDE framework similar in concept to the Visual Studio Shell. Built on WPF, AvalonDock, and Caliburn Micro.
  • WPF Application Framework (WAF)

    A lightweight Framework that helps you to create well structured WPF Applications. It supports you in applying a Layered Architecture and the Model-View-ViewModel pattern.
  • Catel

    5.4 9.0 L3 Prism VS Catel
    Catel is an application development platform with the focus on MVVM (WPF, Silverlight, Windows Phone and WinRT) and MVC (ASP.NET MVC). The core of Catel contains an IoC container, models, validation, memento, message mediator, argument checking, etc.
  • Stylet

    Minimal MVVM framework inspired by Caliburn Micro, with good documentation, high test coverage, and its own IoC container
  • FreshMvvm

    FreshMvvm is a super light Mvvm Framework designed specifically for Xamarin.Forms. It's designed to be Easy, Simple and Flexible.
  • DotNetProjects.WpfToolkit

    wpf toolkit fork of the MS WPF Toolkit (https://wpf.codeplex.com/releases/view/40535)
  • MVVM Dialogs

    Framework simplifying the concept of opening dialogs from a view model when using MVVM in WPF or UWP.
  • Cimbalino Toolkit

    Cimbalino Toolkit
  • Toms Toolbox

    Visual Composition framework to easily build modularized MVVM applications based on the Managed Extensibility Framework (MEF).
  • Okra App Framework

    An app centric MVVM framework for Windows 8.1 built with dependency injection in mind, including a full set of Visual Studio MVVM templates.
  • Smaragd

    A platform-independent, lightweight library for developing .NET applications using the MVVM architecture.
  • M.V.B.

    Model View Binder - A small and robust framework for awesome cross platform architectures
  • UpdateControls

    Update Controls does not require that you implement INotifyPropertyChanged or declare a DependencyProperty. It connects controls directly to CLR properties. This makes it perfect for the Model/View/ViewModel pattern.
  • MVVM Light Toolkit

    The main purpose of the toolkit is to accelerate the creation and development of MVVM applications in WPF, Silverlight, Windows Store (RT) and for Windows Phone

Do you think we are missing an alternative of Prism or a related project?

Add another 'MVVM' Package

README

Prism

Prism is a framework for building loosely coupled, maintainable, and testable XAML applications in WPF, and Xamarin Forms. 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 Core 3, and .NET Framework 4.5. 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. For example, Prism for Xamarin Forms allows you to use an abstraction for navigation that is unit testable, but that layers on top of the platform concepts and APIs for navigation so that you can fully leverage what the platform itself has to offer, but done in the MVVM way.

Prism 7 is a fully open source version of the Prism guidance originally produced by Microsoft patterns & practices. The core team members were all part of the P&P team that developed Prism 1 through 5, and the effort has now been turned over to the open source community to keep it alive and thriving to support the .NET community. There are thousands of companies who have adopted previous versions of Prism, and we hope they will continue to move along with us as we continue to evolve and enhance the framework to keep pace with current platform capabilities and requirements.

Help Support Prism

As most of you know, it takes a lot of time and effort for our small team to manage and maintain Prism in our spare time. Even though Prism is open source and hosted on GitHub, there are a number of costs associated with maintaining a project such as Prism. Please be sure to Star the Prism repo and help sponsor Dan and Brian on GitHub.

Build Status

Status
Full Build Build Status
Prism.Core Build Status
Prism.Wpf Build Status
Prism.Forms Build Status

Sandbox Build Status

Sandbox Status
WPF Build Status
Xamarin iOS Build Status
Xamarin Android Build Status

Support

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.

Twitch

Both Brian and Dan are streaming live on a regular basis covering topics for WPF and Xamarin.Forms developers. Be sure to follow and subscribe to find out when they go live.

NuGet Packages

Official Prism releases are available on NuGet. Prism also has a MyGet 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 try the packages on this feed. Our feed is a public feed in the MyGet Gallery.

Simply add https://www.myget.org/F/prism/api/v3/index.json as a package source to either Visual Studio or Visual Studio for Mac.

Core Packages

These are the base packages for each platform, together with the Prism's Core assembly as a cross-platform PCL.

Platform Assembly Package NuGet MyGet
PCL Prism.dll Prism.Core CoreNuGetShield CoreMyGetShield
WPF Prism.Wpf.dll Prism.Wpf WpfNuGetShield WpfMyGetShield
Xamarin.Forms Prism.Forms.dll Prism.Forms FormsNuGetShield FormsMyGetShield

<!-- | Windows 10 UWP | Prism.Windows.dll | Prism.Windows | UWPNuGetShield | UWPMyGetShield |-->

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 MyGet
Prism.DryIoc DryIocWpfNuGetShield DryIocWpfMyGetShield
Prism.Ninject NinjectWpfNuGetShield NinjectWpfMyGetShield
Prism.Unity UnityWpfNuGetShield UnityWpfMyGetShield

<!--

UWP

Package NuGet MyGet
Prism.DryIoc.Windows DryIocUWPNuGetShield DryIocUWPMyGetShield
Prism.Unity.Windows UnityUWPNuGetShield UnityUWPMyGetShield

-->

Xamarin Forms

Package NuGet MyGet
Prism.DryIoc.Forms DryIocFormsNuGetShield DryIocFormsMyGetShield
Prism.Unity.Forms UnityFormsNuGetShield UnityFormsMyGetShield

Package Notices

  • For developers using Unity with Prism 6, take note that the new Unity maintainer has made major breaking changes. This includes changing namespaces and the package structure. These changes were NOT made by the Prism team nor do we have any control over it. When upgrading to Prism 7 you will need to uninstall the existing Unity package as we now reference the Unity.Container NuGet.

[NuGet package tree](images/NuGetPackageTree.png)

A detailed overview of each assembly per package is available here.

Prism Template Pack

Prism now integrates with Visual Studio and Xamarin Studio to enable a highly productive developer workflow for creating WPF, UWP, and native iOS and Android applications using Xamarin.Forms. Jump start your Prism apps with code snippets, item templates, and project templates for your IDE of choice.

The Prism Template Pack is available on the Visual Studio Gallery. To install, just go to Visual Studio -> Tools -> Extensions and Updates... then search for Prism in the online gallery:

[Visual Studio Gallery](images/prism-visual-studio-gallery.jpg)

Plugins

There are certain things that cannot be added directly into Prism for various reasons. To handle these common tasks such as supporting PopupPage's in Xamarin Forms, there are Prism Plugins. You can find a number of Plugins available on NuGet from our maintainer @DanJSiegel.

  • Prism.Plugin.Popups (Forms Only)
  • Prism.Plugin.Logging (Works on all Platforms)
    • Adds support for Syslog, Loggly, Graylog, Application Insights, & App Center
  • Prism.Plugin.PageDialogs (Forms Only)
  • Prism.Container.Extensions
    • Adds advanced Container Registration abstractions
    • Adds DryIoc ContainerExtension with support for Microsoft.DependencyInjection.Extensions & Splat. Uses a singleton pattern to allow initialization from a native platform
    • Provides an extended PrismApplication with additional error handling and platform specifics support for Prism.Forms

Samples

We have both a development sandbox (frequently changing) and stable samples for using Prism with WPF, UWP and Xamarin Forms. An overview of the samples can be found [here](Sandbox/README.md).

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.

.NET Foundation

This project is part of the .NET Foundation.