Modify the Books sample application (you can use a different data source as well) to use MVVM:
- Create the WPF Application
- Create a User Control to display the list (folder Views)
- Create a view-model for the list (folder ViewModels)
- Create a service and a service contract (folder Services) to return a list of Book objects
- Add the DI container Microsoft.Extensions.DependencyInjection
- Register services and view-models
- Connect view-models, services, views, display list of Book objects
- Add another user control for the detail-information
- View-model
- Connect, use IEventAggregator to send messages
- Add Add features to create new Book objects
- Add Update to update existing books
- Add Delete to delete books