prism - Prism.Core

Prism is a fully open source version of the Prism guidance originally produced by Microsoft Patterns & Practices. 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, commanding, event aggregation, and more. Prism's core functionality is a shared code base in a Portable Class Library targeting these platforms; WPF, and Xamarin Forms. Features that need to be platform specific are implemented in the respective libraries for the target platform.

PM> Install-Package Prism.Core -Version -Source

Copy to clipboard

> nuget.exe install Prism.Core -Version -Source

Copy to clipboard

> dotnet add package Prism.Core --version --source

Copy to clipboard
<PackageReference Include="Prism.Core" Version="" />
Copy to clipboard

nuget Prism.Core  ~>
Copy to clipboard

> choco install Prism.Core --version --source

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "prism" -SourceLocation ""
Install-Module -Name "Prism.Core" -RequiredVersion "" -Repository "prism" -AllowPreRelease
Copy to clipboard

Browse the sources in this package using Visual Studio or WinDbg by configuring the following symbol server URL:


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 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

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

E2E Build Status

E2E App Status
WPF Build Status
Xamarin iOS Build Status
Xamarin Android Build Status


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.


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 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 Targets
Cross Platform Prism.dll Prism.Core CoreNuGetShield CoreMyGetShield net45, net47, netstandard2.0
WPF Prism.Wpf.dll Prism.Wpf WpfNuGetShield WpfMyGetShield net461, net47, net48, netcoreapp3.1
Xamarin.Forms Prism.Forms.dll Prism.Forms FormsNuGetShield FormsMyGetShield netstandard2.0
Uno Platform and WinUI Prism.Uno.dll Prism.Uno UnoNuGetShield UnoMyGetShield netstandard2.0 (WebAssembly), xamarinios10, monoandroid90, xamarinmac20, uap10.0.16299

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.


Package NuGet MyGet
Prism.DryIoc DryIocWpfNuGetShield DryIocWpfMyGetShield
Prism.Unity UnityWpfNuGetShield UnityWpfMyGetShield

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

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, 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.

Visual Studio Gallery

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


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.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


For stable samples be sure to check out the samples repo for the platform you are most interested in.


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.

  • .NETFramework 4.5
    • System.ValueTuple (>= 4.5.0)
  • .NETFramework 4.7
  • .NETStandard 2.0
  • .NETFramework 4.5:
  • .NETFramework 4.7:
  • .NETStandard 2.0:

Signature validation information


Signature Hash Algorithm: SHA256

Timestamp: 8/10/2020 7:45:21 PM

Verifying author primary signature's timestamp with timestamping service certificate: 
  Subject Name: CN=TIMESTAMP-SHA256-2019-10-15, O="DigiCert, Inc.", C=US
  SHA1 hash: 0325BD505EDA96302DC22F4FA01E4C28BE2834C5
  SHA256 hash: 481F4373272D98586C5364B6C115E82425675AEBFD9FACF7ADC464FA2FFFB8F0
  Issued by: CN=DigiCert SHA2 Assured ID Timestamping CA,, O=DigiCert Inc, C=US
  Valid from: 10/1/2019 12:00:00 AM to 10/17/2030 12:00:00 AM

Signature type: Author

Verifying the author primary signature with certificate: 
  Subject Name: CN=Prism (.NET Foundation), O=Prism (.NET Foundation), L=Redmond, S=wa, C=US, SERIALNUMBER=603-389-068
  SHA1 hash: 4E91986A3466F81C3E62DFE2991C40A9F4B2418E
  SHA256 hash: 0D6BDA0F45F31EC1B872D6F1014AC83D11F190BD36C8A91FCD49B44D06F98F30
  Issued by: CN=.NET Foundation Projects Code Signing CA, O=.NET Foundation, C=US
  Valid from: 6/12/2018 12:00:00 AM to 6/16/2021 12:00:00 PM


Dan Siegel Brian Lagunas


Brian Lagunas, Dan Siegel

Project URL




prism wpf xamarin mvvm xaml


Validation: Valid


