Tag

.NET

正在浏览与 .NET 相关的文章。

430 篇文章
35 当前页
WPF uses ttf icon fonts

WPF uses ttf icon fonts

Package vector graphics into fonts and use them in the same way as we use fonts. You can freely set the size and color of the icon. Compared with traditional pictures, the advantages are still obvious:

丑萌气质狗 12/20/2021 12:21 AM
(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