Tag: Azure Functions

Migrating Azure Functions from JSDoc JavaScript to TypeScript
Migrating Azure Functions from JSDoc JavaScript to TypeScript
Blog Posts

I wrote previously about how to implement a dynamic redirect mechanism for Azure Static Web Apps using Azure Functions. I implemented this using JSDoc JavaScript. I’ve since migrated this to TypeScript and I thought it would be interesting to share the process. Why migrate from JSDoc JavaScript to TypeScript?​ As regular readers will know, I’m both… READ MORE

Introduction to Azure ARM Template
Introduction to Azure ARM Template
Blog Posts

ARM  stands for Azure Resource Manager. We use ARM templates to deploy resources to Azure. We can automate deployments and use the infrastructure as code. In code, we define the infrastructure that needs to be deployed. The infrastructure code becomes part of our project. Like the application code, we store the infrastructure code in a repository… READ MORE

Azure Functions Isolated Worker - Sending multiple messages
Azure Functions Isolated Worker – Sending multiple messages
Blog Posts

The new Azure Functions SDK for Isolated Worker (process) has been introduced around .NET 5. While it’s still in flux despite being GA-ed, it’s gaining more and more popularity. And yet, there are still some sharp edges you should be careful with and validate that everything you’re using with the older SDK, In-Process, is offered… READ MORE

C# Azure Functions to access CosmosDB
C# Azure Functions to access CosmosDB
Blog Posts

Interacting with CosmosDB from a serverless application can be achieved with very few lines of code using C#. Pre-requisites: A CosmosDB resource An Azure Functions resource An input binding (the CosmosDB resource) is required for read operations, while an output binding (the CosmosDB resource) is needed for the write operations. For each operation, I share the specific function.json required. Considerations: In each code there is a model (class) of… READ MORE

Release Notes with Azure Functions and Azure DevOps
Release Notes with Azure Functions and Azure DevOps
Blog Posts

Introduction It does not matter what kind of project you run, there is always nice to have release notes. Collection of implemented user stories, features, and solved bugs. Of course, after each release, we can write these release notes manually but there is a better way to automate this process. In one of the projects… READ MORE

Azure Functions Vanishing into Thin Air
Azure Functions Vanishing into Thin Air
Blog Posts

When you create Azure functions you can create functions in two different ways. You can edit the functions in Azure or you can create the functions in Visual Studio and deploy them to Azure. In this post I’m looking at both options and will described the situation I found myself in a while back when functions vanished into thin… READ MORE

Beginning Azure Functions: Building Scalable and Serverless Apps
Beginning Azure Functions: Building Scalable and Serverless Apps
Ebooks

Create highly scalable apps and monitor Azure functions in production using Azure Functions 2.0. This book takes you through durable functions for statefulness and covers not only the basics, but also how to create bindings in durable functions. It is a deep dive into the Azure Functions serverless API and will guide you through the… READ MORE