Open in app

Sign In

Write

Sign In

Wouter
Wouter

344 Followers

Home

About

Mar 4

Azure App Service: HTTP 400 while trying to connect to Azure Keyvault.

In this article I’ll guide you on how to setup a managed identity for your azure app service. We’ll look at both System-assigned Managed identity and User-assigned Managed identities — Last couple of weeks I’ve been playing with Azure Keyvault and trying to extend my appsettings.json with settings from keyvault. Now this all worked perfectly locally, but when deploying the app I got a few errors. Resolving those errors lead to new errors… And so a journey started.

Managed Identity Types

4 min read

Azure App Service: HTTP 400 while trying to connect to Azure Keyvault.
Azure App Service: HTTP 400 while trying to connect to Azure Keyvault.
Managed Identity Types

4 min read


Mar 1

Programming horror: Generating primary keys on the client side

So today I wanna talk about this piece of “coding horror” I found in an application. onArticleFormSubmit() { this.processValidation = true; if (this.articleForm.invalid) { return; //Validation failed, exit from method. }…

3 min read

3 min read


Feb 25

Sharing a Visual Studio secrets file with your team members

If you followed my recent posts you’ll notice that I played around with appsettings and tried to find the most elegant way to remove sensitive secrets (like passwords, API keys,…) out of source control. …

Secretsjson

4 min read

Sharing a Visual Studio secrets file with your team members
Sharing a Visual Studio secrets file with your team members
Secretsjson

4 min read


Feb 22

Enrich your appsettings.json with values from Azure Keyvault

It is not a good idea to check in your secret API keys, passwords, tokens,… in your source control. And because I kept on struggling with managing secrets and passwords for my solution… Here is a small tutorial on how to load settings from keyvault. Keyvault is an awesome tool to manage passwords , api keys and other secrets for your solution. It also helps you to keep things organized and store all secrets in one place!

Appsettingsjson

4 min read

Enrich your appsettings.json with values from Azure Keyvault
Enrich your appsettings.json with values from Azure Keyvault
Appsettingsjson

4 min read


Feb 2

Visual Studio: Batch file to delete all bin and obj folders

Has it ever happened to you that Visual Studio just keeps showing you “build” errors that… aren’t actually there? It keeps showing you errors from a ‘previous’ version. This often happens to me when switching from branches. The errors keep showing up even after cleaning and rebuilding your solution. It…

Visual Studio

2 min read

Visual Studio: Batch file to delete all bin and obj folders
Visual Studio: Batch file to delete all bin and obj folders
Visual Studio

2 min read


Jan 30

Quicktip: find out what process is using your port!

Here is another one for future me: How to find out what process is using (or stealing!) the port you need. — Say you are working on a web application in Visual Studio. And the web application is configured to use a certain port. The port is hard coded. But when you try to debug or start the web application you get an error message: “unable to connect to web server ‘IIS…

Netstat

3 min read

Quicktip: find out what process is using your port!
Quicktip: find out what process is using your port!
Netstat

3 min read


Jan 25

Quicktip: enable system diagnotics by default for your YAML pipelines.

How to enable verbose logging by default in Azure Devops YAML pipelines. — System diagnostics is a useful tool to help you troubleshoot pipeline failures. Enabling the option will give you additional verbose logging during the run of your pipeline. Manually enabling verbose logging When you run your pipeline there is a checkbox that allows you to run your pipeline with system diagnostics enabled. Checking the option…

Yaml

2 min read

Quicktip: enable system diagnotics by default for your YAML pipelines.
Quicktip: enable system diagnotics by default for your YAML pipelines.
Yaml

2 min read


Jan 3

Azure Devops Pipelines - Prompt a question to the user.

Here is a cool trick for all Azure Devops Engineers out there: Did you know that you can have variables based on a prompt shown to the user? For this scenario we want to ask the user if we should run the Sonarqube analysis during the pipeline. Our pipeline should…

Azure Devops

2 min read

Azure Devops Pipelines - Prompt a question to the user.
Azure Devops Pipelines - Prompt a question to the user.
Azure Devops

2 min read


Dec 29, 2022

Azure Devops: Yes! You should publish your test results even if they fail!

I’ve been playing with Azure Devops the last couple of months. One of the things that annoyed me was that each time a test failed there was no easy way to see what was going on. Let me show you what I mean Finding the failing test: the old fashion way Say we have a build with a…

Yaml

4 min read

Azure Devops: Yes! You should publish your test results even if they fail!
Azure Devops: Yes! You should publish your test results even if they fail!
Yaml

4 min read


Dec 22, 2022

This async method lacks ‘await’ operators and will run synchronously

If you are a C# .NET developer, you’ve probably come across this warning message: “This async method lacks ‘await’ operators and will run synchronously”. If you are defining an async method without the await keyword Visual Studio will give you the following warning message: warning CS1998: This async method lacks…

Visual Studio

3 min read

This async method lacks ‘await’ operators and will run synchronously
This async method lacks ‘await’ operators and will run synchronously
Visual Studio

3 min read

Wouter

Wouter

344 Followers

Proud owner of wouterplanet.com

Following
  • Holmes Nguyen

    Holmes Nguyen

  • Jenna Citrus

    Jenna Citrus

  • Dennis De Silva

    Dennis De Silva

  • Jerry Keszka

    Jerry Keszka

  • Antonello Zanini

    Antonello Zanini

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech