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

Hello .NET run file, goodbye csproj

This article introduces the new file-based program feature of the .NET CLI, which allows developers to run C# source files directly without creating a project file. This feature works by generating a virtual project file in memory and supports NuGet dependencies and project property settings, providing convenience for developing scripts and simple applications. The article also looks forward to the future development directions of this feature, including target path extension, unified command-line arguments, performance improvements, and support for more file-based program commands.

.NET
FluentValidation Validation Tutorial Based on .NET

FluentValidation Validation Tutorial Based on .NET

FluentValidation is a validation framework based on .NET development. It is open-source, free, and elegant, supporting chained operations, easy to understand, feature-complete, and can be deeply integrated with MVC5, WebApi2, and ASP.NET Core. The component provides over a dozen commonly used validators, good scalability, support for custom validators, and support for localization and multilingual.

1/19/2024 零度 .NET
Elegant! Another .NET Core Open Source Framework Project: Yi Framework

Elegant! Another .NET Core Open Source Framework Project: Yi Framework

A .NET 8 web open source framework starting from user experience, supporting ABP vNext native version, Furion version, frontend background integrated with RuoYi Vue 3.0, built-in RBAC permission management and modern community modules, ready to use out of the box.

1/13/2024 ccnetcore .NET
Code Workshop 'Article Title URL Alias Generator' Launched

Code Workshop 'Article Title URL Alias Generator' Launched

Code Workshop is a new open-source project by the webmaster that provides web online tools, cross-platform desktop and mobile applications. The webmaster is committed to bringing you a more efficient and convenient experience. Today, the webmaster is proud to launch the 'Article Title URL Alias Generator', helping you easily create URL aliases for article titles, improving SEO and user experience. Come to Code Workshop and explore more practical tools!

1/7/2024 沙漠尽头的狼 Blazor
In-depth Analysis of Serialization of Millions of C# Objects: How to Achieve the Perfect Balance Between Speed and Size in Network Transmission

In-depth Analysis of Serialization of Millions of C# Objects: How to Achieve the Perfect Balance Between Speed and Size in Network Transmission

In network communication, data serialization is the process of converting an object's state into a form that can be stored or transmitted, which is particularly critical for TCP network transmission. In projects, when dealing with the transmission of hundreds of thousands of data items, traditional JSON serialization, due to its redundant field names and string format, leads to large binary packet sizes and inefficient serialization and deserialization. To address these issues, we consider adopting more efficient serialization methods to reduce packet size and improve processing speed.

12/11/2023 沙漠尽头的狼 .NET
.NET Core 3.1 Upgrade to .NET 8

.NET Core 3.1 Upgrade to .NET 8

.NET Core 3.1 has been used for a long time. Actually, Microsoft stopped supporting it at the end of 2022. The subsequent LTS version .NET 6 will also end support in November 2024, so upgrading directly to .NET 8 is the best choice.

12/8/2023 不止dotNET .NET
.NET8 Officially Released, New Changes in C#12

.NET8 Officially Released, New Changes in C#12

Although .NET 8 brings many enhancements in areas such as artificial intelligence, cloud-native, performance, native AOT, etc., I am still most interested in the changes in the C# language and some framework-level aspects. Below I introduce the new features in C# 12 and the framework that I find most practical.

11/17/2023 不止dotNET .NET