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.
- Host: GitHub
- URL: https://github.com/thomasclaudiushuber/mvvmgen-samples
- Owner: thomasclaudiushuber
- License: mit
- Created: 2021-05-11T14:30:52.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-03-30T08:47:51.000Z (about 3 years ago)
- Last Synced: 2025-03-24T06:54:41.133Z (about 1 year ago)
- Topics: csharp, maui, mvvm, source-generator, uno, uno-platform, winui, wpf, xamarin-forms, xaml
- Language: C#
- Homepage:
- Size: 571 KB
- Stars: 48
- Watchers: 6
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)