Essence: Summary of C#syntax characteristics
C#10 has been released together with. NET 6 and VS2022. This article follows the release order of. NET and sorts out some interesting syntax features in C#based on Microsoft's official documents.
C#10 has been released together with. NET 6 and VS2022. This article follows the release order of. NET and sorts out some interesting syntax features in C#based on Microsoft's official documents.
As mentioned earlier,`ASP.NET Core Identity` is a verification based on `Claim`, and `Role` is a `Claim` of type `Role`
NET Core has the function of "clipping unused code", but since it is implemented using static analysis, its clipping effect is not optimal.
Here is a summary of some notes I stepped on when developing MAUI applications.
Here is a summary of some notes I stepped on when developing MAUI applications.
A WPF WrapPanel that can fill blank areas on any line with any control
A major feature of WPF is the animation system. Using animation can achieve many effects that are difficult to achieve in WinForm.
Since the interface in Maui Blazor is rendered by WebView, it cannot be obtained when using the Android camera again, because the native camera needs to be bound with interface components.
For a long time, we have used WebApi + JSON for front-end interactions, and the same is true for calls between back-end services.
In MAUI Blazor, external files cannot be directly read and displayed, but you can display them through base64. However, base64 is too long, which may affect the interface jam...
Recently, when checking an upload function, the client uploads a zip file. After going to the server, I use the C#code to decompress the zip file to decompress the uploaded file and verify whether it is a file type that is allowed to upload. I also need to verify that the file suffix is changed indiscriminately. I have to go through everything on the header of the file. As a result, there is a monster when decompressing the zip file.
For many developers, this may mean moving to C#, Go, Java, Ruby, Rust, and Swift.
In some special projects, the software may be unattended. If the program hangs for some reason or the process is killed, it is very necessary to develop a watchdog program at this time