Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Why You Don't Need To Abstract Away EF Core With Clean Architecture

Автор: Milan Jovanović

Загружено: 2023-03-21

Просмотров: 55464

Описание:

☄️ 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  

Clean Architecture says you can't reference external dependencies in the Application layer. EF Core would be considered an external dependency. So what can you do? Here's an example of how being pragmatic can lead to a more straightforward design. Maybe there's no need to implement a custom repository and unit of work. Use EF directly, and reap all of the benefits.

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 Creating the Application layer
0:33 Installing MediatR and EF Core
1:13 Implementing the "Create Order" use case
2:39 Defining an EF Core DbContext abstraction
4:30 Implementing the use case with EF Core
6:05 Adding SaveChangesAsync
7:06 Benefits of directly using EF Core
7:48 Drawbacks of directly using EF Core
8:38 Configuring the Persistence layer

Why You Don't Need To Abstract Away EF Core With Clean Architecture

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Will This New EF Core Feature Be The End Of Dapper?

Will This New EF Core Feature Be The End Of Dapper?

What Every .NET Developer Actually Needs to Know in 2026

What Every .NET Developer Actually Needs to Know in 2026

Where Should You Put Repository Interfaces In Clean Architecture?

Where Should You Put Repository Interfaces In Clean Architecture?

Хватит всё жестко кодировать: используйте внедрение зависимостей

Хватит всё жестко кодировать: используйте внедрение зависимостей

How To Use The Specification Design Pattern With EF Core 6

How To Use The Specification Design Pattern With EF Core 6

Почему я не использую Entity Framework

Почему я не использую Entity Framework

Чистая архитектура с ASP.NET Core 10

Чистая архитектура с ASP.NET Core 10

Are You Accidentally Crippling Your EF Core Queries?

Are You Accidentally Crippling Your EF Core Queries?

REST API following CLEAN ARCHITECTURE & DDD Tutorial

REST API following CLEAN ARCHITECTURE & DDD Tutorial

Я ненавижу длинные цепочки If-Elif: этот шаблон проектирования решил эту проблему раз и навсегда

Я ненавижу длинные цепочки If-Elif: этот шаблон проектирования решил эту проблему раз и навсегда

Запуск ASP.NET Core + PostgreSQL | Docker Compose

Запуск ASP.NET Core + PostgreSQL | Docker Compose

Microsoft begs for mercy

Microsoft begs for mercy

How to Implement the CQRS Pattern in Clean Architecture (from scratch)

How to Implement the CQRS Pattern in Clean Architecture (from scratch)

How I Use The Generic Repository Pattern In Clean Architecture

How I Use The Generic Repository Pattern In Clean Architecture

Handle ASP.NET Core Exceptions Globally

Handle ASP.NET Core Exceptions Globally

Долбануть по Ирану, отжать Гренландию | Обычный вторник Трампа? (English subtitles)

Долбануть по Ирану, отжать Гренландию | Обычный вторник Трампа? (English subtitles)

The Windows 11 Disaster That's Killing Microsoft

The Windows 11 Disaster That's Killing Microsoft

Поймите чистую архитектуру за 7 минут

Поймите чистую архитектуру за 7 минут

Компьютер сгорел после перепада напряжения, другой блок не помог! 🔥🤬 #HappyPC

Компьютер сгорел после перепада напряжения, другой блок не помог! 🔥🤬 #HappyPC

ПОЛНЫЙ ПРОВАЛ «ОРЕШНИКА». Путин выставил себя на посмешище

ПОЛНЫЙ ПРОВАЛ «ОРЕШНИКА». Путин выставил себя на посмешище

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: infodtube@gmail.com