Adventures with Azure: Sample CRUD .NET Core API and Azure Functions

I created a sample CRUD demonstrating API functionality using a .NET Core Web API and Azure Functions. Each project contains RESTful API endpoints for adding, updating, fetching and deleting a record from a database. There are currently two flavors: Cosmos DB 3.0 SDK at https://github.com/mattruma/Heroes Entity Framework Core at https://github.com/mattruma/Heroes/tree/EntityFrameworkCore In the future, I will…

Adventures with Azure Functions: Dependency Injection

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…

Secure an Azure 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…

Local Development with Azure Functions and Event Grid

For the past couple of days I have been working with Azure Functions and Event Grid.  The challenge I encountered was getting it so I could run and debug my Azure Functions locally, specifically the Even Grid Azure Function. Finally figured it out! For my example I am using two Azure Functions, the first is…