Clean Up Your EF Core Exceptions With This Library
Автор: Milan Jovanović
Загружено: 2023-07-07
Просмотров: 10704
Описание:
☄️ Master the Modular Monolith Architecture: https://bit.ly/3SXlzSt
📌 Accelerate your Clean Architecture skills: https://bit.ly/3PupkOJ
🚀 Support me on Patreon to access the source code: / milanjovanovic
You're working with EF Core, and you run into a... Database exception 😱
EF Core doesn't have a nice standard when throwing exceptions, and you need to carefully examine the exception content to figure out what went wrong. However, the EntityFrameworkCore.Exceptions library tries to solve that by wrapping EF exceptions into strongly typed ones. I'll show you how to use it in this video.
Join my weekly .NET newsletter:
https://www.milanjovanovic.tech
Read my Blog here:
https://www.milanjovanovic.tech/blog
Subscribe for more:
/ @milanjovanovictech
Chapters
0:00 Pessimistic database validation?
0:54 What would an optimistic validation look like?
3:32 Figuring out what went wrong using the DbUpdateException
5:10 Cleaning up EF exceptions with EntityFrameworkCore.Exceptions
6:52 The exceptions available in this library
Повторяем попытку...

Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: