Secretless access to Azure services in AKS using Token Credentials and managed identity

by Karl SolgÄrd

Phew, that's a mouthful! Working with AKS sometimes is. However, I can assure you that this approach to securing your applications in your Kubernetes cluster is worth it. The advantages to have a secretless solution are many: * No secrets are lost in the wild 🐅 The need to send…

Watering herbs with Raspberry Pi - Smart irrigation system made with sensors and Azure IoT Central

by Karl SolgÄrd

I saw an ad for self-watering plant pots a while ago - and I thought it looked pretty neat. As I looked at the hefty price of 4.000 NOK for the system, I thought to myself that it would be cheaper and more fun to make my own with…

How to save and deploy Azure alerts as code in Bicep

by Karl SolgÄrd

Bicep is the new kid on the block when it comes to IaC (Infrastructure as Code). It ties closely with ARM-templates. It's flexible and easier to use and read than ARM. Alerts can be hard to keep track of in a IaC setup. Let's try to…

Change timezone for a Linux-based Azure WebApp

by Tomas Hensrud Gulla

The time zone for a Windows-based Azure WebApp can be set using the WEBSITE_TIME_ZONE app setting. If you try the same with a Linux-based WebApp you may find yourself in trouble. Read how to do it!…

Deploying a .NET 5 website to a Linux-based Azure Web App, using Azure DevOps Pipelines

by Tomas Hensrud Gulla

With Microsoft .NET 5 you can choose what platform you use for developing and hosting the solutions you build. Build on Windows, test on macOS, and host on Linux? No problem! Why should you run your Web App on Linux? Because it's cheaper? Because you'll get…

Azure app configuration with no secrets using Azure managed identity

by Karl SolgÄrd

Some applications have secrets. Sometimes secrets lie in the app settings. If these gets in the hands of someone evil, it could have dire consequences. We don't want to deal with these app settings at all! That's where TokenCredentials and managed identity comes in!…

Restore point-in-time backup for Azure SQL database

by Tomas Hensrud Gulla

If you are doing manual updates directly to your Episerver database, or performing an upgrade that updates the database schema it could be a good idea to have a backup from the exact time right before the change is made. In Azure, you always have!…

Flytt hjem - Azureressurser i Norway East

by Tomas Hensrud Gulla

For noen mĂ„neder siden var det ikke fritt frem for Ă„ opprette SQL-databaser i Azure-regionen Norway East. For min private blogg endte jeg derfor opp med AppService i Norge og database i Sveits. NĂ„ tenkte jeg det var pĂ„ tide Ă„ samle bloggen i Ă©n region, men hvordan gjĂžr man egentlig det?…

Logging SSL certificate data to Azure Log Analytics

by Karl SolgÄrd

There's no built-in way to log SSL data with Azure Application Insights. APIs for SSL analytics exist and that data could be sent in with the "Azure Monitor HTTP Data Collector API".…

.NET Tip: Feature toggling inside DI-containers

by Karl SolgÄrd

A pivotal moment in the history of an application is when a service changes drastically and deployment becomes a subject of stress and uncertainty. The service might be deemed as unhealthy in a production environment whereas it worked just fine in the test environment.…