Avalonia & Zafiro ViewModel Patterns

0•

Simplifies the creation of complex ViewModels and multi-step wizards for Avalonia applications using ReactiveUI and the Zafiro toolkit.

This skill provides comprehensive guidance and standardized patterns for building robust Avalonia applications by leveraging the functional-reactive power of ReactiveUI alongside the Zafiro toolkit. It streamlines the development of sophisticated ViewModels, advanced commands with integrated progress reporting, and declarative multi-step wizards. By incorporating best practices for dependency injection, automatic section discovery via attributes, and view-to-ViewModel mapping, it helps .NET developers maintain clean architecture and scalable codebases in cross-platform UI projects.

Key Features

01Enhanced command management with built-in progress reporting
020 GitHub stars
03Standardized View-ViewModel mapping and Composition Root implementation
04Automatic UI section discovery using the [Section] attribute
05Functional-reactive ViewModel patterns using ReactiveUI and Zafiro
06Declarative multi-step wizard creation via SlimWizard and WizardBuilder

Use Cases

01Implementing responsive UI logic with progress indicators for long-running tasks
02Architecting large-scale desktop applications with clean separation of concerns
03Building complex data-entry wizards or multi-step setup flows in Avalonia