Coroutine Library in C#: Principles and Implementation

Coroutine Library in C#: Principles and Implementation

Hello everyone! Today I want to share a particularly interesting topic – the implementation of coroutines in C#. As a developer who often deals with asynchronous programming, I understand the importance of coroutines in enhancing program performance and simplifying code structure. Let’s explore how to implement a simple yet powerful coroutine library in C#! What … Read more

Creating a Wake-On-LAN Device with .Net nanoFramework

Creating a Wake-On-LAN Device with .Net nanoFramework

This article will introduce how to create a wake-on-LAN device using ESP32 hardware and implement the WOL (Wake-on-LAN) function through .Net nanoFramework, sending WOL packets to wake up remote computers. 1. Background In previous articles, we introduced how to use libraries related to .Net nanoFramework to achieve various functions, such as reading sensor data, controlling … Read more

Controlling a Small Fan Module with .NET and Raspberry Pi

Controlling a Small Fan Module with .NET and Raspberry Pi

(Give DotNet a star to enhance your .Net skills) Source: Dongxia Dugu cnblogs.com/tcjiaan/p/14547950.html Introduction A small fan is essentially a motor with blades attached to its shaft. There are two-blade and three-blade designs. We played with these as kids; solar-powered hats had small fans, and when riding bikes to school, they would spin in sunlight. … Read more

C# 24 Point Game Solution Algorithm

C# 24 Point Game Solution Algorithm

↓Recommended Follow↓ Introduction I often play the 24-point game with my son. Sometimes it’s quite challenging, and after a while, we can’t solve it, so we just give up, treating it as unsolvable. With my mathematical ability, generally speaking, if we can’t solve it, it’s likely unsolvable. However, when encountering particularly tricky ones, it’s possible … Read more

Running Blazor HyBrid on Orange Pi (Ubuntu Arm)

Running Blazor HyBrid on Orange Pi (Ubuntu Arm)

Running Blazor HyBrid on Orange Pi (Ubuntu Arm) Prepare an Orange Pi! The current tutorial uses the Orange Pi 5 4G development board. Prepare the .NET environment Install .NET Core dependencies sudo apt install -y libunwind8 libunwind8-dev gettext libicu-dev liblttng-ust-dev libcurl4 libcurl4-openssl-dev libssl-dev uuid-dev unzip libgdiplus libc6-dev libkrb5-3 Download the .NET 7 SDK wget https://download.visualstudio.microsoft.com/download/pr/142603ad-0df5-4aef-bdc2-87b6140c90ed/2cce467e6c954d01024942b8370aaf70/dotnet-sdk-7.0.302-linux-arm64.tar.gz … Read more

Open Source and Free Industrial IoT Gateway Based on .NET

Open Source and Free Industrial IoT Gateway Based on .NET

Introduction A cross-platform IoT gateway based on .NET 6. Easily connect to any of your devices and systems (such as PLCs, barcode scanners, CNCs, databases, serial devices, upper computers, OPC Servers, OPC UA Servers, Mqtt Servers, etc.) through visual configuration, enabling bidirectional data communication with Thingsboard, IoTSharp, or your own IoT platform (MES, SCADA). Provides … Read more

Gesture Recognition Modules for Raspberry Pi with .NET

Gesture Recognition Modules for Raspberry Pi with .NET

↓Recommended Follow ↓ Introduction If you ask how useful gesture recognition really is, it’s hard to say; it’s neither too big nor too small. In daily life, we see it being used in various small devices like lamps and kitchen switches. From a practical standpoint, having gesture-controlled switches in the kitchen is quite nice; sometimes … Read more