workspace-blazor-mvvm

Official

Build Blazor workspace pages with MVVM patterns.

Authorlionfire
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill guides developers to implement LionFire workspace documents in Blazor using MVVM patterns, addressing common DI and scoping challenges and providing ready-to-use patterns for list and detail pages.

Core Features & Use Cases

  • ObservableDataView pattern for reactive workspace document lists with automatic updates.
  • Manual VM pattern for detailed pages with workspace-scoped services.
  • CascadingParameter-based workspace service resolution to avoid root DI pitfalls.
  • Quick-start templates and examples (list and detail) to accelerate integration.

Quick Start

  1. Define a new workspace document type and register it in the DI container:
    • services.AddWorkspaceChildType<YourEntity>();
    • services.AddWorkspaceDocumentService<string, YourEntity>();
  2. Build a list page using ObservableDataView and pass DataServiceProvider="@WorkspaceServices".
  3. Build a detail page that resolves IObservableReader/ IObservableWriter from WorkspaceServices and binds to VM.Value.
  4. Reuse references/examples in references/ to complete pages quickly.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: workspace-blazor-mvvm
Download link: https://github.com/lionfire/Core/archive/main.zip#workspace-blazor-mvvm

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.