hmijalski.com - Hubert Mijalski

Description: ExampleSite description

.net (11026) c# (3610) dotnet (337) csharp (221) netcore (14) efcore (2) mijalski (2) hubert mijalski (1) hmijalski (1)

Example domain paragraphs

about tags Hello 👋 Welcome to my blog, about anything .NET related, I hope you enjoy your stay here

Auto Registering dependencies with Scrutor Dependency injection (DI) software design pattern is one of the most used ones and requires no introduction, but if you need any check out MDNS article about this topic. To achieve Inversion of Control we can use DI Containers, in which we define services and the abstractions that they fulfill so that they can be injected (created) at runtime. .NET Core and .NET5+ has a simple container built-in that allows registering dependencies one by one, but the application c

Fuzzy search allows finding strings that match the pattern approximately. It is a feature needed in almost every app, but it can be a little problematic to implement. We will focus on EFCore PostgreSql provider as it is free and seems to be the most popular choice nowadays (for me at least). First, our EFCore project needs this package: PostgreSQL.FuzzyStringMatch Then, we need to register it with our DbContext, so let’s navigate to Startup....