1: Background1. Tell a storyLast month, a friend came to me and said that there was a memory leak in his program. I don't know how to further analyze it. The screenshot is as follows:My friend, this paragraph has been very concise and comprehensive. Let's talk to windbg.2: Windbg analysis1. What is the leakageAccording to my friend's descript ...
Posted by savetime on Wed, 01 Dec 2021 10:38:05 -0800
The content of this article comes from the open source e-book WoW C#, which I wrote. It is now being written. You can go to Wow CSharp / learning path summary. md at master · sogeisetsu / wow CSharp (GitHub. Com) To see the progress of writing. It is expected that the compilation will be completed by the end of 2021, and all proofreadin ...
Posted by microthick on Sun, 28 Nov 2021 22:05:30 -0800
There is a directory class in namespace System.IO, which provides a static method to get the current directory of the application. System. Io. Directory. Getcurrentdirectory() = > gets the current working directory of the application. In. net core, this method is the directory where the dotnet command is executed
class Progra ...
Posted by damianraine on Sat, 27 Nov 2021 11:16:27 -0800
I. Installation.Net Core
Refer to official documents: https://www.microsoft.com/net/core#linuxcentos
1. Add dotnet product Feed
Before installing.NET Core, you need to register for Microsoft Product Feed. This only needs to be done once. First, register the Microsoft signature key, then add the Microsoft product Feed
sudo rpm --import https ...
Posted by Rusnoff on Wed, 24 Nov 2021 09:20:14 -0800
Note: This article is part of the understanding ASP.NET Core series. Please check the top blog or Click here to view the full-text catalog
Error handling using middleware
Developer exception page
The developer exception page is used to display the details of unhandled request exceptions. When we create a project through the ASP.NET Core templa ...
Posted by baffled_in_UK on Mon, 22 Nov 2021 04:10:38 -0800
Delegate is a type of stored function reference, which is important in event and event processing
Generally speaking, a delegate is a type that can reference a method. When a delegate is created, a variable that references the method is created, and then the method can be called, that is, the delegate can call the method it refers to.
Use d ...
Posted by richardk1 on Fri, 19 Nov 2021 09:56:06 -0800
1, What is an object pool
Object pool is simply a software design idea that provides reusable ability for objects. We often say that it is not difficult to borrow and return, and the object pool ensures that objects can be reused through borrowing and returning, so as to save the performance overhead of frequent object creation. The most commo ...
Posted by ChaosDream on Thu, 18 Nov 2021 07:50:30 -0800
1, Construction project
In our daily projects, we usually have a multi-layer architecture. The domain layer (entity) is generally not placed together with the application layer (business: such as api and mvc). We only do this when doing exercises. Then I will directly share the most practical and layer according to the most basic project objec ...
Posted by ssj4gogita4 on Tue, 16 Nov 2021 06:39:30 -0800
The official version of vs2022 was launched yesterday. It is estimated that many people have downloaded and started to create. Net 6. In this section, I will briefly introduce some changes to. Net 6.
The most obvious changes brought by. Net6 this time are:
With top-level statements, we can't see Program.Main().
Implicit using in ...
Posted by Chrisinsd on Wed, 10 Nov 2021 17:37:47 -0800
I happened to see the domestic database - Dameng database. Suddenly became interested and made a fuss.
The following introduction is taken from Baidu Encyclopedia
Dameng database is a high-performance database product with completely independent intellectual property rights launched by Wuhan Huagong Dameng database Co., Ltd. ...
Posted by flamtech on Wed, 10 Nov 2021 08:02:07 -0800