Code Maze Author

Georgi Georgiev

Georgi is a software engineer and tech lead with nearly a decade of experience in building microservices and Web APIs with .NET using clean architecture and best practices, ensuring that each solution is not only effective but also sustainable and scalable.
Also find me here:

MY ARTICLES:

Dynamically Change the ServiceLifetime of a Registered Service in .NET

Managing dependencies is essential in modern application development. .NET provides a powerful Dependency Injection (DI) system, with ServiceCollection at its core. Typically, we register a service and use it as is. However, there are instances when we need to change...

Using EF Core Interceptors in .NET

Entity Framework Core (EF Core) has many powerful features, with Interceptors being one of the most versatile. Interceptors allow us to plug in custom behavior at different stages of the EF Core operation pipeline, giving us enhanced control over data interaction...

How to Resolve IOptions Instance Inside Program Class in C#

In this article, we’ll look at resolving the IOptions instance in the Program class, ensuring we avoid common pitfalls and learn some best practices. As software developers, we frequently encounter the challenge of managing application configurations. However, to make...