C# Multi-threaded download file example

C# Multi-threaded download file example

C# Multi-threaded download file example, File download is a common requirement in software development. This article starts from the simplest download method step by step, tells the common problems in the file download process, and gives solutions.

How to use PGO to improve the performance of .NET programs

How to use PGO to improve the performance of .NET programs

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.

How ASP.NET Core reads Request.Body

How ASP.NET Core reads Request.Body

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.

2021 C# Exception Handling Best Practices

C# Exception Handling Best Practices

C# Exception Handling Best Practices, Regarding the basic grammar and function of exceptions, I won’t repeat them here. Let me record some thoughts about Exceptions in the project.

2021 Best JavaScript asynchronous programming guide

JavaScript asynchronous programming

Best JavaScript asynchronous programming guide, js is single-threaded, and the execution stack and rendering thread of js in the browser block each other. The biggest advantage of single-threaded mode is that it is safer and simpler.

Run async tasks application starts in ASP.NET Core

Run async tasks application starts in ASP.NET Core

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

How to run async tasks in ASP.NET Core?

How to run async tasks in ASP.NET Core?

How to run async tasks in ASP.NET Core? How to run asynchronous tasks when the application starts in ASP.NET Core? Sometimes, you need to perform a one-time initialization logic before the application can start normally.

How to use ArrayPool and MemoryPool in C#

How to choose WebClient HttpClient HttpWebRequest in .NET

How to use ArrayPool and MemoryPool in C#? The reusability of resources is a very important means to improve application performance. For example, the ArrayPool and MemoryPool to be shared in this article can effectively reduce memory usage and pressure on GC, thereby improving application performance.

How to making wonderful CSS text animation

How to making wonderful CSS text animation

How to making wonderful CSS text animation? There are two articles about fonts before, about how to define fonts: The font you should know font-family Explore the mystery of web font font-family Making wonderful CSS text animation This article will be similar to this article- CSS Fantastic Border Animation . It will talk about some text effects and use different attribute … Read more