Tag

Avalonia UI

正在浏览与 Avalonia UI 相关的文章。

24 篇文章
2 当前页
NET 10 Preview 1 released

NET 10 Preview 1 released

Today. NET 10 Preview 1 was released. I downloaded it as soon as possible and upgraded the Avalonia UI project and blog site. The former's functional testing and AOT release were normal, the latter's debugging was normal, and Docker was not successful for the time being.

沙漠尽头的狼 2/25/2025 6:21 AM
Tips for. NET Project Automation: One-click update version and full analysis of release scripts

Tips for. NET Project Automation: One-click update version and full analysis of release scripts

The article details how to use PowerShell scripts and batch files to automatically update program versions and one-click publishing in the. NET Avalonia UI project. First, the article explains the settings and modifications of PowerShell execution policies to ensure that scripts can execute normally. Then, it introduces ways to add scripts to Visual Studio pre-generated events to automatically update version numbers, and how to use batch files to publish applications on multiple platforms. Finally, an example of a PowerShell script is provided that can automatically update the version information of the program based on the Git tag. These methods can improve the development efficiency of. NET projects and the convenience of the release process.

沙漠尽头的狼 2/21/2025 10:30 PM
Markdown rendering in Avalonia UI

Markdown rendering in Avalonia UI

This article will introduce in detail how to use Markdown. AIRRender for Markdown rendering in the Avalonia UI, including installation, style references, example display and various features (such as support for black and white themes, theme colors, etc.). At the same time, it discussed in depth its improving international functions, aiming to help developers better integrate Markdown content into Avalonia applications, provide a better user experience, and enhance the global adaptability of applications. In addition, it also compares relevant Markdown rendering libraries to provide reference for users to choose appropriate tools.

沙漠尽头的狼 1/17/2025 5:57 AM
Avalonia uses XML files to internationalize

Avalonia uses XML files to internationalize

This article explores in depth Avalonia's methods and advantages of using XML files to achieve internationalization. By comparing it with Resx resource files, developers are provided with a basis for choice. Internationalization of XML is suitable for scenarios where user-side modification needs, AI editing is expected, and clear language structure management is pursued. The article details the entire process from creating language files, strong typing generation to specific use and language management, and provides links to relevant resources, such as XML language management packs, case demos and language management tools, Resx resource management extensions, etc., which helps developers quickly get started and apply this internationalization solution in actual projects, improving the global adaptability and user experience of Avalonia applications.

沙漠尽头的狼 12/23/2024 12:34 PM
Avalonia's Road to Internationalization: In-depth Application and Exploration of Resx Resource Files

Avalonia's Road to Internationalization: In-depth Application and Exploration of Resx Resource Files

In today's global wave of software development, application internationalization (i18n) and localization (L10n) are particularly important. As a powerful cross-platform UI framework, Avalonia UI provides developers with multiple ways to achieve internationalization. Among them, the use of traditional Resx resource files for internationalization is not only compatible with the usage habits of the original Winform, WPF, ASP.NET Core and other development scenarios, but also uses some utilities and specific development processes to enable the realization of internationalization. Become efficient and organized.

沙漠尽头的狼 12/5/2024 9:34 PM
NET Cross-Platform Client Framework- Avalonia UI

NET Cross-Platform Client Framework- Avalonia UI

This is a cross-platform UI framework based on WPF XAML and supports multiple operating systems (Windows (. NET Core), Linux (GTK), MacOS, Android and iOS), Web (WebAssembly)

沙漠尽头的狼 10/24/2024 10:32 AM
Implementing event-driven communication using MediatR and MS.DI libraries in the Avalonia project

Implementing event-driven communication using MediatR and MS.DI libraries in the Avalonia project

AvaloniaUI is a powerful cross-platform. NET client development framework that allows developers to build applications for multiple platforms such as Windows, Linux, macOS, Android and iOS. When building complex applications, modularity and communication between components become particularly important. The Prism framework provides a modular development method and supports hot plugging of plug-ins, while MediatR is an event subscription publishing framework that implements the Mediator pattern, which is very suitable for communication between modules and between modules and main programs.

沙漠尽头的狼 3/2/2024 3:45 PM