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

WPF Prism framework Region became invalid?

The typical operation flow for client projects is: pop up login window => account verification success => close login window => pop up main window => work in main window.

WPF
Maui Blazor Camera Implementation

Maui Blazor Camera Implementation

Since the interface in Maui Blazor is rendered by WebView, it cannot access the Android camera directly because the native camera requires binding to UI components.

1/12/2023 dotnet-simple MAUI / Blazor
A Bug Encountered When Unzipping Zip Files in C# at the End of 2022

A Bug Encountered When Unzipping Zip Files in C# at the End of 2022

Recently, while troubleshooting an upload feature, the client uploaded a zip file. On the server side, the code using C# to unzip the file would decompress it and then verify whether it is an allowed file type. It also had to check for tampered file extensions, file headers, etc. But then, during the unzipping of the zip file, an unexpected problem occurred.

12/23/2022 江湖人士 .NET
Simple Creation of a Watchdog Program Using C#

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.

11/11/2022 傲慢与偏见 .NET