An open API service indexing awesome lists of open source software.

https://github.com/thomasclaudiushuber/mvvmgen-samples

Contains sample applications built with .NET, XAML, and MvvmGen.
https://github.com/thomasclaudiushuber/mvvmgen-samples

csharp maui mvvm source-generator uno uno-platform winui wpf xamarin-forms xaml

Last synced: about 1 year ago
JSON representation

Contains sample applications built with .NET, XAML, and MvvmGen.

Awesome Lists containing this project

README

          

# MvvmGen Samples
This repository contains .NET projects that show how to use [the MvvmGen library](https://www.nuget.org/packages/MvvmGen) to build XAML applications with the Model-View-ViewModel-pattern, also known as MVVM.

This repository contains the following samples

- **EmployeeManager** - a multi-project solution that has ViewModels in a separate .NET class library project. There are two client projects: WPF and WinUI.
Look at this solution to learn how to
- generate ViewModels with MvvmGen
- use MvvmGen's EventAggregator
- use MvvmGen's ViewModelFactory
- set up Dependency Injection
- write unit tests
- **MobileFlyoutApp** - a Xamarin.Forms Flyout app created with the Visual Studio project template. The ViewModels are adjusted to use code generation with MvvmGen
- **RegistrationScreen** - a simple WPF app that shows you how to generate properties and commands with MvvmGen.

Learn more about MvvmGen [in the MvvmGen repository](https://github.com/thomasclaudiushuber/mvvmgen)