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

(24/30) Let's Learn Blazor Together: Using <AuthorizeRouteView>

The day before yesterday, we added content in `Blog.razor` to display both authorized and unauthorized views. However, if the unauthorized content to be displayed is the same across the system, writing it in every component would be a waste of time. We can use `App.razor` to handle unified presentation.

Blazor
Random Discovery

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.

MAUI
Random Discovery

(9/30) Learning Blazor Together: Parameters

If we want to add a button to clear the `form` data, the fastest way is to add a `type=”reset”` button. At this point, we use two buttons, which can utilize the core concept of Blazor: component encapsulation.

Blazor
A Print Dialog Developed with WPF - PrintDialogX

A Print Dialog Developed with WPF - PrintDialogX

A custom PrintDialog for C# with real-time preview. You can select a printer and set copies, orientation, color, quality, scale, pages per sheet, duplex, paper size, paper type, paper source, etc. It is also elegant.

5/1/2022 沙漠尽头的狼 WPF