Home

Posts

Azure DevOps CICD Pipeline For Azure Functions

Azure DevOps CI/CD Pipeline For Azure Functions

In this post, I'll show you how to set up a CI/CD(continuous integration and continuous delivery/deployment) pipeline in Azure DevOps for Azure Functions running on Azure cloud...
Prevent Azure Functions Coldstarts

Warming Azure Functions To Prevent Cold Starts

In this post, I'll show you how to prevent your Azure Functions from going to sleep thus preventing a cold start and improving the response time of the first call. This can be especially important if you have multiple function...
C# Code Snippets C# Nuget Package Polly

C# Transient Fault Handling With Polly

In this post, we’ll look at Polly which is a .NET library used for resilience and transient-fault-handling. It provides you with already implemented software design patterns/mechanisms/concepts such as Retry, Circuit Breaker, Hedging, Timeout, Rate Limiter, Fallback, You can use this...
Getting Started With C# Azure Functions

Getting Started With C# Azure Functions

In this post, I'll show you how to get started with C# Azure Functions. To quote Microsoft: "Azure Functions is a serverless solution that allows you to write less code, maintain less infrastructure, and save on costs. Instead of worrying...
C# Code Snippets Basic Algorithms And Data Structures

C# Basic Algorithms And Data Structures

In this post, we'll look at some basic algorithms and data structures in C#...
ESP Web Server

ESP32 Web Server, Web Sockets And HTTP API Calls

In this post, I'll show you how to make API requests from the ESP32 or ESP8266, how to set up a web server on the ESP and use AJAX to send/receive data and how to establish a web socket connection...
C# Code Snippets Covariance And Contravariance

C# Covariance And Contravariance

In this code snippet, we’ll take a look at covariance and contravariance in C#.Covariance and contravariance enable implicit type conversion for arrays, delegates and generic interface type arguments...
C# Code Snippets Image Classification With ML.NET

C# Image Classification With ML.NET

In this code snippet, we’ll see how to do image classification in C# using the ML.NET machine learning framework. It provides a user friendly GUI for creating, training and deploying different kinds of machine learning models within Visual Studio. It...
C# Code Snippets GPU Acceleration For Your C# App With ILGPU

GPU Acceleration For Your C# App With ILGPU

In this code snippet, we’ll see how to use GPU acceleration in C# using the ILGPU library. ILGPU provides you with a fairly simple interface to run code on your GPU from C#. For more information, you can check out the...
C# Code Snippets COM Objects, Interop with PInvoke And Type Marshalling

C# COM Objects, Interop with PInvoke And Type Marshalling

In this code snippet, we will take a look at COM objects, interop using PInvoke and type marshalling in C#...