Tag

Blazor

正在浏览与 Blazor 相关的文章。

69 篇文章
5 当前页
(24/30) Everyone learn Blazor together: <AuthorizeRouteView>Use

(24/30) Everyone learn Blazor together: <AuthorizeRouteView>Use

The day before yesterday, I added verified and failed display content to 'Blog.razor'. However, if the system wants to present the same content that failed to verify, it would be a waste of time to write it in every Component. You can use 'App.razor' to help us do unified presentation.

StrayaWorker 12/23/2021 10:51 PM
(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