Categories
Azure Azure Functions

Building Azure Functions in the Rider IDE

Many people now use Rider as their integrated development environment editor for .NET. However, when it comes to using it for developing Azure Functions, the out-of-the-box experience is (currently) less than ideal. I say currently, because in the next update to the Azure Toolkit plugin for Rider Functions support has been added. This’ll make running […]

Categories
Azure

Azure App Configuration vs App Settings

For a long time now, App Settings have been the way to configure your app’s settings such as environment variables and connection strings for Azure App Services. In February 2019, Microsoft announced a new service called App Configuration – which, currently in preview – allows you to easily centralise your app settings across multiple resources. […]

Categories
.NET Core

Understanding the Newtonsoft JSON Token

One of the concepts worth understanding when writing a custom converter for the popular Newtonsoft JSON framework is that of the JsonToken, and the role it plays in helping you understand the JSON being read. The JsonToken documentation for Newtonsoft is relatively sparse – in part because once you understand it, it’s a relatively simple […]

Categories
Azure Azure Functions

Which Azure Functions runtime am I using?

Microsoft currently support two versions of the Azure Functions runtime – version 1 and version 2. This post will look at the main changes between the two versions, and show you how you can check which runtime you’re using. What are the key differences between versions? Version 1 of the runtime was introduced back in […]

Categories
Azure Azure Functions

Azure Functions App vs Functions

A common question asked by newcomers to the world of Azure Functions, is what’s the difference between an Azure functions app vs a function? Are they the same thing? In short, there is a difference. You can think of the functions app as if it refers to a workspace that contains one or more functions. […]

Categories
Azure

What’s an Azure Service Principal and Managed Identity?

In this post, we’ll take a brief look at the difference between an Azure service principal and a managed identity (formerly referred to as a Managed Service Identity or MSI). What is a service principal or managed service identity? Lets get the basics out of the way first. In short, a service principal can be […]

Categories
Azure DevOps

Using key vault values from variable groups in Azure DevOps pipeline tasks

Earlier this week we had a post about how you can easily access secrets stored within Azure Key Vault in an Azure DevOps pipeline task, using the Key Vault Task. One other way you can achieve this same functionality is by using a variable group, and in this post we’re going to show you how. […]

Categories
.NET Core

Throw or throw ex in C#?

One common question that comes up when working with exceptions in C#, is whether or not you should re-throw an existing exception by specifying the exception, or just using the throw keyword where an error occurs. In most cases, it’s best to rethrow the existing exception, such as below: try { var networkResponse = await […]

Categories
Azure DevOps

Accessing Key Vault secrets in an Azure DevOps pipeline task

In the post, we’ll take a look at one option for accessing Azure Key Vault secrets from within an Azure DevOps release pipeline. Want to secure your Azure DevOps application secrets in Key Vault? Find out how in ¬†our short e-book guide on Amazon Setting up your Azure Key Vault Before you can add the […]

Categories
Azure Azure Functions

How to add Application Insights to an Azure function

Today we’re going to look at how easy it is to add Azure Application Insights (part of Azure Monitor) to an Azure Function. What is Application Insights? In short, Application Insights is a performance and monitoring tool that forms part of the Azure Monitor suite. It allows you to access detailed telemetry on requests made […]