Category

All Categories

Focus on articles under the same technical theme for easier continuous reading by direction.

524 articles
5 Current page
.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 10:30 PM
(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 9:18 PM
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 6:02 AM
Markdown Rendering in Avalonia UI

Markdown Rendering in Avalonia UI

This article will detail how to use Markdown.AIRender for Markdown rendering in Avalonia UI, including installation, style referencing, example demonstrations, and various features (such as support for black/white themes, accent colors, etc.). It also delves into its ongoing internationalization features, aiming to help developers better integrate Markdown content into Avalonia applications, provide a better user experience, and enhance the application's global adaptation capabilities. Additionally, it compares related Markdown rendering libraries to provide users with a reference for choosing the right tool.

沙漠尽头的狼 1/17/2025 5:57 AM
.NET Programmer's Playground: LINQPad

.NET Programmer's Playground: LINQPad

LINQPad's package is very small, only about 20 MB, and starts up very quickly. To use it, just enter the C# statements you want to execute and press F5.

码农很忙 12/26/2024 9:42 PM
Avalonia Internationalization Using XML Files

Avalonia Internationalization Using XML Files

This article deeply explores the method and advantages of implementing internationalization in Avalonia using XML files. By comparing with Resx resource files, it provides developers with a basis for selection. XML-based internationalization is suitable for scenarios where users need to modify content, expect to leverage AI editing, and pursue clear language structure management. The article details the entire workflow from creating language files, strong-type generation, to specific usage and language management, and provides relevant resource links, such as XML language management packages, case demos, language management tools, Resx resource management extensions, etc., helping developers get started quickly and apply this internationalization solution in actual projects, enhancing the globalization adaptation capability and user experience of Avalonia applications.

沙漠尽头的狼 12/23/2024 12:34 PM
The Path to Avalonia Internationalization: Deep Application and Exploration of Resx Resource Files

The Path to Avalonia Internationalization: Deep Application and Exploration of Resx Resource Files

In the current wave of globalized software development, internationalization (i18n) and localization (L10n) of applications have become particularly important. Avalonia UI, as a powerful cross-platform UI framework, offers developers multiple ways to achieve internationalization. Among them, using traditional Resx resource files for internationalization not only aligns with the usage habits in WinForms, WPF, ASP.NET Core, and other development scenarios, but also, with the help of some practical tools and specific development processes, makes the implementation of internationalization efficient and structured.

沙漠尽头的狼 12/5/2024 9:34 PM
Dotnet9 Website Adds New AI Tool, Empowering Creation Like Never Before!

Dotnet9 Website Adds New AI Tool, Empowering Creation Like Never Before!

On the path of continuous exploration and innovation, [Dotnet9](https://dotnet9.com) has added a new AI tool on the website, specifically for generating URL aliases for article titles, while also unlocking the AI summary function for article content. At this moment, full of joy, I share this achievement with everyone!

沙漠尽头的狼 11/28/2024 7:41 AM
.NET 9 Officially Released

.NET 9 Officially Released

.NET 9 has been officially released! It is the most productive, modern, secure, intelligent, and highest-performing version of .NET to date.

.NET Team 11/13/2024 2:47 AM
Shock! Everyone in this group except me is a fraudster — The multi-million dollar scam behind "stock options"

Shock! Everyone in this group except me is a fraudster — The multi-million dollar scam behind "stock options"

On December 5, 2018, the Changfeng New Village Police Station of the Putuo Branch of the Shanghai Public Security Bureau received an off-site alarm call. The caller had spent a large sum of money to purchase "stock option" products from an asset management company located in the Changfeng area, and within just one week, his positions were inexplicably liquidated, leading him to suspect he had been scammed.

警民直通车上海 11/11/2024 7:12 AM