Posts

Showing posts from February, 2024

Microsoft's own course

  https://www.youtube.com/playlist?list=PLdo4fOcmZ0oULFjxrOagaERVAMbmG20Xe https://youtu.be/ZXCMBOxry8A?si=k5F0Ool7fKHUshh7 checked keyword was new to me [pt8] integers: integer, long and bigint... int a = (int)42.1      float is 32 bit,  double is 64 bit. However this is all BS:  So as usual go for decimal... But instead of D we use M [pt12]  var keyword to avoid repetition when right-side strongly typed. [pt13] ^ operator and [2..4]  oh, that's start at 2 and up to but not included 4 names = [..names."Damian"]  is a new c# feature.    <why?>

LINQ

 Seems I done a lot of these, but there might be some gems in this list https://www.youtube.com/watch?v=7-P6Mxl5elg&t=208s

IDBCRUDoperations

Image
 

Repository Pattern, Interfaces and Dependency Injection

Image
  This guy's made a clear video here.  Demostrating use of Repository Pattern, Interfaces and Dependency Injection.  Need to implement this in one of my projects

Welcome to Byte Bastard

Image
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 recolle...

This is Byte Bastard & mates

Image