CodeLifter.MVVM.Maui.Blazor
1.1.2-beta
This is a prerelease version of CodeLifter.MVVM.Maui.Blazor.
dotnet add package CodeLifter.MVVM.Maui.Blazor --version 1.1.2-beta
NuGet\Install-Package CodeLifter.MVVM.Maui.Blazor -Version 1.1.2-beta
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="CodeLifter.MVVM.Maui.Blazor" Version="1.1.2-beta" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CodeLifter.MVVM.Maui.Blazor" Version="1.1.2-beta" />
<PackageReference Include="CodeLifter.MVVM.Maui.Blazor" />
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 CodeLifter.MVVM.Maui.Blazor --version 1.1.2-beta
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CodeLifter.MVVM.Maui.Blazor, 1.1.2-beta"
#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 CodeLifter.MVVM.Maui.Blazor@1.1.2-beta
#: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=CodeLifter.MVVM.Maui.Blazor&version=1.1.2-beta&prerelease
#tool nuget:?package=CodeLifter.MVVM.Maui.Blazor&version=1.1.2-beta&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
CodeLifter.MVVM.Maui.Blazor
MVVM components for MAUI Blazor Hybrid applications using the CodeLifter platform.
Overview
This package provides base components for building MAUI Blazor Hybrid applications with the MVVM pattern. It includes:
- ClComponent<TViewModel> - Base class for Blazor components with ViewModel binding
- ClLayoutComponent<TViewModel> - Base class for Blazor layout components with ViewModel binding
Installation
dotnet add package CodeLifter.MVVM.Maui.Blazor
Usage
Creating a Blazor Component in MAUI
@inherits ClComponent<MyViewModel>
<h3>@VM.Title</h3>
<p>@VM.Description</p>
<button @onclick="VM.DoSomethingCommand">Click Me</button>
@code {
// Component code here
}
Registering ViewModels
In your MauiProgram.cs:
builder.Services.AddTransient<MyViewModel>();
Features
- Automatic ViewModel initialization
- Automatic UI updates when ViewModel properties change
- Dependency injection support
- Works seamlessly with MAUI Blazor Hybrid apps
Related Packages
- CodeLifter.MVVM.Core - Core MVVM abstractions and ViewModels
- CodeLifter.MVVM.Maui - MVVM components for pure MAUI (XAML) applications
- CodeLifter.MVVM - MVVM components for Blazor Server applications
- CodeLifter.MVVM.WebAssembly - MVVM components for Blazor WebAssembly applications
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-android36.0 is compatible. net10.0-browser was computed. net10.0-ios was computed. net10.0-ios18.5 is compatible. net10.0-maccatalyst was computed. net10.0-maccatalyst18.5 is compatible. 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.
-
net10.0
- CodeLifter.MVVM.Core (>= 1.1.2-beta)
- Microsoft.AspNetCore.Components.WebView.Maui (>= 10.0.0-rc.2.25504.7)
- Microsoft.Maui.Controls (>= 10.0.0-rc.2.25504.7)
-
net10.0-android36.0
- CodeLifter.MVVM.Core (>= 1.1.2-beta)
- Microsoft.AspNetCore.Components.WebView.Maui (>= 10.0.0-rc.2.25504.7)
- Microsoft.Maui.Controls (>= 10.0.0-rc.2.25504.7)
-
net10.0-ios18.5
- CodeLifter.MVVM.Core (>= 1.1.2-beta)
- Microsoft.AspNetCore.Components.WebView.Maui (>= 10.0.0-rc.2.25504.7)
- Microsoft.Maui.Controls (>= 10.0.0-rc.2.25504.7)
-
net10.0-maccatalyst18.5
- CodeLifter.MVVM.Core (>= 1.1.2-beta)
- Microsoft.AspNetCore.Components.WebView.Maui (>= 10.0.0-rc.2.25504.7)
- Microsoft.Maui.Controls (>= 10.0.0-rc.2.25504.7)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.1.2-beta | 182 | 11/10/2025 |
| 1.1.1-beta | 170 | 11/10/2025 |
| 1.1.0-beta | 181 | 11/10/2025 |
| 1.0.1-beta | 161 | 11/9/2025 |