Learn JAVA reflection learning together (super detailed)

1 what is reflection? Reflection is one of the features of Java programming language. It allows running Java programs to check themselves, or "self-examination", also known as "introspection". Reflection is so powerful that it can even directly manipulate the private properties of the program. We all learned a concept earl ...

Posted by ghjr on Wed, 29 Dec 2021 17:03:40 +0100

elementary analysis. Configuration in netcore

Whatever it is Still. Www. 18fu netcore project, we all have to read the configuration file in net, the configuration is usually stored on the web Config, but in The new project in netcore can't see the web at all Config instead of appsetting json. Create a new webapi project. You can see an IConfiguration in startup. Instantiate it with the c ...

Posted by meomike2000 on Sun, 26 Dec 2021 02:15:21 +0100

Application and practice of software engineering in Shandong University -- ECommerceCrawlers code analysis

2021SC@SDUSC catalogue 1, Abstract 2, get_parks_companies_threads.py code analysis 1. Part 1 2. Part 2 3. Part 3 4. Part 4 3, Summary 1, Abstract This blog is the third and last blog of the third project "QiChaCha", In this chapter, I will analyze the code of the rest of the project (since the main contents of the remainin ...

Posted by estero2002 on Mon, 20 Dec 2021 21:51:38 +0100

Have you considered performance in interface oriented programming?

Most of us will follow interface programming in normal development, which can facilitate the implementation of dependency injection, polymorphism and other small skills, but this is at the expense of performance in exchange for code flexibility. Everything has Yin and Yang. It depends on your application scenario. 1: Background 1. Reason Du ...

Posted by m00p4h on Fri, 17 Dec 2021 16:14:53 +0100

Source Generator unit test

Hello, I'm Li Weihan, a laboratory researcher in this issue. Today, I'll show you how to do unit testing based on Source Generator. Next, let's go to the lab and find out! Source Generator unit testIntroThe Source Generator is NET 5.0, a mechanism for dynamically generating code during compilation, which can be referred to for introduction C # ...

Posted by headrush on Wed, 15 Dec 2021 11:03:29 +0100

. net core advanced 1

Thread/ThreadPool/Task/TaskFactory 1. Difference between process and thread A process is a program being executed, and each task executed in the process is a thread; Thread belongs to process; Threads cannot be separated from delegates; Netframework version 1.0: Thread is a C# language encapsulation class for operating computer threads; Thr ...

Posted by Bea on Thu, 09 Dec 2021 18:33:27 +0100

Use of Quartz in. NET

1, Background For example, you need to update or synchronize a data in the database in a certain month of a certain year, or execute part of the code to call the interface at regular intervals, but you don't want to execute it manually For this kind of business, you can use "timed call task". There are many timed scheduling task fra ...

Posted by QWERTYtech on Wed, 08 Dec 2021 03:19:47 +0100

Canary release of front-end and back-end applications based on Kubernetes

Canary release of front-end and back-end applications based on Kubernetes The company's R & D management platform implements Devops of Gitlab+Kubernetes. In the ToB and ToC scenarios, due to the large number of users and more or less differences between the pre release environment and the production environment, there are still many uncerta ...

Posted by Nomaad on Tue, 07 Dec 2021 22:04:13 +0100

. Net Core integrated JWT authorization verification from page to API

. Net Core integrated JWT authorization verification from page to API 1. What is JWT JSON Web Token (JWT) is the most popular cross domain authentication solution. JWT's official website address: https://jwt.io/ Generally speaking, JWT defines a compact and self-contained way to safely transmit information between parties as JSON objects. It ...

Posted by quikone on Mon, 06 Dec 2021 22:31:59 +0100

Understanding ASP.NET Core - Filters

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 Filter overview If you came all the way from ASP.NET, you must be no stranger to Filter. Of course, the ASP.NET Core still inherits the Filter mechanism. The filter runs in the filter pipeline. This is an o ...

Posted by dmcentire on Tue, 30 Nov 2021 03:24:44 +0100