Tag

C#

正在浏览与 C# 相关的文章。

355 篇文章
31 当前页
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.

MASA Blazor 12/16/2021 12:57 PM
(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.

StrayaWorker 12/15/2021 10:53 PM
(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.

StrayaWorker 12/14/2021 10:18 PM
(7/30) Everyone learns Blazor together: Lifetime

(7/30) Everyone learns Blazor together: Lifetime

All services you create must be registered with Startup.cs (Blazor Server) or Program.cs (Blazor WebAssemlby), but you don't have to do some basic services yourself.

StrayaWorker 12/13/2021 9:38 PM
C#10 5 new features to know

C#10 5 new features to know

C#'s GitHub page has a long list of tantalizing ideas, some of which are still being discussed.

Matthew MacDonald 12/12/2021 10:01 AM