Azure Functions with Managed Identities - Part 2: access to KeyVaults

Azure Functions with Managed Identities - Part 2: access to KeyVaults

Hi All! In this second article of this Series, we will continue our discussion about Managed System Identities on Azure and see how they can be used to grant access to an Azure KeyVault. So without further ado, let’s take a look at our ARM template: { "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "parameters":...

4 minute read
Azure Functions with Managed Identities - Part 1

Azure Functions with Managed Identities - Part 1

Hi All! Today we’ll steer away a bit from Design Patterns and talk about Azure Managed System Identities, or MSI, and how they can be leveraged in Azure Function Apps. So what are exactly Managed Identities? First of all, they are a broader term, that includes both System and User...

5 minute read
Is Dependency Injection dead? - Part 3: Anti-Patterns

Is Dependency Injection dead? - Part 3: Anti-Patterns

Welcome back to the third part of the Dependency Injection series! Last time we talked about Services registration and lifetime configuration. Today instead we’ll see 2 very common anti-patterns in DI world. Let’s start from the basics. The first anti-pattern is called Control Freak. Let’s see some code first: public...

4 minute read
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