Code and Coder: about .net core, C#, Delphi, Codetyphon, Freepascal, C++,Python, website technical records

Posted in tag [.net core]



DotNet Core middleware and filters for error logging

DotNet Core middleware and filters for error logging

Hot loading plugin with .AssemblyLoadContext of .NET Core 3.0

Hot loading plugin with .AssemblyLoadContext of .NET Core 3.0

using gRPC based on ASP.NET Core 3.0

using gRPC based on ASP.NET Core 3.0

Use Elastic APM to monitor your DotNET Core application

Use Elastic APM to monitor your DotNET Core application

DotNET Core skill-export Word by using NPOI

DotNET Core skill: export Word by using NPOI

200 lines code to complete Mini ASP.NET Core

The ASP.NET Core Mini framework with less than 200 lines of code. 

ASP.NET Core 3.0 gRPC bidirectional flow

gRPC supports bidirectional stream calls and supports real-time push messages. This is also a major feature of gRPC, and gRPC is also very powerful in controlling the bidirectional flow

How to improve the performance of .NET applications

Well-designed systems, in addition to the excellent design at the architectural level, the rest is mostly about how to design good code. .NET provides a lot of types, these types are very flexible and very easy to use, such as List, Dictionary, HashSet , StringBuilder, string, and more. In most cases, everyone is looking at the business and needs to go directly to it. It seems that there is no problem. From my practical experience, the situation is really rare. A friend asked me before, did I have encountered a memory leak, I said that the system I wrote did not, but I have encountered several times by colleagues.

DotNET Core 3.0source-understanding Configuration (1)

Microsoft has designed a new configuration system in .NET Core and implemented it in a very flexible and scalable way. From the source code point of view, its running mechanism is roughly, according to its Source, create a Builder instance, and will add a Provider to it, when we use the configuration information, we will get the corresponding Provider instance from the memory.

DotNET Core 3.0 source-understanding Host (1)

.NET Core 3.0, IHostBuilder