Home

Posts

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…
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…
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…
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#…
wled web ui

Controlling WS2812B LEDs With An ESP8266 and WLED

In this post, I will show you how to control WS2812B, WS2811 or SK6812 individually addressable LEDs with an ESP2866 or ESP32 by using WLED. With the WLED firmware, the…
blazor logo

Blazor IdentityServer Error: “There was an error trying to log you in” Solution

I ran into this issue recently, so I thought I’d share the solution in case it helps someone else.I was contacted by a user saying they can’t log in and…
C# Code Snippets Func Action Lambda

C# Lambda Expressions

In this code snippet, we will take a look at lambda expressions, Func and Action in C#.Func is simply a more compact way of defining a delegate/function pointer while Action…
C# Code Snippets Unsfe code Pointers Stackalloc and Spans

C# Unsafe code, Pointers, Stackalloc and Spans

In this code snippet, we will take a look at unsafe code, pointers, stack allocation and spans in C#. C# has managed memory unlike for example C/C++. This means that…

Advertisment ad adsense adlogger