# Prism

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

Repository: https://github.com/PrismLibrary/Prism
Canonical: https://ross.abutalabs.com/products/prism-2
Language: C#
License: NOASSERTION
License Family: other
Topics: prism, xamarin-forms, c-sharp, xamarin-studio, visual-studio, wpf, mvvm, hacktoberfest
Last push: 2026-08-06T01:21:10+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 8, longevity 100
- inputs: {"age_days": 4207, "days_push": 28, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6836, forks 1652 (observed 2026-08-28T04:09:48.924255+00:00)

## What it is
Prism is a .NET framework for building loosely coupled, maintainable, and testable XAML applications across WPF, Avalonia, MAUI, Uno Platform, and WinUI. It provides implementations of design patterns such as MVVM, dependency injection, commands, and EventAggregator, with platform-specific libraries built on a shared .NET Standard core.

## Use cases
- build mvvm applications in wpf
- structure loosely coupled xaml applications
- add dependency injection to maui apps
- implement event aggregation between viewmodels
- make xaml apps testable and maintainable
- share application architecture code across uno and winui
- handle navigation in xamarin forms apps

## When to choose
- you are building a large XAML application in WPF, MAUI, Avalonia, Uno, or WinUI and want a proven MVVM architecture
- you need built-in dependency injection, navigation, commands, and event aggregation out of the box
- your team wants a consistent, well-documented pattern set across multiple .NET UI platforms

## When to avoid
- you need a fully permissive open-source license for large commercial use - Prism 9+ uses a dual license requiring a commercial license for larger organizations
- you prefer a lightweight minimal MVVM setup without framework conventions
- you are not building XAML-based .NET applications

## Facets
- artifact type: framework
- maturity: stable
- function: state-management, ui-components, middleware
- domain: cross-platform, desktop-applications, mobile-development, web-development, developer-tools
- platform: windows, cross-platform, dotnet, c
- tags: mvvm, xaml, wpf, maui, uno-platform, avalonia, dependency-injection, event-aggregator, navigation, xamarin-forms

## Member repositories
- PrismLibrary/Prism (main) score 66
- PrismLibrary/Prism-Samples-Wpf (examples) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:48.924255+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:41:52.079773+00:00, confidence not recorded.
  - readme: https://github.com/PrismLibrary/Prism (fetched 2026-08-28T04:09:48.924255+00:00, sha 9c8f86b6234b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
