Album

Learn the Blazor series together

Blazor's series of learning articles from basics to practical combat

31 篇文章
2 当前页
(16/30) Everyone learn Blazor together: Building a database

(16/30) Everyone learn Blazor together: Building a database

We now have a basic log, but it will be reset every time we enter and reload the page data, because these data only exists in the browser and is not actually stored in the database. In order to save it, we need to connect to the database.

StrayaWorker 12/18/2021 11:34 PM
(15/30) Everyone learn Blazor together: CSS isolation

(15/30) Everyone learn Blazor together: CSS isolation

Sometimes I want to set individual styles for different Components, but if I write the classes in `wwwroot/css/site.css`, or change the style for a certain element, changing one may affect all Components. This global conflict must be avoided, but what should I do?

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

StrayaWorker 12/16/2021 9:02 PM