Azure

Pulumi with an Azure Blob Storage backend

Pulumi without Pulumi Service.

By default when you use Pulumi, the state is managed by Pulumi Service which is very convenient as you can concentrate on building your project infrastructure instead of spending time on where to store the state and how to handle concurrency. However, sometimes for governance or pricing concerns, or any other reasons, you don't want to use Pulumi Service and you prefer to manage the state yourself with your own backend. In this article, we will see how we can do that using Azure.

Read more...

Week 39, 2021 - Tips I learned this week

Azure emulators, Use my current account Edge extension, Azure icons in Visio, and Azure Charts.

This week is mainly about learning Azure tooling.

Read more...

ASP.NET Core - Lost in configuration

How should you use configuration providers in ASP.NET Core?

Have you ever felt a bit overwhelmed by the configuration in a project, not knowing where to look for the settings between the command line parameters, the environment variables, the configuration files in code, the configuration in Azure, ... ? When developing an ASP.NET Core application there are many places where you can put your configuration which makes it difficult to know where you should put it. Even if the official documentation about configuration in ASP.NET Core is very complete and well written, it only describes what you can use and how to use it, not what you should use and when. In this article, I will try to answer these questions and give you my opinion about how we should use configuration providers in ASP.NET Core.

Read more...

AzureWebJobsStorage, the secret you don't need in your Function App.

If you are using Azure Functions chances are you are using the setting AzureWebJobsStorage in your Function App configuration. And it is quite likely that the value of this setting which is a secret is stored in a non-secured way directly in your Function App configuration, available to anyone who has access to this configuration. But do not worry, we will see in this article how we can make your Function App more secure by removing this secret.

Read more...

How to connect to an Azure SQL Database from C# using Azure AD

Talking about Active Directory Default authentication mode for SqlClient.

In Microsoft.Data.SqlClient v3.0.0, a new authentication mode Active Directory Default has been released. Let's see what this means when querying an Azure SQL Database from some C# code.

Read more...

Week 22, 2021 - Tips I learned this week

IntelliSense in vscode, Azure CLI command to get assigned roles, and Azure Storage Explorer new version.

This week I learned some Azure CLI commands, how to have JSON IntelliSense in vscode and that Azure Storage Explorer was usable again.

Read more...

Week 14, 2021 - Tips I learned this week

Azure tenant in vs code and Azure IoT Hub vs code extension.

This week I learned a few things related to vscode and especially about the Azure IoT Hub vscode extension.

Read more...

You almost no longer need Key Vault references for Azure Functions.

Talking about how to manage configuration secrets in Azure Functions.

The possibility to add configuration sources in Azure Functions has just been released with the latest version of Microsoft.Azure.Functions.Extensions NuGet package. I have been waiting for this feature for a long time (like many people I think) because it brings to Azure Functions all the things we are used to with configuration in ASP.NET Core 😻. But that is not the only reason, it is also because with this feature you almost don't need to use key vault references!

Read more...

Goodbye Azure Portal, Welcome Azure CLI

Let's jump into Azure CLI!

In this article about Azure CLI, we will talk about:

Read more...