prism - Prism.Core 8.0.0.1847-ci

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 8.0.0.1847-ci -Source https://www.myget.org/F/prism/api/v3/index.json

Copy to clipboard

> nuget.exe install Prism.Core -Version 8.0.0.1847-ci -Source https://www.myget.org/F/prism/api/v3/index.json

Copy to clipboard

> dotnet add package Prism.Core --version 8.0.0.1847-ci --source https://www.myget.org/F/prism/api/v3/index.json

Copy to clipboard
<PackageReference Include="Prism.Core" Version="8.0.0.1847-ci" />
Copy to clipboard
source https://www.myget.org/F/prism/api/v3/index.json

nuget Prism.Core  ~> 8.0.0.1847-ci
Copy to clipboard

> choco install Prism.Core --version 8.0.0.1847-ci --source https://www.myget.org/F/prism/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "prism" -SourceLocation "https://www.myget.org/F/prism/api/v2"
Install-Module -Name "Prism.Core" -RequiredVersion "8.0.0.1847-ci" -Repository "prism" -AllowPreRelease
Copy to clipboard

Browse the sources in this package using Visual Studio or WinDbg by configuring the following symbol server URL: https://www.myget.org/F/prism/api/v2/symbolpackage/


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.5 / 4.7. 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.

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.

Don't forget both Brian and Dan stream live on Twitch and host recorded content on their YouTube Channels. Be sure to Subscribe and Ring that Bell for notifications when they go live or post new content.

Sponsor Twitter Twitch YouTube
Brian Lagunas GitHub Twitter
Follow
Twitch
Follow & Subscribe
YouTube
Subcribe & Ring the Bell
Dan Siegel GitHub Twitter
Follow
Twitch
Follow & Subscribe
YouTube
Subscribe & Ring the Bell

Build Status

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

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.

NuGet Packages

Official Prism releases are available on NuGet. Prism packages are also available on the SponsorConnect 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. The SponsorConnect package feed is available to Sponsors only.

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 SponsorConnect
Cross Platform Prism.Core CoreNuGetShield CoreSponsorConnectShield
WPF Prism.Wpf WpfNuGetShield WpfSponsorConnectShield
Xamarin.Forms Prism.Forms FormsNuGetShield FormsSponsorConnectShield
Uno Platform and WinUI Prism.Uno UnoNuGetShield UnoSponsorConnectShield

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 SponsorConnect
Prism.DryIoc DryIocWpfNuGetShield DryIocWpfSponsorConnectShield
Prism.Unity UnityWpfNuGetShield UnityWpfSponsorConnectShield

Xamarin Forms

Package NuGet SponsorConnect
Prism.DryIoc.Forms DryIocFormsNuGetShield DryIocFormsSponsorConnectShield
Prism.Unity.Forms UnityFormsNuGetShield UnityFormsSponsorConnectShield
Prism.Forms.Regions PrismFormsRegionsNuGetShield PrismFormsRegionsSponsorConnectShield

Uno Platform

Package NuGet SponsorConnect
Prism.DryIoc.Uno DryIocUnoPlatformNuGetShield DryIocUnoPlatformSponsorConnectShield
Prism.Unity.Uno UnityUnoPlatformNuGetShield UnityUnoPlatformSponsorConnectShield

NuGet package tree

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

Prism Template Pack

Prism integrates with Visual 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.

NOTE

The Prism Templates are open source and available at

https://github.com/PrismLibrary/Prism.Templates

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

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.Container.Extensions
    • Adds advanced Container Registration abstractions
    • Adds DryIoc & Unity ContainerExtension with support for Microsoft.DependencyInjection.Extensions. 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
  • Prism.Magician (Works with ALL Platforms)
    • The Magician works to reduce the amount of code you need to write with a collection of intelligent code generators that evaluate your codebase and references
    • It additionally provides a series of Roslyn Analyzers to help prevent you from making common mistakes
    • NOTE: This package is only available to Dan's GitHub Sponsors and Enterprise Support customers.

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.

.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: 4.5.0.0
  • .NETFramework 4.7: 4.7.0.0
  • .NETStandard 2.0: 2.0.0.0

Owners

Dan Siegel Brian Lagunas

Authors

Brian Lagunas, Dan Siegel

Project URL

https://github.com/PrismLibrary/Prism

License

Apache-2.0

Tags

prism wpf xamarin mvvm xaml

Info

