GRpc exception handling Filter

Global error handling server Microsoft has implemented it Interceptors They are similar to Filter or Middlewares stay ASP.NET MVC core or web API, they can be used for global exception handling, logging, validation, etc. This is the server-side Interceptor's own implementation. Continuation is a Task that must wait. Then, if any exception is ...

Posted by ahundiak on Mon, 29 Jun 2020 17:54:30 -0700

This simple setup allows your Docker image to take off

This article has been included GitHub There are also Internet factory interview questions, interview strategies, efficient learning materials and so on 1. Preface Docker is cool to use, especially when used in DevOps practice.However, when you pull a mirror at home or locally, you often encounter constipation - either slowly or intermittentl ...

Posted by oneday on Mon, 29 Jun 2020 16:19:02 -0700

Design and implementation of Data Grid based on Angular Material

Since the Extensions component library was released, Data Grid has become the most used and consulted component. At the beginning, the design of Data Grid was very simple. After some refactoring, the quality of components has been improved. Extensions component library: https://github.com/ng-matero/extensions Data Grid example: https://ng- ...

Posted by swr on Sun, 28 Jun 2020 21:05:42 -0700

The course of wisdom in Shandong University

1. Overview The core of this course is the concept of the network - the network is a mode of interrelationship between things. For example, the social network we are in reflects the social connection between friends. wait. 1.1 basic problems of network Let's start with the network structure in sev ...

Posted by Loldongs on Sun, 28 Jun 2020 19:16:28 -0700

Short link service practice

Article catalog Business scenario Practice mode The first way The second way code implementation Function extension Distributed high availability other target Realize the change from ordinary website to short website reference resources:Design short URL system How are short links designed? Get ...

Posted by smarlowe on Sat, 27 Jun 2020 21:53:43 -0700

After using Python for so long, these funny and practical libraries don't even know

As mentioned in the previous article, Python is simple and efficient because it has rich functions that can be used immediately. Recently, I read some technical articles of Github and found some interesting and practical Python libraries. It's a feeling that I'm too late to meet each other. Today, I wil ...

Posted by harvey on Sat, 27 Jun 2020 21:09:40 -0700

RocketMQ entry to the ground novice can also understand the principle and practice!

Learning any technology is a two-step process: Setting up the environment helloworld I'm no exception. I'll do it directly. 1, RocketMQ installation 1. Documents Official website http://rocketmq.apache.org GitHub https://github.com/apache/rocketmq 2. Download wget https://mirror.bit.edu.cn/apache/rocketmq/4.7.0/rocketmq-all-4.7.0-bin-rele ...

Posted by muretto on Sat, 27 Jun 2020 20:44:03 -0700

60 very useful CSS code snippets, recommended collection

Shortcut directory Vertical alignment Extend an element to window height Use different styles based on file format Create image grayscale across browsers Background gradient animation CSS: table column width self applicable Show box shadows on one or both sides only Package long text Make fuzzy text ...

Posted by marlonbtx on Sat, 27 Jun 2020 19:47:19 -0700

FreeSql uses ToTreeList/AsTreeCte to query infinite level classification table

On infinite class The first option: Recursion algorithm is also the most frequently used, and most open source programs do the same, but generally only use four levels of classification. The database structure design of this algorithm is the simplest. A field ID and a field FID (parent id) in the category table. In this way, we can judge the up ...

Posted by jwoo on Sat, 27 Jun 2020 17:13:04 -0700

Centos uses git node shell for continuous integration

catalog preface preparation Creating a springboot project Create a warehouse on github Write listening server of node to write git.sh script Final test preface After listening to the teacher's lesson yesterday, I want to make continuous integration by myself. I have made many detours from five t ...

Posted by ryanpaul on Tue, 23 Jun 2020 21:23:21 -0700