Published in Geek Culture·Oct 16, 2021Frameworks for .NET developers for the 2021 fall season.TLDR; In this overview article I will make an introduction to modern stuff like DAPR, TYE, Nomad, Consul, KEDA, .NET 6, Azure Container Apps. I find them exciting and worthy of your learning time this fall. …C Sharp Programming6 min read
Published in Microsoft Azure·Mar 25, 2021How to do health checks for Azure functions and Web Apps.With Azure Monitor and IaaS via C#. — There were two reasons to write this article, the first one is that basic health checks usually not added in the early stages of projects and not deployed with infrastructure. The second one is the awesome Microsoft Extensions.Diagnostics.HealthChecks is not supported by Azure Functions for a good reason, but there…Azure Monitor7 min read
Published in Microsoft Azure·Oct 30, 2020Lifting your serverless app with RabbitMQ , Kubernetes and Azure Functions. Part 2.Deploying RabbitMQ to Kubernetes, configuring KEDA and switching functions triggers to the new queue. — So here is part two, the first article is here, and the GitHub repo is here. Why is RabbitMQ and not Kafka? Because the latter is a distributed streaming platform, while the former is a message broker and more comfortable to start without extra effort. TL;DR; In this article…Kubernetes7 min read
Published in Microsoft Azure·Sep 14, 2020Member-onlyLifting your serverless app to on-premises with KEDA and K8s. Part 1.Or how-to move Azure Functions to your client data center. — Why? A few years ago the main scenario was to lift application to the cloud, nowadays things changed ))). Last spring, I was asked to move an existing serverless application built around Azure Functions to on-premises for compliance purposes. Here is the link to the follow-up article.Azure Functions6 min read
Published in Microsoft Azure·Apr 15, 2020Member-onlySecuring Azure Functions with API Management and IdentityServer4.A step-by-step guide. — Integration of a serverless API with an existing infrastructure and an identity provider is a cost-effective step towards migrating to Azure Functions while keeping old services up and running. At least in my experience :). So this is the sequel to my previous article about IdentityServer4 and Azure Functions HTTP…Api Management6 min read
Published in ITNEXT·Mar 25, 2020How to restore a failed Azure Service Fabric cluster.After the expiration of cluster certificates. — Things happen, especially with certificate expiration dates :). It recently happened with me and I got the task to restore the failed cluster. This article is dedicated to the recovery of the Windows-based Azure Service Fabric(ASF) cluster with stateless workloads. The fastest possible way of recovery is to create a…Azure Service Fabric6 min read
Published in ITNEXT·Feb 26, 2020How to avoid a billing shock with Azure Serverless solutions.And deploy alerts via Azure CLI. — My issues with billing started some time ago and they are connected with the Azure CSP subscription type(you don't have access to Cost Management there). While I can do cost estimation of my deployed infrastructure it's relatively hard to monitor it for spikes and automate this process. So I decided…Azure4 min read
Published in Microsoft Azure·Dec 12, 2019Getting started with Azure SQL Serverless.The usage guide with cases, code, and video. — I was intrigued by features of Azure SQL Serverless in preview, and general availability on November 4th doesn’t disappoint me either. So I decided to share my experience with this article, demo GitHub repository, and video. These materials are part of the #AzureAdventCalendar community event. TL;DR; I will share my…Cloud Computing5 min read
Published in ITNEXT·Oct 23, 2019Member-onlyHow to secure Azure Functions API with IdentityServer4.With custom handler and without Azure API Management. — Azure Functions have a rich functionality in terms of security and authentication, but options for custom auth are limited. And you have to create your own JWT token handler to work with an Identity Server 4 based provider. …Security5 min read
Published in ITNEXT·Oct 15, 2019Member-onlyHandling “Failure at scale” in Azure Functions triggered by IoT Hub.Or how to tackle exceptions and re-run failed messages. — One of the Serverless solution benefits is a “performance at scale.” As a result, you can get “Failure at scale” if something goes wrong. Thus it’s crucial to introduce error handling for your Azure Functions project early. TL; DR; I will explain how to handle exceptions and errors in Azure…Azure5 min read