Welcome to Byte Bastard

This is bastard in the sense of hard-man, not illegitimate child.

I propose to use this a my journey from vb.net to c#

I wonder what the code handling capabilities of this platform are?

10 Print "Looks like I have Courier"
20 Rem that's probably it.

Anyway... That will do for now.. Let's crack on.

30 Rem don't forget to never put usernames or passwords into this thing.


So first recorded session:

https://github.com/basharovi/Dapper-Crud-App 

Was a Bard suggested "Dapper in ASP.NET Core with Repository Pattern"

It is .net core 5, which is quite old now. It's in Projects/Dapper/Net5Example

Where I encountered this "Unit of Work"



Now this was a very interesting video by a guy called Mosh.

https://youtu.be/rtXpYpZdOzM?si=p0VTphPsboqHlxmP&t=365

Repository Pattern with C# and Entity Framework, Done Right | Mosh



We have one slide here that I found very interesting.  This was a pattern I found in my homebrew libfuncs pattern, and also recollected indecision. He says "note there is no save or update method", and then he mentions "unit of work" as multiple updates across repositories as a single transaction - which is something that's troubled me before. 


This guy Milan, who seems to be everywhere, has a video for moving/comparing EF with Dapper - which is my preferred direction:

Write Faster SQL Queries With Dapper In .NET | Clean Architecture -

https://www.youtube.com/watch?v=neH0_7bti_I

Comments

Popular posts from this blog

Tutorials on Unity Probuilder and Progrids

difference between field and property in c#