325 total downloads
1 downloads for version 8.0.0.1847-ci
Download (408.95 KB)
Download symbols (218.03 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
8.0.0.1891-ci 247.23 KB Thu, 15 Oct 2020 16:06:48 GMT 3
8.0.0.1888-ci 247.21 KB Thu, 15 Oct 2020 00:51:14 GMT 1
8.0.0.1881-ci 247.23 KB Wed, 07 Oct 2020 02:37:59 GMT 6
8.0.0.1863-ci 247.27 KB Thu, 10 Sep 2020 21:54:29 GMT 6
8.0.0.1859-ci 247.26 KB Sat, 05 Sep 2020 20:51:35 GMT 2
8.0.0.1853-ci 408.91 KB Thu, 03 Sep 2020 21:51:16 GMT 2
8.0.0.1850-pre 408.99 KB Tue, 25 Aug 2020 17:18:24 GMT 4
8.0.0.1849-ci 408.95 KB Tue, 25 Aug 2020 17:15:27 GMT 2
8.0.0.1847-ci 408.95 KB Mon, 24 Aug 2020 23:36:18 GMT 1
8.0.0.1845-ci 399.61 KB Mon, 24 Aug 2020 21:26:47 GMT 1
8.0.0.1840-ci 399.62 KB Sat, 22 Aug 2020 20:12:48 GMT 1
8.0.0.1838-ci 406.05 KB Sat, 22 Aug 2020 19:01:23 GMT 1
8.0.0.1837-ci 406.06 KB Sat, 22 Aug 2020 18:26:03 GMT 1
8.0.0.1828-ci 406.08 KB Sat, 22 Aug 2020 02:37:21 GMT 1
8.0.0.1827-ci 406.1 KB Sat, 22 Aug 2020 02:01:18 GMT 1
8.0.0.1823-ci 406.12 KB Fri, 21 Aug 2020 21:57:25 GMT 1
8.0.0.1820-ci 406.08 KB Fri, 21 Aug 2020 21:20:43 GMT 0
8.0.0.1813-ci 406.1 KB Fri, 21 Aug 2020 00:32:24 GMT 0
8.0.0.1811-ci 406.1 KB Thu, 20 Aug 2020 19:56:08 GMT 0
8.0.0.1809-ci 406.09 KB Thu, 20 Aug 2020 18:44:28 GMT 0
8.0.0.1805-ci 395.24 KB Wed, 19 Aug 2020 18:42:57 GMT 2
8.0.0.1798-ci 395.27 KB Mon, 17 Aug 2020 15:06:00 GMT 1
8.0.0.1793-ci 395.3 KB Mon, 10 Aug 2020 19:49:50 GMT 2
8.0.0.1792-ci 395.27 KB Mon, 10 Aug 2020 19:00:38 GMT 1
8.0.0.1782-ci 395.21 KB Fri, 03 Jul 2020 16:26:39 GMT 10
8.0.0.1780-ci 395.3 KB Fri, 03 Jul 2020 00:06:09 GMT 4
8.0.0.1777-ci 395.35 KB Thu, 02 Jul 2020 22:34:09 GMT 4
8.0.0.1776-ci 395.3 KB Thu, 02 Jul 2020 21:54:52 GMT 4
8.0.0.1769-ci 395.31 KB Fri, 12 Jun 2020 18:00:26 GMT 4
8.0.0.1765-ci 395.36 KB Wed, 10 Jun 2020 20:53:55 GMT 4
8.0.0.1763-ci 395.31 KB Wed, 10 Jun 2020 19:49:04 GMT 4
8.0.0.1761-ci 395.33 KB Wed, 10 Jun 2020 15:28:01 GMT 4
8.0.0.1745-ci 390.48 KB Fri, 08 May 2020 00:39:42 GMT 6
8.0.0.1740-pre 390.55 KB Tue, 05 May 2020 23:11:02 GMT 4
8.0.0.1739-ci 390.5 KB Tue, 05 May 2020 21:53:36 GMT 4
8.0.0.1730-ci 389.36 KB Wed, 29 Apr 2020 16:43:31 GMT 4
8.0.0.1717-ci 389.33 KB Sat, 25 Apr 2020 01:34:53 GMT 9
8.0.0.1693-ci 355.93 KB Fri, 24 Apr 2020 00:11:16 GMT 5
8.0.0.1685-ci 355.9 KB Thu, 23 Apr 2020 18:40:57 GMT 4
8.0.0.1677-ci 355.91 KB Wed, 22 Apr 2020 20:34:37 GMT 4
8.0.0.1651-ci 355.92 KB Tue, 21 Apr 2020 23:35:18 GMT 4
8.0.0.1641-ci 355.93 KB Tue, 21 Apr 2020 14:48:07 GMT 4
8.0.0.1628-ci 353.11 KB Sun, 19 Apr 2020 17:11:08 GMT 5
8.0.0.1606-ci 353.12 KB Thu, 16 Apr 2020 20:02:19 GMT 4
8.0.0.1604-ci 350.39 KB Thu, 16 Apr 2020 19:19:16 GMT 4
8.0.0.1594-ci 344.38 KB Sun, 12 Apr 2020 15:03:29 GMT 4
8.0.0.1570-ci 344.04 KB Thu, 02 Apr 2020 22:13:53 GMT 9
8.0.0.1563-ci 340.89 KB Wed, 01 Apr 2020 23:52:33 GMT 5
8.0.0.1562-ci 340.87 KB Wed, 01 Apr 2020 23:29:08 GMT 5
8.0.0.1561-ci 340.89 KB Wed, 01 Apr 2020 22:35:38 GMT 5
7.2.0.1422 328.53 KB Thu, 21 Nov 2019 17:00:13 GMT 25
7.2.0.1367 326.85 KB Wed, 24 Jul 2019 15:16:38 GMT 19
7.2.0.1365 326.85 KB Wed, 24 Jul 2019 14:57:02 GMT 6
7.2.0.1363 326.82 KB Wed, 24 Jul 2019 14:41:32 GMT 6
7.2.0.1361 326.83 KB Wed, 24 Jul 2019 14:14:50 GMT 7
7.2.0.1357 326.84 KB Tue, 09 Jul 2019 18:30:05 GMT 13
7.1.0.431 502.53 KB Mon, 15 Oct 2018 16:22:46 GMT 38
7.0.0.396 108.11 KB Mon, 22 Jan 2018 22:05:35 GMT 32
7.0.0.362 107.94 KB Fri, 12 Jan 2018 04:57:53 GMT 12