Тёмный

Feedback (Loading, Validation, Error Messages) - WPF MVVM TUTORIAL #8 

SingletonSean
Подписаться 22 тыс.
Просмотров 19 тыс.
50% 1

Learn about implementing UI feedback in an MVVM application. UI feedback includes displaying loading screens, data validation results, and error messages.
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
0:35 - Loading Screens
7:08 - Data Validation (INotifyDataErrorInfo)
14:40 - Error Messages
17:54 - Handling Errors in the Store
18:58 - Conclusion
PROPERTY CHANGED SNIPPET: singletonsean.s3.amazonaws.co...
SOURCE CODE: github.com/SingletonSean/rese...
OTHER LINKS:
Become a Member: / @singletonsean
Donations: www.paypal.com/biz/fund?id=UB...

Наука

Опубликовано:

 

25 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 16   
@eltonlame1666
@eltonlame1666 2 года назад
Great explanation as always.
@armanddebesse1792
@armanddebesse1792 2 года назад
Thanks a lot ! I'm a French student in IT and those mvvm/wpf videos really help me
@SingletonSean
@SingletonSean 2 года назад
Fantastic! Glad this has been helpful armand.
@abdulmagedal-khulaifi6410
@abdulmagedal-khulaifi6410 2 года назад
That's a very useful video, thank you so much
@cruxeno
@cruxeno 2 года назад
Very good explanation of the Data validation Sean. I think you could make the AddError() and CleanError() a bit shorter by introducing [CallerMemberName] as the default attribute in the methods. This way you can bypass the "nameof(propertyName)" that you use often. so it would be: void CleanErrors([CallerMemberName] string propertyName = null) { ... }.
@user-kw2qe5pg6p
@user-kw2qe5pg6p 3 месяца назад
Thank you
@binarybotany3218
@binarybotany3218 11 месяцев назад
Nice spinner 😎
@sir1usbl4ck333
@sir1usbl4ck333 2 года назад
Great content as always, how would we handle the Clear Errors if we wanted to implement multiple errors on the same field ? Like a re-usable "RequiredField" method ?
@pathiashokkumar153
@pathiashokkumar153 День назад
how to connect with sql database.... i just clone the code but i face difficulty to connect to sql
@jametime7491
@jametime7491 2 года назад
Is there a way we can share the AbstractValidator(of FluentValidator) with this to share the same validation code on back-end + front-end, by using ValidationRule perhaps?
@edouardpoitras810
@edouardpoitras810 11 месяцев назад
Sean- The video is great but I can't seem to get the Spinner to show. I have been over the code several times- is the Checkbox control in the dll by chance?
@olepatheonlyone
@olepatheonlyone Год назад
If I leave in the code for throwing an exception while loading, should it still try to load after going back with the cancel button even after deleting that line at 18:51?
@jadersouza7352
@jadersouza7352 2 года назад
Check if StartDate < EndDate would not be a business rule? Wouldn't it be better to address this in the Domain (separation of concerns/DDD)? Would you have any example of MVVM + DDD, implementing the Domain and data access in a Rest API?
@SingletonSean
@SingletonSean 2 года назад
Hey Jader, I feel a bit uneasy about this as well. You could certainly extract this logic to the domain layer and encapsulate it into something more pleasant. I would reallyyyy like to do a series on WPF + ASP.NET, where we build a Rest API with ASP.NET. I've thought of an idea for this series. I spend most of my time building APIs nowadays anyways, so I think this would be fun!
@bahmankazem2543
@bahmankazem2543 Год назад
Where is GetValueOrDefault() of dictionary i dont see it:|
Далее
.NET Generic Host - WPF MVVM TUTORIAL #9
18:13
Просмотров 17 тыс.
WPF Controls with MVVM: ItemsControl
33:34
Просмотров 82 тыс.
How to Implement Validation in WPF MVVM
47:07
Просмотров 5 тыс.
Services (w/ Entity Framework) - WPF MVVM TUTORIAL #6
23:37
oh $%!&, I didn't want to do that! UNDO UNDO UNDO!
13:54
Stores - WPF MVVM TUTORIAL #7
14:25
Просмотров 21 тыс.
How to Create and Use Validation Rules - WPF TUTORIALS
10:09
iPhone 16 - КРУТЕЙШИЕ ИННОВАЦИИ
4:50
Собери ПК и Получи 10,000₽
1:00
Просмотров 999 тыс.