. NET architecture tips - reflection, architect magic weapon III

Through two blog posts, we learned that reflection accesses objects and members in objects through non instantiation (new). Not only that, reflection can also break through the restriction of access modifiers and spy on all members (fields, attributes and methods) inside objects from the perspective of God, including private members, It provide ...

Added by rrn on Sat, 29 Jan 2022 07:30:20 +0200

Write it down once NET analysis of CPU explosion of an intelligent transportation background service

1: Background1. Tell a storyThe day before yesterday, a friend added wechat to ask for help. There was a problem of high CPU in his program. It was a red envelope at the beginning, which scared me! 🤣🤣🤣As it was a young year in the south, it was inconvenient for me to deal with it in my hometown, so I didn't help him deal with it at the firs ...

Added by CONFUSIONUK on Fri, 28 Jan 2022 12:38:52 +0200

asp.net core monitoring - introducing Prometheus

In the last blog post, it was said that Prometheus has four indicator types: Counter, Gauge, Histogram and Summary. We made a Counter Demo. Next, let's take a look at Histogram. 3. Histogram: histogram Histogram, the definition of Wikipedia: it is a graphical representation of data distribution and a two-dimensional statistical chart. Its two c ...

Added by LazyJones on Fri, 28 Jan 2022 08:23:31 +0200

Once and for all, solve it NET publishing ECS

Most domestic developers use computers in Beijing time. In fact, there is no inconvenience in the process of daily development; However, when Alibaba cloud and other cloud servers are encountered, the system uses UTC time by default. At this time, the problem of time zone and time is a big problem that can not be ignored. concept First of all, ...

Added by anand_ragav on Thu, 27 Jan 2022 22:07:37 +0200

. NET medium and large project development prerequisite (12) -- using MQ message queue

Related downloads: RabbitMQ message componentRabbitMQ message component   RabbitMQ has long been popular as a mainstream message queuing tool. Compared with other MQ tools, RabbitMQ supports more languages and more complete functions.   This article provides the simplest way to use RabbitMQ on the market. You can almost master the use of Rabbit ...

Added by Hieroglyphics on Wed, 26 Jan 2022 14:46:04 +0200

Finally, I understand how the scope of singleton, transient and scoped is implemented

1: Background 1. Tell a story A few days ago, a friend asked me to have time to analyze why classes injected into ServiceCollection in aspnetcore can be Singleton, Transient and Scoped. It's very interesting. Let's talk about this topic. Since ServiceCollection in core and the popular DDD mode, I believe many friends rarely see new in their pr ...

Added by spyrral on Tue, 25 Jan 2022 14:30:59 +0200

Comparison between Javascript and C# Linq iterators

outline In front-end and back-end code development, iterator pattern is widely used in the process of data traversal to simplify our traversal code. This paper mainly compares the iterators in JS and C # from two aspects of implementation and principle, so as to deepen our understanding of the programming mode of iterators. code implementatio ...

Added by anoopmail on Mon, 24 Jan 2022 20:44:59 +0200

The core concept of. Net Core -- dependency injection and Middleware

Understanding and application of dependency injection 1. Why use dependency injection (DI) What is dependency injection and why? In simple and popular terms, when a class needs the help of another class, it generates dependencies, so the required dependencies need to be injected to work together. There is a dependency inversion principle (DIP ...

Added by ari_aaron on Sun, 23 Jan 2022 15:32:15 +0200

. net uses the open source software Openoffice to realize the document (word ppt excel) to pdf service

preface I did a project a few years ago. There is a need to browse word, PDF, PPT and other documents online.   I think of it recently. I think it's a little interesting, so I'll record it. Current scheme: Because net, for example aspose.net , spire.doc for .net Wait, but these are all for a fee. Microsoft's Office also provides com compon ...

Added by wolf on Fri, 21 Jan 2022 22:13:17 +0200

. NET medium and large project development essential -- efficient paging

Related downloads: DeveloperSharp.dll component DeveloperSharp.dll component Efficient paging - sample code (dp8 paging. RAR)Efficient paging - sample code (dp8 paging. RAR)   Data paging is a necessary function of almost any application system. However, when the amount of data is large, the efficiency of paging operation will become very low. ...

Added by santhosh_89 on Fri, 21 Jan 2022 12:16:09 +0200