.NET 8 Keyed Service Dependency Injection with C#

3 months ago
3

Using the new Keyed services dependency injection feature to solve a real problem in my current code base written in C# .NET 8.

Access most of my code: https://www.patreon.com/kisstupid

Or grab your copy: https://www.patreon.com/kisstupid/shop/net-8-brand-website-with-markdown-blog-33850?utm_medium=clipboard_copy&utm_source=copyLink&utm_campaign=productshare_creator&utm_content=join_link

If you found this video helpful, like & subscribe! That means a lot to me!
And you may buy me a coffee: https://www.buymeacoffee.com/kis.stupid

00:00 Intro
00:40 Setup
01:38 Problem recap
05:00 Base class
07:45 KeyedServices
10:40 ImplementationFactory
12:20 KeyedService wrapper
16:05 Generic wrapper
18:57 Use Base class
22:05 Extension method
24:37 Outro

#dotnet8 #keyedservice #httpclient #generic #class #dotnet #csharp #webapi #serilog #logging #monitoring #api #webdevelopment #fullstack #fullstacksoftwareengineering #backend #docker #azure #containerization #devops #cloud #microsoft #entityframework #identityframework #mssqlserver #mssql #cleanarchitecture #authentication #development #local #web #fullstack #authorization #jwt #bearer #cqrs #mediatr #cors #http #stateless #webscraping #workers #migration
#development #blazor #wasm #pwa #progressivewebapps #webapp #webassembly #seo #rendering #client #render #server #prerendered #googlesearch #modular #monolith #verticalslicearchitecture #minimalapi

Loading comments...