Is Dependency Injection dead? - Part 2: Service Lifetimes

Is Dependency Injection dead? - Part 2: Service Lifetimes

Welcome back to the second part of the Dependency Injection series! Last time we saw what DI is and why it helps us write more maintainable, robust and testable code. Today we’ll keep talking about it, and we’ll see what service lifetimes are. In a nutshell, a lifetime defines how...

3 minute read
Is Dependency Injection dead? - Part 1

Is Dependency Injection dead? - Part 1

TLDR: No, of course, it’s not dead. But you’ve been probably using it wrong this whole time. Slightly longer version: Last time I wrote about the general decline of Design Patterns among software engineers and how I feel about it. Today we’re going to talk about Dependency Injection, one of...

4 minute read
Are Design Patterns dead?

Are Design Patterns dead?

TLDR: No, of course they’re not dead. It’s just that people are lazy. Slightly longer version: I’ve been thinking a lot lately about writing a new post. Fantasizing, perhaps, is a better word for it. But every time I could not find the right topic, and of course I didn’t...

3 minute read
How to add Azure Key Vault to an Azure Function

How to add Azure Key Vault to an Azure Function

Hi All! Today we’ll see how to integrate Azure Key Vault in an Azure Function and use it as a configuration provider. As a rule of thumb, things like connection strings, API keys, all sorts of credentials, should never be stored in plain text in our sources. Nowadays, it’s all...

2 minute read