A Cross-Platform Industrial IoT Gateway Based on .NET, Easily Connects to Various Devices and Systems Through Visual Configuration!

A Cross-Platform Industrial IoT Gateway Based on .NET, Easily Connects to Various Devices and Systems Through Visual Configuration!

We are committed to exploring, sharing, and recommending the latest practical technology stacks, open-source projects, frameworks, and tools. Fresh open-source news awaits your discovery every day! Project Introduction IoTGateway is a powerful, cross-platform industrial IoT gateway based on .NET 8, open-source and free (MIT License). It can easily connect to various devices and systems (such … Read more

DotTrace Series: 1. Understanding the Four Classic Types of Diagnostics (Part 1)

DotTrace Series: 1. Understanding the Four Classic Types of Diagnostics (Part 1)

1. Background 1. Storytelling Among all JetBrains products related to .NET, I believe <span>DotTrace</span> is the one worth deep study and research. I think its advantages are as follows: Cross-platform diagnostics (Windows, Linux, MacOS) Compatible with nettrace produced by dotnet-trace. Excellent visualization interface, especially the timeline. Supports self-hosting and local code diagnostics. This is an … Read more

A Cross-Platform Industrial IoT Gateway Based on .NET, Easily Connects to Various Devices and Systems Through Visual Configuration!

A Cross-Platform Industrial IoT Gateway Based on .NET, Easily Connects to Various Devices and Systems Through Visual Configuration!

We are committed to exploring, sharing, and recommending the latest practical technology stacks, open-source projects, frameworks, and tools. Fresh open-source news awaits your discovery every day! Project Introduction IoTGateway is a powerful, cross-platform industrial IoT gateway based on .NET 8, open-source and free (MIT License). It can easily connect to various devices and systems (such … Read more

C#.NET HttpClient Usage Tutorial

C#.NET HttpClient Usage Tutorial

Introduction <span><span>HttpClient</span></span> is a modern <span><span>API</span></span> in <span><span>.NET</span></span> used for sending <span><span>HTTP</span></span> requests and receiving <span><span>HTTP</span></span> responses, replacing the outdated <span><span>WebClient</span></span> and <span><span>HttpWebRequest</span></span> classes. <span><span>HttpClient</span></span> is provided in <span><span>.NET Framework 4.5</span></span> + and <span><span>.NET Core/.NET 5+</span></span>, based on a message handling pipeline (<span><span>message handler pipeline</span></span>), and is a modern <span><span>HTTP</span></span> client library. Compared to earlier … Read more

Discussing the Linux Signal Mechanism in .NET Dumps

Discussing the Linux Signal Mechanism in .NET Dumps

1. Background 1. Storytelling When a <span>.NET application</span> crashes on Linux, we can configure some references to obtain the corresponding core file. After obtaining the core file, we can open it with windbg, and often see a message like this: <span>Signal SIGABRT code SI_USER (Sent by kill, sigsend, raise)</span>, as shown below: (1.1d): Signal SIGABRT … Read more

Linux Series: How to Use Heaptrack to Trace .NET Program Unmanaged Memory Leaks

Linux Series: How to Use Heaptrack to Trace .NET Program Unmanaged Memory Leaks

1. Background 1. Storytelling Previously, I shared an article about <span>unmanaged memory leaks caused by C# calling C code</span>. This was a deliberately induced positive leak. In this article, we will explore the root cause of the leak from a reverse perspective. This issue is relatively easy to handle on Windows, as many people know … Read more

pythonnet vs csnake: Bridging the Gap Between Python and .NET

pythonnet vs csnake: Bridging the Gap Between Python and .NET

❝ “You are Python, I am .NET; we can come together thanks to these two matchmakers!” Hello, dear readers in the AI technology circle! Today, we are going to discuss something hardcore yet essential—how to enable seamless coexistence between Python and .NET, the development languages from the Eastern and Western hemispheres. Pythonnet and csnake are … Read more

Original Vulnerability | .NET Deserialization Vulnerabilities in Industrial Control Systems

Original Vulnerability | .NET Deserialization Vulnerabilities in Industrial Control Systems

OriginalVulnerability 1. Coding Standards and Software Vulnerabilities Software vulnerabilities are often closely related to the lack of coding standards. If input validation, dependency management, and security design principles are ignored during development, even if the functionality is normal, security risks may be hidden. Taking the Java deserialization vulnerability as an example, the essence is that … Read more

Resolving Timeout and Disconnection Issues When Calling Third-Party HTTP APIs in .NET

Resolving Timeout and Disconnection Issues When Calling Third-Party HTTP APIs in .NET

In .NET development, calling third-party HTTP APIs is a common task. However, in practical applications, we often encounter issues such as request timeouts or connection disconnections. These problems can arise from various reasons, such as network latency, slow server responses, or unreasonable client timeout settings. This article will delve into the causes of these issues … Read more

How to Write Your Own .NET IoT Device Driver from Scratch

How to Write Your Own .NET IoT Device Driver from Scratch

This article will detail how to write a .NET IoT device driver from scratch using the NV3030B LCD device driver as an example. We will use the Raspberry Pi as the hardware platform and refer to the official .NET IoT Ili934x TFT LCD driver library. 1. Background In the previous article “Getting Started with .NET … Read more