Nabs.Launchpad.Core.ViewModels 10.0.232

Prefix Reserved
dotnet add package Nabs.Launchpad.Core.ViewModels --version 10.0.232
                    
NuGet\Install-Package Nabs.Launchpad.Core.ViewModels -Version 10.0.232
                    
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="Nabs.Launchpad.Core.ViewModels" Version="10.0.232" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Nabs.Launchpad.Core.ViewModels" Version="10.0.232" />
                    
Directory.Packages.props
<PackageReference Include="Nabs.Launchpad.Core.ViewModels" />
                    
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 Nabs.Launchpad.Core.ViewModels --version 10.0.232
                    
#r "nuget: Nabs.Launchpad.Core.ViewModels, 10.0.232"
                    
#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 Nabs.Launchpad.Core.ViewModels@10.0.232
                    
#: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=Nabs.Launchpad.Core.ViewModels&version=10.0.232
                    
Install as a Cake Addin
#tool nuget:?package=Nabs.Launchpad.Core.ViewModels&version=10.0.232
                    
Install as a Cake Tool

NuGet

Nabs.Launchpad.Core.ViewModels

Nabs.Launchpad.Core.ViewModels provides MVVM-first ViewModel foundations for list/detail, item editing, and search workflows in Launchpad UI applications.

Installation

dotnet add package Nabs.Launchpad.Core.ViewModels

The Problem

// 1) CRUD ViewModel behavior (dirty state, validation, save/cancel) is repeated

// 2) Search and master-detail patterns are rebuilt per feature

// 3) Commands drift in behavior across modules

Features

  • Base item editing model via BaseItemViewModel<TItem>
  • Master-detail abstraction with MasterDetailViewModel<TListItem, TItem>
  • Search abstraction with debounced async querying
  • Validation and command-state coordination

Usage

public sealed class PeopleViewModel : MasterDetailViewModel<PersonListItem, Person>
{
    public PeopleViewModel(IStringLocalizer<PeopleViewModel> localizer) : base(localizer)
    {
        Title = "People";
    }

    protected override Task GetListItemsAsync() => Task.CompletedTask;
    protected override Task<Result<Person>> GetItemAsync(PersonListItem masterListItem) => Task.FromResult(Result.Success(new Person()));
    protected override Task<Result<Person>> NewItemAsync() => Task.FromResult(Result.Success(new Person()));
    protected override Task<Result<Person>> SaveItemAsync() => Task.FromResult(Result.Success(new Person()));
    protected override Task<Result> DeleteItemAsync(Person item) => Task.FromResult(Result.Success());
}

Configuration

Register your concrete ViewModels with DI and provide localizers/validators as needed.

Project Structure

  • Abstractions/* - base item editing primitives and validation config
  • MasterDetails/* - master-detail orchestration ViewModels
  • Search/* - search workflow ViewModel base types

License

Copyright (c) Net Advantage Business Solutions.

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Nabs.Launchpad.Core.ViewModels:

Package Downloads
Nabs.Launchpad.Ui.Shell.Blazor.Sf

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.