netcore non injection global get profile

In the development of netcore, the most common thing is injection. For example, if we want to get the content of appsettings.json, we need to inject it, and then get it in the controller. But if we want to use the content of appsettings.json in the service, this is a problem, and it is a very troublesome thing for every controller to inject it ...

Added by avianrand on Wed, 15 Apr 2020 20:31:18 +0300

Two dimensional vector data to Mars coordinates

In this paper, based on the Supermap platform, the two-dimensional vector data of 84 to Mars is realized. Steps: Converting data into the geographic coordinate system of wgs84 in iDesktop In iDesktop, convert the data to geojson. Note that the format should be utf-8, otherwise the Chinese field will be garbled. Under nodejs, we use projzh ...

Added by jesbin on Wed, 15 Apr 2020 17:26:28 +0300

[tiktok] catch the tiktok star by Python, which star is the most popular voice.

Recently, tiktok tiktok tiktok has seen all kinds of billboard data visualized video. As a technician, it is considered a very interesting way to present data. So searching the Internet for information, we found that there is a list of sound suitable for data visualization. Who is it? objective Tiktok pop star list Data visualization shows ...

Added by examiz on Wed, 15 Apr 2020 10:59:07 +0300

C#.net Implementation of Zhongtong Express Single Query Express Bird API Interface

In the last article, we introduced a logistics service provider. We recommend you to use Express Bird Interface. It mainly describes how to register an account, get a key, and find a registered address. I'll send it: http://kdniao.com/reg Today we're going to talk about how to use the interface provided by courier birds for instant queries. ...

Added by forced4 on Wed, 15 Apr 2020 04:59:12 +0300

docker file storage path, get container start command

How to get start command of container The container has already been created. How to know its startup parameters (where to mount the data) #Suppose you start a container with the following command docker run -d --name mysql\ -p 3306:3306\ -e MYSQL_ROOT_PASSWORD=123456\ --restart=always\ mysql:5.5 --character-set-server=utf8 #How to kno ...

Added by fractalvibes on Mon, 13 Apr 2020 17:37:02 +0300

Spring Boot integrates Swagger2 to build RESTful API documents

Introducing dependency Add io.springfox:springfox-swagger2 and io.springfox:springfox-swagger-ui dependencies to pom.xml <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.8.0</version> </dependency> <dependency> <groupId&gt ...

Added by kernelgpf on Sun, 12 Apr 2020 19:28:39 +0300

Vue asynchronous request

vue initially uses vue resource to implement asynchronous request (ajax), and vue 2.0 began to recommend using axios instead of vue resource.   Preparation 1. Download axios using npm npm install axios   2. Introducing axios.js <script src="js/axios.js"></script> Change to min.js when online         The front-end vue uses axios ...

Added by RiBlanced on Fri, 10 Apr 2020 17:44:55 +0300

A summary of Jmeter 's Rsa encryption and decryption

Encrypt script first: import org.apache.commons.codec.binary.Base64; import java.io.ByteArrayOutputStream; import java.security.Key; import java.security.KeyFactory; import java.security.KeyPair; import java.security.KeyPairGenerator; import java.security.PrivateKey; import java.security.PublicKey; import java.security.Signature; i ...

Added by kind on Thu, 09 Apr 2020 17:46:55 +0300

An exploration on the failure of script in the loaded page when using the load method of jquery

Notice in advance: This article is written by beginners. For a process of exploration, there may be some imprecise and accurate places. I hope readers will understand and correct it actively! Scenario Description: In a front-end development process, I used a web page template, which contains a home page and four sub pages, as shown in the follo ...

Added by sureshmaharana on Thu, 09 Apr 2020 16:52:07 +0300

go language system - from file operation to unit test

Catalog File operation Input and output streams Open and close files Functions and methods used Case demonstration Read file operation application case Write file operation application case Judge whether the file exists Application example of file programming Copy file Count the number of English, numbers, spaces and other characters ...

Added by ctjansen on Wed, 08 Apr 2020 08:00:29 +0300