Asp. Detailed explanation of role authorization of IdentityServer4 in net core
1, Foreword
The previous articles shared the basic authorization and user-defined authorization of IdentityServer4 password mode. Recently, due to the transformation of a gateway service, the authorization of IdentityServer4 was used. During the transformation process, it was found that it is more suitable for Role-based authorization, and use ...
Added by dabnet on Wed, 09 Mar 2022 13:51:44 +0200
Netty series: detailed explanation of NIO and netty
brief introductionWhy is netty fast? This is because the bottom layer of netty uses JAVA nio technology and optimizes the performance on its basis. Although netty is not a pure JAVA nio, the bottom layer of netty is still based on NiO technology.nio is jdk1 4, which is different from traditional IO, so nio can also be called new io.The three co ...
Added by ailgup on Wed, 09 Mar 2022 13:41:46 +0200
Nmap has accumulated practical experience for many years
Primary stageI Host discoveryFour layer transmission (TCP+UDP protocol)nmap -sP -PS[Port 1, port 2...Or port range][target](TCP SYN Ping)
nmap -sP -PY[Port 1, port 2][target](SCTP INIT Ping)
nmap -sP -PA[Port 1, port 2][target](TCP ACK Ping)
nmap -sP -PU[Port 1, port 2][target](UDP Ping)Send empty UDP To ports 31 and 338, 40125 port is used by ...
Added by bob_rock on Wed, 09 Mar 2022 13:41:31 +0200
Java inheritance problem
Java inheritance problem
first, the override is only for methods. The attribute with the same name in the subclass and the parent class is only that the subclass overrides the same attribute of the parent class; all attributes and methods in the parent class will be inherited by the subclass (the attribute method modi ...
Added by stuartriches on Wed, 09 Mar 2022 13:19:08 +0200
Java -- interface definition and examples
Abstract and interface appear frequently in both ordinary study and job interview. This paper combines the previous article Java -- abstract definitions and examples Learning interface.
Through this article, you will gain: (1) the basic concept of interface (2) what is the difference between abstraction and interface
1: Overview
Interface i ...
Added by day_tripperz on Wed, 09 Mar 2022 13:17:57 +0200
DrawerLayout and NavigationView of Material Design practice
I DrawerLayout
DrawerLayout is a sliding menu. DrawerLayout is a layout that allows you to put in two direct sub controls. The first sub control is what is displayed on the main screen and the second sub control is what is displayed in the sliding menu.
① So we can in the xml file of MainActivity
<?xml version="1.0" encoding="utf-8"?>
...
Added by eightonesix on Wed, 09 Mar 2022 13:15:11 +0200
In depth analysis of MySQL Partition function
=Horizontal partition (by row according to column attribute)=
Take a simple example: a table containing ten-year invoice records can be divided into ten different partitions, and each partition contains the records of one year.
Mode of horizontal partition:
Range – this mode allows DBA s to divide data into different ranges. For e ...
Added by tobimichigan on Wed, 09 Mar 2022 13:13:19 +0200
Vue: life cycle execution sequence in three cases
Life cycle: when creating a Vue instance, it will go through a series of initialization processes (Vue instance from creation to destruction). This process is the life cycle of Vue. Vue provides developers with a series of callback functions to facilitate us to add custom logic. The life cycle of Vue is from creation to destruction, and importa ...
Added by WendyLady on Wed, 09 Mar 2022 13:12:09 +0200
[UE4] make an independent window plug-in
The content is self-taught from station B AV244462117, P6
This article is only a self-study record, not a tutorial, and there may be fallacies
System environment: WIN10, UE4 (engine version 4.27.1), Visual Studio 2022 Community
1. Create a new plug-in
Create a stand-alone window plug-in in UE4 editor menu
2. c + + code modificatio ...
Added by beesgirl713 on Wed, 09 Mar 2022 12:56:08 +0200
SpringBoot10: static resource processing for Web development
Research on Web Development
brief introduction
OK, students, next, let's start to learn about SpringBoot and Web development. From this chapter on, it belongs to our practical part;
In fact, the things of SpringBoot are very simple to use, because the biggest feature of SpringBoot is automatic assembly.
Steps to use SpringBoot:
1. Create a ...
Added by manhattanpaul on Wed, 09 Mar 2022 12:50:37 +0200