CodeLifter.MVVM
1.1.2-beta
dotnet add package CodeLifter.MVVM --version 1.1.2-beta
NuGet\Install-Package CodeLifter.MVVM -Version 1.1.2-beta
<PackageReference Include="CodeLifter.MVVM" Version="1.1.2-beta" />
<PackageVersion Include="CodeLifter.MVVM" Version="1.1.2-beta" />
<PackageReference Include="CodeLifter.MVVM" />
paket add CodeLifter.MVVM --version 1.1.2-beta
#r "nuget: CodeLifter.MVVM, 1.1.2-beta"
#:package CodeLifter.MVVM@1.1.2-beta
#addin nuget:?package=CodeLifter.MVVM&version=1.1.2-beta&prerelease
#tool nuget:?package=CodeLifter.MVVM&version=1.1.2-beta&prerelease
Laconia.MVVM - Blazor Server
MVVM components for Blazor Server applications using the Laconia platform.
Features
- Component<TViewModel>: Base component class for Blazor components with ViewModel binding
- LayoutComponent<TViewModel>: Base layout component class with ViewModel support
- ParameterBoundComponent<TViewModel>: Component with parameter-bound ViewModel
- ValidationSummary: Validation summary component for ObservableValidator ViewModels
Usage
@inherits Component<MyViewModel>
<h1>@VM.Title</h1>
<button @onclick="VM.DoSomethingCommand">Click Me</button>
Dependencies
- Laconia.MVVM.Core - Core ViewModels and abstractions
- Microsoft.AspNetCore.Components - Blazor Server components
Platform Support
This package is specifically for Blazor Server applications. For other platforms, use:
- Blazor WebAssembly: Laconia.MVVM.WebAssembly
- MAUI/MAUI Blazor: Laconia.MVVM.Maui
Features
I'll be implementing the following features that I believe are fundamental to a high-quality web application. Note that each of these items below are basically just implementing a nice clean config for re-use. They will each come with necessary settings class prefilled where possible with "Sensible Defaults" I'll be making improvements over time and I am HIGHLY OPEN to feedback. I like learning too!
| Feature | Tooling used | Nuget |
|---|---|---|
| External Configuration | Azure App Config |
Laconia.Config |
| Structured Logging Console | Serilog / Console |
Laconia.Logging |
| Structured Logging + OTEL | Serilog / Jaeger |
Laconia.Logging |
| SQL Database | PostgreSQL |
Laconia.Data |
| Identity | .Net Identity |
Laconia.Identity |
| Free Distributed Caching | .Net in memory cache |
|
| Premium Distributed Caching | Redis |
Laconia.Caching |
| Free Document Database | Marten |
Laconia.NoSql |
| Premium Document Database | Marten |
Laconia.NoSql |
| Background Workers | HangFire |
Laconia.Background |
| Free Document Database | Marten |
Laconia.NoSql |
| Free Document Database | Marten |
Laconia.NoSql |
| Blazor Server | MudBlazor |
MudBlazor |
* Laconia's name was taken from the wonderful 'The Expanse' book series. It is also the location of a historical place of government in Greece.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. |
-
net10.0
- CodeLifter.MVVM.Core (>= 1.1.2-beta)
- Microsoft.AspNetCore.Components (>= 10.0.0-rc.2.25502.107)
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 | 178 | 11/10/2025 |
| 1.1.1-beta | 170 | 11/10/2025 |
| 1.1.0-beta | 175 | 11/10/2025 |
| 1.0.1-beta | 159 | 11/9/2025 |
| 1.0.0-beta | 153 | 11/9/2025 |