Generic Repository and Unit of Work .NET 7: A Comprehensive Guide
26.1 هزار بار بازدید -
2 سال پیش
-
Become a Patreon and get
Become a Patreon and get source code access: https://www.patreon.com/user?u=82907371
Sign Up for the mailing List : http://eepurl.com/iebBXn
One to One Mentorship : https://www.fiverr.com/simuzechekaluw...
Get the Article : https://patreon.com/user?u=82907371&u...
Hello everybody I'm Simuzeche and in this video I will show you how you can implement the Generic Repository Pattern and Unit of Work. I will also dive deep into Entity Framework Relations names: One to Many, One to One and Many to Many. This pattern will provide you with the following benefits: It reduces redundancy of code, It force programmer to work using the same pattern, It creates possibility of less error and If you use this pattern then it is easy to maintain the centralized data access logic among others
Don't forget to comment, like and subscribe :)
Chapters 00:00 Introduction
00:19 Channel Rewards
00:21 Mailing List
00:28 Patreon Channel Support
00:50 Prerequisites
01:10 Creating a blank solution in visual studio 2022
02:03 Creating a Web API Project in Visual Studio 2022
03:27 Creating a Class Library Domain Project in Visual Studio 2022
03:37 Creating a Class Library Data Access Project in Visual Studio 2022
04:09 Entities of a Movie Management System
04:45 Creating Entities
13:26 Creating an Entity Framework Core 7 Database Context
18:47 Seeding Data in Entity Framework Core 7 using Model Builder
23:42 Microsoft Dependency Injection Container in brief
24:01 Add Entity Framework Core into the Microsoft Dependency Injection Container
30:48 Running an Entity Framework Core 7 Migration
32:33 Creating a Database Using Entity Framework Core
34:45 Implementing the Generic Repository
01:01:49 Creating a API Controller to test the Unit of Work and Generic Repository Pattern
01:10:55 Closing Remarks
#csharp #dotnet
Sign Up for the mailing List : http://eepurl.com/iebBXn
One to One Mentorship : https://www.fiverr.com/simuzechekaluw...
Get the Article : https://patreon.com/user?u=82907371&u...
Hello everybody I'm Simuzeche and in this video I will show you how you can implement the Generic Repository Pattern and Unit of Work. I will also dive deep into Entity Framework Relations names: One to Many, One to One and Many to Many. This pattern will provide you with the following benefits: It reduces redundancy of code, It force programmer to work using the same pattern, It creates possibility of less error and If you use this pattern then it is easy to maintain the centralized data access logic among others
Don't forget to comment, like and subscribe :)
Chapters 00:00 Introduction
00:19 Channel Rewards
00:21 Mailing List
00:28 Patreon Channel Support
00:50 Prerequisites
01:10 Creating a blank solution in visual studio 2022
02:03 Creating a Web API Project in Visual Studio 2022
03:27 Creating a Class Library Domain Project in Visual Studio 2022
03:37 Creating a Class Library Data Access Project in Visual Studio 2022
04:09 Entities of a Movie Management System
04:45 Creating Entities
13:26 Creating an Entity Framework Core 7 Database Context
18:47 Seeding Data in Entity Framework Core 7 using Model Builder
23:42 Microsoft Dependency Injection Container in brief
24:01 Add Entity Framework Core into the Microsoft Dependency Injection Container
30:48 Running an Entity Framework Core 7 Migration
32:33 Creating a Database Using Entity Framework Core
34:45 Implementing the Generic Repository
01:01:49 Creating a API Controller to test the Unit of Work and Generic Repository Pattern
01:10:55 Closing Remarks
#csharp #dotnet
2 سال پیش
در تاریخ 1401/09/21 منتشر شده
است.
26,143
بـار بازدید شده