Blog

技术文章

这里收录站点的文章正文,覆盖 .NET、桌面开发、工程实践与通用开发话题。

First Visit

新用户起步路线

Unexpected Finds

随机发现

随机发现

Essence: Summary of C#syntax characteristics

C#10 has been released together with. NET 6 and VS2022. This article follows the release order of. NET and sorts out some interesting syntax features in C#based on Microsoft's official documents.

.NET
Maui Blazor uses a camera

Maui Blazor uses a camera

Since the interface in Maui Blazor is rendered by WebView, it cannot be obtained when using the Android camera again, because the native camera needs to be bound with interface components.

1/12/2023 dotnet-simple MAUI / Blazor
A Bug encountered when C#decompressing zip files at the end of 2022

A Bug encountered when C#decompressing zip files at the end of 2022

Recently, when checking an upload function, the client uploads a zip file. After going to the server, I use the C#code to decompress the zip file to decompress the uploaded file and verify whether it is a file type that is allowed to upload. I also need to verify that the file suffix is changed indiscriminately. I have to go through everything on the header of the file. As a result, there is a monster when decompressing the zip file.

12/23/2022 江湖人士 .NET
Simply create a watchdog program using C#

Simply create a watchdog program using C#

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

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