Skip to content

AttRicon/youtube-samples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

All the sample code I use on my YouTube channel

This repository contains the source code I use in the YouTube video and will be updated after each video is posted. Keep tuned!

Visit here: YouTube Channel

Content List (order by date desc)

Video Title Code
👉 Implement a Kafka-like message broker with .NET BlockingCollection! KafkaWithBlockingCollection
🐞 EF Core bug: Avoid using Async method with Large data result! EFCoreLargeData
🥶 Managing Concurrency with SemaphoreSlim: Avoid DeadLock! SemaphoreSlimWithCancellationToken
🔥 Don't use Task.WhenAll, it may not be efficient enough! RunMultipleTasks
Integration Test: Mock PartOf a class MockPartOfClass
🍕 Template Method pattern: Refactor and make your application plug-in-able TemplateMethodPattern
🌵 Can Async/Await block the main thread? AsyncAwaitIssue
🔐 ASP.NET Core Authorization: Policy-Based Access Control PolicyBaseAuthorization
🔐 ASP.NET Core Authorization: Role-Based Access Control (RBAC) RoleBaseAuthorization
🌶️ How to use Kafka in .NET 8? KafkaDotNet
🚀 EF Core 8: How to optimize a query? EFQueryOptimization
Writing your own MediatR from scratch in C# CustomMediatR
Multi-Tenant applications: How to do it in the correct way! MultiTenantDbContext
.NET: Console Application + Gaming! No code!
💥 gRPC on .NET: How to use gRPC in ASP.NET Core Api GrpcOnAspNet
🚀 ASP.NET Core: Faster Api with Multi-Layer cache! MultiLayerCache
.NET Aspire: How to use Redis step by step AspireTemplate
.NET: Be careful about HttpClient, what's the issue and how to solve it?! HttpClientProblem
SQL Server Indexing: How database engine chooses an index for a query? No Code!
.NET Aspire: How to use RabbitMQ component step by step? AspireTemplate
🔐 ASP.NET Core Authentication: JWT token validation using OpenID Connect (OIDC) OpenIdConnectAuthentication
🆒️ .NET Aspire: How it works behind the scenes? AspireTemplate
What is the difference between BackgroundService and HostedService? HostedServiceAndBackgroundService
🔆 C# Serializers: NewtonSoft vs Protobuf vs Apache.Avro vs MessagePack vs Bson SerializerComparison
EF Core: Be careful about Find method cache! EFCheckFind
❌️ ASP.NET Dependency Injection: You may be wrong about Scoped services! DependencyInjectionScoped
♾️ ASP.NET Dependency Injection: Handle multiple implementations for one interface with delegate MultpleInterfaceImp
👨‍💻 C# xUnit: How to run code before and after a test! XUnitSample

About

All Sample Code for my YouTube channel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%