Blog

Technical Articles

This section contains site articles covering .NET, desktop development, engineering practice, and general development topics.

First Visit

New User Starting Route

Random Exploration

Random Discovery

Random Discovery

Simple Creation of a Watchdog Program Using C#

In some special projects, the software may be unattended. If the program crashes for no reason or the process is killed, it is very necessary to develop a watchdog program.

.NET
Random Discovery

Data Display Can Also Be Done Like This in Winform

In the process of developing Winform, data display functionality is often required. Previously, the gridcontrol control was commonly used. Today, through an example, I would like to introduce how to use the table component from Ant Design Blazor for data display in a Winform Blazor Hybrid application.

Winform
.NET 10 Preview 1 Released

.NET 10 Preview 1 Released

Today .NET 10 Preview 1 was released. I downloaded it immediately, upgraded the Avalonia UI project and blog website. The former passed functional testing and AOT publishing successfully, the latter debugging went fine, but Docker has not been successful yet.

2/25/2025 沙漠尽头的狼 Sharing / .NET
.NET Project Automation Secrets: Full Guide to One-Click Version Update and Publish Scripts

.NET Project Automation Secrets: Full Guide to One-Click Version Update and Publish Scripts

This article details how to use PowerShell scripts and batch files to automate version updates and one-click publishing in .NET Avalonia UI projects. First, it explains the setup and modification of PowerShell execution policies to ensure scripts can run properly. Then, it introduces methods for adding scripts in Visual Studio pre-build events to automatically update version numbers, as well as using batch files to publish applications on multiple platforms. Finally, a PowerShell script example is provided that can automatically update program version information based on Git tags. These methods can improve the development efficiency and convenience of the publish process for .NET projects.

2/21/2025 沙漠尽头的狼 Avalonia UI
(1)From Nurse to C# Developer -- Can a Nurse Successfully Switch to Learning .NET Development?

(1)From Nurse to C# Developer -- Can a Nurse Successfully Switch to Learning .NET Development?

The article tells the story of a nurse who resigned due to work pressure and family responsibilities. After facing difficulties in job hunting, she decided to learn programming, especially the C# language. She describes in detail what she learned on the first day, including .NET, .NET Framework, C# language concepts, types of C# development software, different UI frameworks, interaction modes, and the use of Visual Studio. She expresses her confidence and determination to learn programming and hopes to receive guidance and help from more people.

2/21/2025 勇敢的天使 Sharing
Implementing Internationalization in WPF Using Custom XML Files

Implementing Internationalization in WPF Using Custom XML Files

This article details the method of implementing internationalization in WPF applications using custom XML files, including installing the necessary NuGet packages, dynamically retrieving the language list, dynamically switching languages, using translated strings in code and XAML interfaces, and provides a source code link to help developers easily achieve internationalization in WPF applications.

1/26/2025 沙漠尽头的狼 WPF