Blog

技术文章

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

First Visit

新用户起步路线

Unexpected Finds

随机发现

(14/30) Everyone learn Blazor together: JavaScript interop

(14/30) Everyone learn Blazor together: JavaScript interop

Although Blazor does not require JavaScript, some existing js libraries are still very convenient and cannot be abandoned just because you don't want to use JavaScript. Blazor provides a method to call JavaScript. This situation is called JavaScript interoperability(abbreviated as JavaScript interop). This article will implement the reminder window of the Delete button, because deletion is a very important function and cannot be easily deleted by users with a single press.

12/16/2021 StrayaWorker Blazor
Developed a fishing application with WinUI 3

Developed a fishing application with WinUI 3

Don't underestimate Yuyu. All genius ideas are not inspired by typing on the keyboard. When your work is blocked, the more you devote yourself to your work, the more you can't find a solution. At this time, you can move your eyes away from the screen. Maybe you can be playing with the little yellow duck while taking a bath, while staring out the window while in a daze, while sleeping. When you buckle your stomach, the inspiration to solve the problem suddenly fell into your mind.

12/16/2021 dino.c .NET
Blazor Open Source Component Library- Masa Blazor

Blazor Open Source Component Library- Masa Blazor

Blazor allows you to build interactive Web UIs using C#instead of JavaScript. Blazor applications consist of reusable Web UI components implemented using C#, HTML, and CSS. Both client and server code are written in c#, allowing you to share code and libraries.

12/16/2021 MASA Blazor Blazor
(11/30) Let's learn Blazor together: Arbitral attributes

(11/30) Let's learn Blazor together: Arbitral attributes

Currently, MyButton has 3 [Parameters]. If you add them, a new [Parameter] will have to be defined. In order to avoid constantly updating this Component, we use the '@attribute' provided by Blazor.

12/15/2021 StrayaWorker Blazor
(9/30) Everyone learns Blazor together: Parameters

(9/30) Everyone learns Blazor together: Parameters

If we want to add a button to clear the data of the form, the fastest way is to add a button with the name "reset". At this time, two buttons will be used, and we can use Blazor's core concept: component encapsulation.

12/14/2021 StrayaWorker Blazor