Blog

技术文章

这里收录站点的文章正文,覆盖 .NET、桌面开发、工程实践与通用开发话题。

First Visit

新用户起步路线

Unexpected Finds

随机发现

随机发现

2022 Final Edition WPF Project Actual Combat Collection Released

This video collection consists of 58 episodes, including the basic parts of WPF (layout, style, resources, animation, template, MVVM), the concept of Prism (Region, Navigation, DialogService, Module..), MaterialDesign integration, ASP.NET Core WebApi part (Entityframework, release deployment), client release, deployment and other complete development process.

courses
(29/30) Everyone learn Blazor together: Blazor unit testing

(29/30) Everyone learn Blazor together: Blazor unit testing

Probably the most boring process of developing a system is to solve bugs, especially the error of trying to value null objects (`Object reference not set to an instance of an object.`). This should be the most common problem that most people encounter when they first step into the programming field. In order to relieve themselves from the boring process of solving bugs, this article introduces 'unit testing'.

12/25/2021 StrayaWorker Blazor
Support. NET6! Zack.EFCore.Batch is a framework for batch updating, deleting, and inserting data in EF Core

Support. NET6! Zack.EFCore.Batch is a framework for batch updating, deleting, and inserting data in EF Core

A new version of the framework 'Zack.EFCore.Batch' that performs 'updates','deletes', and 'inserts' of data in 'EF Core' has been released. The new version adds support for '. NET 6' and supports 'ValueConverter' when data is inserted in batches, completely solving the 'The count of columns should be even exception that occurs when the expressions of two columns are equivalent' when updating data.

12/25/2021 杨中科 EF Core
(28/30) Everyone learns Blazor together: Policy-based authorization

(28/30) Everyone learns Blazor together: Policy-based authorization

It was mentioned before that 'ASP.NET Core Identity' uses 'Claim' based authentication. In fact,'ASP.NET Core Identity' has different types of authorization methods, the simplest are 'login authorization','role authorization', and 'Claim authorization', but all of the above are implemented in one way: 'Policy-based authorization'.

12/25/2021 StrayaWorker Blazor
C#script

C#script

In some cases, you need to dynamically execute C#code during program execution. For example, you need to save certain algorithms that change frequently in a configuration file, and read and perform operations from the configuration file during execution. At this point, you can use C#scripts to do this.

12/24/2021 寻找无名的特质 .NET
(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.

12/23/2021 StrayaWorker Blazor