What is the simplest C# code to copy directory? In the last post, I mentioned writing an automated tool software in today’s work. One of the functions is to copy directories. At the beginning, I used recursive code to copy directories and found that its work efficiency is very low. So it took some time to find the simplest and most efficient code.
How to use PGO to improve the performance of .NET programs, .NET 6 began to introduce PGO initially. PGO is Profile Guided Optimization, which guides JIT how to optimize code by collecting runtime information. Compared with the previous without PGO, it can do more optimizations that were difficult to complete before.
If you are a C# developer and apply asp.net core to your project, do you know how ASP.NET Core reads Request.Body? When we use ASP.NET Core to develop projects, we will definitely involve the scene of reading Request.Body, because most POST requests store data in the Http Body. The main thing I use in my daily development is ASP.NET Core, so I often encounter this kind of scene. This post is to share the reading problem of Request.Body.
How to run async tasks application starts in ASP.NET Core? This article is a short follow-up to two of my previous articles about running asynchronous tasks in ASP.NET Core. In this article, I will provide some feedback on the example I used to demonstrate the problem and the approach I took. Previous posts can be … Read more