In this article we will look at how to do Dependency Injection with Azure Functions as described in the article athttps://docs.microsoft.com/en-us/azure/azure-functions/functions-dotnet-dependency-injection. The code for this article can be found at https://github.com/mattruma/SampleDependencyInjectionFunctionApp. To make the most of this article, it will be helpful to be familiar with: Azure Functions Dependency Injection and Dependency Injection in ASP.NET…
Category: Azure
Adventures with Cosmos DB: Change Feed – Part 2
In Part 1 we looked at how to setup the Azure environment with a Cosmos DB and several Azure Functions, most of which, would be listening to the Cosmos DB change feed. In Part 2 we will take a deeper dive into each Azure Function and the nuances of working with the Cosmos DB change…
Adventures with Cosmos DB: Change Feed – Part 1
In a recent project I had dig deeper into how the Cosmos DB change feed worked, specifically in conjunction with the Azure Function Cosmos DB Trigger. I had some assumptions on how the Cosmos DB change feed worked, but needed to validate them. This will like be a series of articles. Before we go any…
Adventures with Azure: Call a Secure Azure Function from a Logic App
In a previous article I talked about how to Secure an Azure Function App with Azure Active Directory, now I would like to look at how to call a Secure Azure Function App from an Azure Logic App. Let’s first create a Logic App. In the Azure Portal, click Create Resource, type Logic App in…
Adventures with Azure Functions: Secure a Function App with Azure Active Directory
While authorization keys make it easy to work with Azure Functions, they are not recommend as the way to secure an Azure Function in production. There are three recommend ways to secure an Azure Function in production: Turn on App Service Authentication/Authorization Use Azure API Management (APIM) to authenticate requests. Deploy your function app to…
Create a Single Build/Release Pipeline for Multiple Branches
In this article we will look at how to create a single Azure DevOps Build Pipeline that triggers on multiple branches. I am using the repository at https://dev.azure.com/maruma/SampleApp as the working example. If you would like to follow along you will want to clone this repository into your own Azure DevOps subscription. This example depends…
Multiple Project Deployment with Azure DevOps
In this article I will demonstrate how to create multiple builds and releases for a single Visual Studio solution that contains multiple projects. I want to create a separate build and release pipeline for each project. The repository that I use for this article can be found at https://dev.azure.com/maruma/SampleApp , it is composed of a…
Supporting Parent/Child Documents in CosmosDB
In my efforts to break out of my relational database paradigm and into a NoSQL paradigm I have been working through some real world examples of database models that I have used in the past and trying different ways to convert them into a NoSQL database. This is an example of three four different ways…
Auth0 to Azure AD B2C Migration – Part 3
This is the last article of three part series that started with Auth0 to Azure AD B2C Migration – Part 1 and Auth0 to Azure AD B2C Migration Part 2. The repository for this article is located at https://github.com/mattruma/Auth0AzureADB2CMigrationDemo, where for the sake of this article, we will be working with the AzureADB2CWebApp project. Now…
Auth0 to Azure AD B2C Migration – Part 2
We have already looked at an ASP.NET Core 2.2 application that leveraged Auth0 for authentication, we will now direct our attention to developing a similar application that leverages Azure Active Directory B2C (Azure AD B2C) for authentication. First we will need to create our Azure AD B2C tenant in the Azure portal. Login to the…