C ා httpclient uses Consul discovery service

Tried Overt.Core.Grpc The use of GRPC is transformed to WCF, and the performance test is also very good. It is highly recommended for you to useBut most of the existing projects are http requests. If they are transformed into GRPC, the workload will be heavy, so we found Steeltoe.Discovery Add DelegatingHandler to HttpClient in Startup, dynamic ...

Posted by Lessur on Tue, 26 May 2020 07:42:24 -0700

Istio Sidecar injection principle

concept In short, Sidecar injection adds the configuration of additional containers to the Pod template. This refers to the Pod in which the Envoy container is applied. Currently, the containers required by Istio service grid are: Istio init is used to set iptables rules so that inbound / outbound traffic passes through the Sidecar agent. Initi ...

Posted by asparagus on Mon, 25 May 2020 05:12:54 -0700

Python playing with Excel: automatic function filling and data sorting

In the work, we often use excel to deal with data and display, but for some work we can use the help of programs to achieve efficient problem-solving effect. For example, the json returned from the interface is parsed and saved in Excel, the data in excel is processed according to certain rules and then written into a new EXCEL file, and the co ...

Posted by 3r0ss on Sun, 24 May 2020 23:33:32 -0700

vue image upload

@Official documents @Reference blog1,@Reference blog 2 Final effect:         realization: After the introduction of iView, an error is found, and the error information can be referred to @Reference blog 1, according to the blog Guide cnpm uninstall vue-cli -g cnpm install -g @vue/clivue init webpack yanancnpm install vue Then i ...

Posted by corruption on Sat, 23 May 2020 07:10:01 -0700

WebApiClientCore usage instructions

Preface I am WebApiClient The author of the library, who is currently developing his version of.netcore, after sorting out his readme, think about how this might be useful for everyone, and perhaps give WebApiClient More people, so I'll post readme here as a blog. WebApiClientCore WebApiClient.JIT The.netcore version of HttpClient, a declar ...

Posted by hexguy on Fri, 22 May 2020 18:01:02 -0700

How to run a front-end angular project

1. Install first node.js Go to the official website to download and install: https://nodejs.org/en/ 2. Download pkg file and install it on mac 3. After the installation, verify whether it is successful at the terminal $ npm -v 6.14.4 $ node -v v12.16.3 4. Install angular console npm install -g @angular/cli This installs the comma ...

Posted by the max on Fri, 22 May 2020 07:47:19 -0700

Introduction to Docker foundation of container technology

We have learned the basic usage of LXC and the simple use of LXC WEB Panel, which can be referred to by interested friends https://www.cnblogs.com/qiuhom-1874/p/12904188.html Today's essay is mainly about the basic knowledge of docker; I. docker and LXC First let's talk about the difference between docker and traditional LXC containers. The tra ...

Posted by drag0n on Fri, 22 May 2020 06:47:21 -0700

[Asp.NetCore] Blazor WebAssembly - Project Direction - How to pre-load wasm required files on the Welcome page

Preface, Blazor Assembly requires a minimum download of 1.9M. ( New Blazor Web Assembly Project Download Measurement Test, for reference only. )  As programs become more complex and reference more and more, more downloads are needed. Some websites may have poor networks and it may take some time to load these files.   For some websites, it ...

Posted by navtheace on Thu, 21 May 2020 20:34:01 -0700

JS performs Base64 encoding, MD5 encryption and URL encoding to realize the signature verification of express bird API interface

Some netizens left a message saying that they wanted to call the express bird API interface to realize Express query, but they didn't understand the back-end development, JAVA, PHP, C and python. They asked me if I could realize express interface query, and I said what would you do, he said, I only know a little bit about JS. I replied that it ...

Posted by ATLien on Wed, 20 May 2020 08:15:41 -0700

Develop blog project based on abp vNext and. NET Core - data access and code first

Last article( https://www.cnblogs.com/meowv/p/12909558.html )Improved the code in the project and connected to Swagger. This article mainly uses the Entity Framework Core to access the database, and uses the code first method for data migration and automatic creation of table structure. data access Add our data access context object MeowvBl ...

Posted by Monshery on Wed, 20 May 2020 02:56:28 -0700