mtstring
❔ How can I better understand the concepts of unit of work and repository pattern in C# .NET 7?
Alright, Thank you very much for all the helpful tips you provided, sir.
I appreciate your guidance, and I look forward to applying these tips to my learning journey. I have been aspiring to learn C# for a long time, and I am finally starting this year. Thanks again sir. 🫡
44 replies
❔ How can I better understand the concepts of unit of work and repository pattern in C# .NET 7?
What i mean is, is the use of repository and UoW mandatory in all cases?
Some individuals argue that you should only utilize it if you're building a very large system or application.
44 replies
❔ How can I better understand the concepts of unit of work and repository pattern in C# .NET 7?
https://github.com/MarchTala/dotnet7-crud-webapi/tree/3-of-3-uow-repository-pattern
I created a CRUD project and separated it into three branches. The first branch is focused on In-Memory implementation, the second on DbContext, and the third on UoW and Repository Pattern.
I created that project with the aim of gaining an understanding of the implementation of In-Memory Database, DbContext, as well as UoW and Repository Pattern. While I have some grasp on In-Memory and DbContext, I am facing confusion with UoW and Repository Pattern.
Could you please confirm if the implementation of UoW and Repository Pattern that I am using is correct? I am having difficulty articulating the issue in detail, but I am seeking guidance on the soundness of my approach.
44 replies
❔ How can I better understand the concepts of unit of work and repository pattern in C# .NET 7?
I mean if what I'm doing is right or if the approach I'm taking is right, it's just things like that. I've just started learning this C#.NET, maybe I've only been in 2 weeks, and most of the tutorials I see have different implementations, so I'm even more confused.
44 replies
❔ How can I better understand the concepts of unit of work and repository pattern in C# .NET 7?
I appreciate your response and the helpful tips you provided. I took note of all the information you shared as a reference for my future studies. However, I am still a bit confused about some aspects, so I decided to seek further clarification here.
44 replies