376 total downloads
0 downloads for version
Download (395.3 KB)
Download symbols (208.88 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored? 395.3 KB Mon, 10 Aug 2020 19:49:50 GMT 0 395.27 KB Mon, 10 Aug 2020 19:00:38 GMT 0 395.21 KB Fri, 03 Jul 2020 16:26:39 GMT 9 395.3 KB Fri, 03 Jul 2020 00:06:09 GMT 3 395.35 KB Thu, 02 Jul 2020 22:34:09 GMT 3 395.3 KB Thu, 02 Jul 2020 21:54:52 GMT 3 395.31 KB Fri, 12 Jun 2020 18:00:26 GMT 3 395.36 KB Wed, 10 Jun 2020 20:53:55 GMT 3 395.31 KB Wed, 10 Jun 2020 19:49:04 GMT 3 395.33 KB Wed, 10 Jun 2020 15:28:01 GMT 3 390.48 KB Fri, 08 May 2020 00:39:42 GMT 5 390.55 KB Tue, 05 May 2020 23:11:02 GMT 3 390.5 KB Tue, 05 May 2020 21:53:36 GMT 3 389.36 KB Wed, 29 Apr 2020 16:43:31 GMT 3 389.33 KB Sat, 25 Apr 2020 01:34:53 GMT 8 355.93 KB Fri, 24 Apr 2020 00:11:16 GMT 4 355.9 KB Thu, 23 Apr 2020 18:40:57 GMT 3 355.91 KB Wed, 22 Apr 2020 20:34:37 GMT 3 355.92 KB Tue, 21 Apr 2020 23:35:18 GMT 3 355.93 KB Tue, 21 Apr 2020 14:48:07 GMT 3 353.11 KB Sun, 19 Apr 2020 17:11:08 GMT 4 353.12 KB Thu, 16 Apr 2020 20:02:19 GMT 3 350.39 KB Thu, 16 Apr 2020 19:19:16 GMT 3 344.38 KB Sun, 12 Apr 2020 15:03:29 GMT 3 344.04 KB Thu, 02 Apr 2020 22:13:53 GMT 8 340.89 KB Wed, 01 Apr 2020 23:52:33 GMT 4 340.87 KB Wed, 01 Apr 2020 23:29:08 GMT 4 340.89 KB Wed, 01 Apr 2020 22:35:38 GMT 4 340.93 KB Tue, 31 Mar 2020 16:03:11 GMT 4 340.93 KB Tue, 31 Mar 2020 15:07:39 GMT 4 340.92 KB Thu, 05 Mar 2020 01:35:08 GMT 10 340.95 KB Thu, 05 Mar 2020 01:18:37 GMT 3 340.93 KB Thu, 05 Mar 2020 00:34:55 GMT 3 340.95 KB Sat, 22 Feb 2020 20:05:27 GMT 7 340.94 KB Sat, 22 Feb 2020 19:17:45 GMT 3 340.95 KB Tue, 28 Jan 2020 20:18:40 GMT 6 340.92 KB Sat, 18 Jan 2020 23:10:53 GMT 4 340.91 KB Tue, 07 Jan 2020 18:19:54 GMT 8 340.9 KB Tue, 07 Jan 2020 18:01:40 GMT 4 340.91 KB Thu, 26 Dec 2019 20:31:50 GMT 7 340.96 KB Sat, 21 Dec 2019 16:43:13 GMT 5 340.94 KB Sat, 21 Dec 2019 06:05:52 GMT 5 340.93 KB Mon, 16 Dec 2019 18:30:00 GMT 5 342.27 KB Fri, 13 Dec 2019 20:54:28 GMT 9 232.03 KB Fri, 13 Dec 2019 19:26:37 GMT 6 232.03 KB Fri, 13 Dec 2019 18:42:05 GMT 5 328.55 KB Tue, 03 Dec 2019 19:21:19 GMT 15 328.54 KB Sat, 23 Nov 2019 03:06:50 GMT 9 328.55 KB Sat, 23 Nov 2019 01:30:05 GMT 5 328.53 KB Thu, 21 Nov 2019 17:00:13 GMT 20 328.52 KB Thu, 21 Nov 2019 01:12:20 GMT 5 326.85 KB Wed, 24 Jul 2019 15:16:38 GMT 17 326.85 KB Wed, 24 Jul 2019 14:57:02 GMT 5 326.82 KB Wed, 24 Jul 2019 14:41:32 GMT 5 326.83 KB Wed, 24 Jul 2019 14:14:50 GMT 6 326.84 KB Tue, 09 Jul 2019 18:30:05 GMT 12 502.53 KB Mon, 15 Oct 2018 16:22:46 GMT 37 108.11 KB Mon, 22 Jan 2018 22:05:35 GMT 31 107.94 KB Fri, 12 Jan 2018 04:57:53 GMT 10