Blazing.Mvvm 3.3.16

dotnet add package Blazing.Mvvm --version 3.3.16
                    
NuGet\Install-Package Blazing.Mvvm -Version 3.3.16
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Blazing.Mvvm" Version="3.3.16" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Blazing.Mvvm" Version="3.3.16" />
                    
Directory.Packages.props
<PackageReference Include="Blazing.Mvvm" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Blazing.Mvvm --version 3.3.16
                    
#r "nuget: Blazing.Mvvm, 3.3.16"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Blazing.Mvvm@3.3.16
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Blazing.Mvvm&version=3.3.16
                    
Install as a Cake Addin
#tool nuget:?package=Blazing.Mvvm&version=3.3.16
                    
Install as a Cake Tool

<p> <img src="https://raw.githubusercontent.com/gragra33/Blazing.Mvvm/master/docs/github-pages/images/logo.png" alt="Blazing.Mvvm logo" width="96"> </p>

Blazing.Mvvm

CI/CD

Blazing.Mvvm Blazing.Mvvm.Analyzers Downloads

🔥 Blazing.Mvvm brings full MVVM support to Blazor through seamless integration with the CommunityToolkit.Mvvm. It provides strongly-typed, ViewModel-first navigation, automatic ViewModel registration and discovery, parameter resolution between Views and ViewModels, validation with ObservableValidator, and comprehensive lifecycle management across every Blazor hosting model (Server, WebAssembly, Static SSR, Auto, Hybrid, and MAUI). It also ships Roslyn analyzers with one-click code fixes to catch common MVVM mistakes at build time.

Quick Start

1. Install the package

dotnet add package Blazing.Mvvm

2. Register Blazing.Mvvm in Program.cs

builder.Services.AddMvvm(options =>
{
    options.HostingModelType = BlazorHostingModelType.WebApp;
});

3. Create a ViewModel

public partial class CounterViewModel : ViewModelBase
{
    [ObservableProperty]
    private int _count;

    [RelayCommand]
    private void Increment() => Count++;
}

4. Use it in a component

@page "/counter"
@inherits MvvmComponentBase<CounterViewModel>

<p role="status">Current count: @ViewModel.Count</p>
<button class="btn btn-primary" @onclick="ViewModel.IncrementCommand.Execute">
    Click me
</button>

For the full walkthrough, including configuration options, ViewModel setup, and component usage, see the Getting Started guide.

Documentation

Full documentation, guides, samples, analyzer rules, and the API reference are available on the documentation site.

Share Your Feedback

If you like the library, use it, share it, and give it a ⭐️. For any suggestions, feature requests, or issues, feel free to create an issue to help improve the library.

Contributing

Refer to the Contributing guide for more details.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Blazing.Mvvm:

Package Downloads
AgileExtensionBuilder.Host.Plugins.Contracts

Package Description

AgileExtensionBuilder.Host.Shared

Reusable BetterBlazor host runtime, plugin workspace, and host UI.

AgileExtensionBuilder.Host.Plugins.DecsPR

Package Description

AgileExtensionBuilder.Host.Plugins.RFC

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.3.16 865 8/2/2026
3.3.15-beta 117 7/24/2026
3.3.11-beta 113 7/23/2026
3.2.1 6,570 2/2/2026
3.2.0 666 1/6/2026
3.1.0 935 12/3/2025
3.0.0 981 11/17/2025
2.2.0 7,515 12/7/2024
2.1.1 271 12/4/2024
2.1.0 272 12/3/2024
2.0.0 275 11/30/2024
1.4.0 4,418 11/21/2023
1.2.1 361 11/1/2023
1.2.0 270 11/1/2023
1.1.0 330 10/8/2023
1.0.3 691 7/27/2023
1.0.2 343 7/25/2023
1.0.1 372 5/19/2023
1.0.0 382 5/10/2023