ASP.NET Core Web API .NET 8 2024 - 10. Repository Pattern + DI

preview_player
Показать описание
ASP.NET Core Web API .NET 8 2024 - 10. Repository Pattern + Dependency Injection

Рекомендации по теме
Комментарии
Автор

Teddy, I really loved your approach of teaching. You could have made us use Interface/repo from the start. But you incrementally teaching us How the coding approaches are evolved and make the code look better and better. Much Thanks

LearnwithChampzz-rvlk
Автор

the concept of dependency injection didn't fully click until i heard "we need to preheat the metaphorical code oven". great video

JDhillon
Автор

Pure gold. Great explanation of repository usage. 😃👍🏼

SmittyRG
Автор

Wonderful Sir
I was struggling with DI but now it's clear as crystal

kushalbhargava
Автор

thank you, Teddy, I am following you everyway

DarlingtonAzramShoniwa
Автор

I'd rather name those as SomethingService : ISomethingService. It's a small differentiator but EF already implements the repository pattern so there's no point re-implementing anything that looks like a repository or unit of work pattern and naming it away from that is at least a mental reminder it isn't a repository when it's being implemented or refactored.

fifty-plus
Автор

how to get "New C#" on right click ? which extension?

decspark
Автор

Why the IStockRepository and the StockRepository should be added into the Program .cs as a Service? Isn't enough accessing the "GetAllAsyc()" on the Controller just with the DI there?

_Apep_
Автор

Hi old friend, do you have any interest on doing microservices in dotnet core.

shivpratapshukl
Автор

can u make videos about .net maui blazor hybride

oussamahdidou
Автор

8.43 Having _context parameter and injecting it in Stockcontroller constructor is unnecessary since you used it and inject it in stock repository.

Mo_ali
Автор

10:14 GetAll() method: return stock, but we need to return stockDto? Or I wrong? tnx for your answer

Tim_Obozny