Services (w/ Entity Framework) - WPF MVVM TUTORIAL #6

Published: 23 October 2021
on channel: SingletonSean
43,265
494

Learn about implementing services in an MVVM application. In this case, a service is a class that performs business logic, typically via an external component. The services in this tutorial will interact with a database via Entity Framework.

In this series, I demonstrate all the key components of a WPF MVVM application. This series will lay the foundations for building your own application.

TIMESTAMPS:
0:00 - Introduction
1:04 - Entity Framework Setup
1:47 - Implementing the DbContext
2:59 - Creating DTOs
4:21 - Scaffolding the Database
7:42 - Implementing the ReservationProvider Service
10:33 - Implementing the ReservationCreator Service
12:27 - Using the Services in the Model
13:03 - Implementing the ReservationConflictValidator Service
15:42 - Updating the App.xaml.cs Setup
16:48 - Adding an AsyncCommand
18:35 - Loading Data Asynchronously
20:46 - Fixing the ReservationConflictValidator
22:45 - Conclusion

SOURCE CODE: https://github.com/SingletonSean/rese...

OTHER LINKS:
Become a Member:    / @singletonsean  
Donations: https://www.paypal.com/biz/fund?id=UB...


On this page of the site you can watch the video online Services (w/ Entity Framework) - WPF MVVM TUTORIAL #6 with a duration of hours minute second in good quality, which was uploaded by the user SingletonSean 23 October 2021, share the link with friends and acquaintances, this video has already been watched 43,265 times on youtube and it was liked by 494 viewers. Enjoy your viewing!