Blog

Technical Articles

This section contains site articles covering .NET, desktop development, engineering practice, and general development topics.

First Visit

New User Starting Route

Random Exploration

Random Discovery

Random Discovery

Can the Winform interface also look good?

A few days ago, I introduced using Blazor Hybrid in Winform, and mentioned that with the Blazor UI, our Winform programs can be designed to look better. Next, I will illustrate with an example of drawing in Winform Blazor Hybrid, hoping it helps you.

Winform
Random Discovery

WPF Notable IsHitTestVisible

Setting this property to false looks unchanged, but in operation it completely ignores it, does not trigger events, and can directly click on things below it.

WPF
Dapper in .NET Core

Dapper in .NET Core

The detailed explanation of what Dapper is is omitted here; this article only provides a brief explanation of using Dapper in .NET Core. The code presented is mainly for examples, serving as an introduction. Developers can extend and adjust according to their own needs.

1/10/2022 白云任去留 Dapper
Blazor Series Ending!

Blazor Series Ending!

The Blazor series reprint has ended. In fact, the site owner finished reprinting on the 25th, synchronized it on the Dotnet9 website (https://dotnet9.com), and created an album "Learning Blazor Together Series", which everyone can browse at any time on the website.

12/30/2021 沙漠尽头的狼 Blazor
Is C# the Best Substitute for TypeScript?

Is C# the Best Substitute for TypeScript?

TypeScript is excellent. It perfectly combines strong typing and rapid development, making it very useful. In many cases, I default to this library. However, no language is perfect; in some situations, TypeScript is not the most suitable tool:

12/27/2021 CSDN .NET
I developed a tool to slim down .NET programs

I developed a tool to slim down .NET programs

I developed a tool to slim down .NET programs, which can delete referenced but unused assemblies. I used it to slim down a .NET Core program from `147 MB` to `59.5 MB`.

12/26/2021 杨中科 .NET
(29/30)Learn Blazor Together: Blazor Unit Testing

(29/30)Learn Blazor Together: Blazor Unit Testing

The most boring part of developing a system is probably fixing bugs, especially errors like trying to access a null object (`Object reference not set to an instance of an object.`), which is the most common problem most people encounter when they first step into programming. To break free from the tedious bug-fixing process, this article introduces `unit testing`.

12/25/2021 StrayaWorker Blazor
Supports .NET6! Framework for Batch Update, Delete, Insert Operations in EF Core: Zack.EFCore.Batch

Supports .NET6! Framework for Batch Update, Delete, Insert Operations in EF Core: Zack.EFCore.Batch

The framework `Zack.EFCore.Batch` for `batch` performing `update`, `delete`, and `insert` operations in `EF Core` has released a new version. The new version adds support for `.NET 6`, supports `ValueConverter` during batch data insertion, and completely solves the `"The count of columns should be even" exception that occurs when two column expressions are equivalent during data update`.

12/25/2021 杨中科 EF Core
(28/30) Learning Blazor Together: Policy-based Authorization

(28/30) Learning Blazor Together: Policy-based Authorization

It was mentioned earlier that `ASP.NET Core Identity` uses `Claim`-based authentication. In fact, `ASP.NET Core Identity` has different types of authorization methods, the simplest being `Login Authorization`, `Role Authorization`, and `Claim Authorization`. However, all of the above are implemented in one way: Policy-based Authorization.

12/25/2021 StrayaWorker Blazor