Category

Blazor

Blazor framework, component development, and project practice

65 articles
5 Current page
(20/30) Let's Learn Blazor Together: Logging

(20/30) Let's Learn Blazor Together: Logging

When developing a system, logging is very important. It hasn't been mentioned before; the author only recently thought of it, so let's implement it!

StrayaWorker 12/21/2021 11:36 PM
(16/30)Learning Blazor Together: Creating a Database

(16/30)Learning Blazor Together: Creating a Database

We now have basic logs, but every time we finish inputting and reload the page, the data is reset because these data only exist in the browser and are not actually stored in the database. To save them, we need to connect to the database.

StrayaWorker 12/18/2021 11:34 PM
(15/30)Learning Blazor Together: CSS Isolation

(15/30)Learning Blazor Together: CSS Isolation

Sometimes we want to apply individual styles to different components. But if we write all CSS classes in `wwwroot/css/site.css`, or modify styles for a specific element, it may cause a change to affect all components. This kind of global conflict must be avoided, but how should we do it?

StrayaWorker 12/18/2021 10:35 PM
(14/30)Learning Blazor Together: JavaScript Interop

(14/30)Learning Blazor Together: JavaScript Interop

Although Blazor does not require JavaScript, some existing JS libraries are still very convenient. We cannot discard them all just because we don't want to use JavaScript. Blazor provides methods to call JavaScript, a scenario called JavaScript interoperability (JavaScript interop for short). This article will implement a confirmation dialog for the Delete button, because deletion is an important function and users should not easily delete with just one click.

StrayaWorker 12/16/2021 9:02 PM
Blazor Open Source Component Library - Masa Blazor

Blazor Open Source Component Library - Masa Blazor

Blazor allows you to build interactive web UI using C# instead of JavaScript. Blazor apps are composed 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