June 1st, 2018 to March 31, 2019 Zhiqiang Li 's original article collection
Visit statistics
Data from cnzz.com
March 2018
Summary: Describes how to use NodeServices to run JavaScript code in .NET Core to combine ASP.NET Core with the NodeJS ecosystem.
February 2019
1.IdentityServer4 Practice - Integration with API single project
Summary: IdentityServer4 Practice Series. Introduced the .NET Core identity authentication framework How IdentityServer4 integrates with API resources under one project. Convenient single project use IdentityServer4.
January 2019
1.IdentityServer4 Practice - Understanding JWT Token Issuer
Summary: From the basics to the in-depth, the origin of the Issuer field contained in the JWT type Token of IdentityServer4 is introduced. The verification process of Issuer is analyzed from the source code. The problems and solutions that the Issuer may encounter in the production environment are introduced through examples and flowcharts.
December 2018
1.Precautions for using .NET Core's Image on Linux / Docker
Summary: This article introduce how to use Image, Bitmap in .NET Core and some problems that are easy to appear on Linux/Docker and how to solve it.
2.Jenkins Advanced Usage - Jenkinsfile introduction and practical experience
Summary: ASP.NET Core DevOps Series. ASP.NET Core combines Docker, Jenkins, Linux and other tools to implement DevOps. This article mainly introduces the Jenkinsfile and some practical experience.
3.Jenkins Advanced Usage - Pipeline installation
Summary: ASP.NET Core DevOps Series. ASP.NET Core combines Docker, Jenkins, Linux and other tools to implement DevOps. This article mainly introduces how to install jenkins pipeline.
November 2018
1.ASP.NET Core with Nginx's real IP problem
Summary: This article introduce the ASP.NET Core use Nginx as a reverse proxy server, and how to get the real IP of the client correctly in the program.
October 2018
1.Centos7 firewall firewalld utility operation
Summary: ASP.NET Core DevOps Series. ASP.NET Core combines Docker, Jenkins, Linux and other tools to implement DevOps. This article introduce how to use firewalld on CentOS.
2.Guard your .NET Core application with PM2
Summary: PM2 is a cross-platform daemon tool written using NodeJS technology, it is typically used for the daemon of NodeJS programs. I have a whimsical use of PM2 as a daemon for ASP.NET Core programs. This idea has proven to be very useful, in addition to tools such as supervisor, you can also choose pm2.
September 2018
1.CanalSharp-Mysql database binlog incremental subscription & consumer component Canal's .NET client
Summary: Introducing my .NET Core open source project CanalSharp. Alibaba mysql database binlog incremental subscription & consumer components Canal's .NET client.
2.IdentityServer4 Practice - About the security policy of JWT Token
Summary: IdentityServer4 Practice Series. IdentityServer4 uses JWT authentication by default. It is a decentralized authentication and cannot be fully controlled. This may bring some special security problems. This article provides six ways to solve the problem.
3.IdentityServer4 Practice - Must use HTTPS problem resolution
Summary: IdentityServer4 Practice Series. Problems with the "Require HTTPS" that occur when deploying to the production environment using IdentityServer4, and how to solve it.
August 2018
1..NET Core implementation Redis batch query key in the specified format
Summary: Redis is currently the most popular in-memory NoSQL database and is used by many companies as a distributed cache. In actual use, we usually give the key a specified prefix or other defined format. When the bug in our program causes the stored value in redis to be inconsistent with our expectation, we can locate the key of our specific problem by querying the key of the specified format, so that we can solve the problem.
Summary: Introducing my open source tool IPTools. Quickly query IP information, support domestic and foreign IP information query, support query latitude and longitude, and support geographical location to the city.
3.The .NET Core project specifies the SDK version
Summary: Since the release of .NET Core 2.1.0, Microsoft has released several minor versions in recent months. It can be seen that .NET Core is a very active technology. After a period of practice, the version number of the Nuget package, such as Microsoft.AspNetCore.App, used in ASP.NET Core development is consistent with the .NET Core version number (not the SDK version number, follow-up instructions). Otherwise, There may be some weird errors when compiling or running. For example, Microsoft.AspNetCore.App version 2.1.0 corresponds to .NET Core 2.1.0.
July 2018
1.Visual Studio 2017 set transparent background image
Summary: Give everyone a share, how to set a transparent background for VS2017
2.ASP.NET Core Configuration CORS
Summary: Many people use CORS in ASP.NET Core unsuccessfully. This is due to the middleware order problem. This article describes how to use CORS correctly.
3.Docker utility tips change package source to improve build speed
Summary: ASP.NET Core DevOps Series. During the continuous integration build process, due to the network, we may have a very slow problem of restoring Linux packages during the process of building ASP.NET Core programs into Docker images. This article describes how to replace the package source and improve the build speed.
Summary: ASP.NET Core DevOps Series. Introduce how to build a Jenkins cluster and improve the speed of our program construction.
5.Jenkins can't catch build script error
Summary: ASP.NET Core DevOps Series. The shell script we wrote could not be caught by Jenkins, causing the build process to not break properly. This article describes how to solve this problem.
6.CentOS 7 installation Jenkins
Summary: ASP.NET Core DevOps Series. Install the automation tool Jenkins on CentOS
7.CentOS 7 source code compilation and installation Nginx
Summary: ASP.NET Core DevOps Series. Install the reverse proxy server Nginx on CentOS.
8.CentOS 7 source code compilation and installation Redis
Summary: ASP.NET Core DevOps Series. Install the Redis on CentOS.
9.CentOS 7 source code compilation and installation NodeJS
Summary: Install the NodeJS on CentOS. Used to run PM2 to protect ASP.NET Core applications
10.CentOS7 installation JAVA environment (JDK 1.8)
Summary: ASP.NET Core DevOps Series. CentOS7 installation JAVA environment (JDK 1.8). Jenkins needs.
June 2018
1.IdentityServer4 Practice - Analysis of the interaction process between API and IdentityServer
Summary: IdentityServer4 Practice Series. Using a flowchart to introduce the interaction process between API resources and IdentityServer4.
2.Working directory problem in .NET Core
Summary: The asp.net core application is different from asp.net, which can be run away from iis. Many newbies have created unexpected problems when ignoring the working directory when deploying the asp.net core application.
3.The .NET Core console application uses the asynchronous (Async) Main method
Summary: C# 7.1 and above allows us to use the asynchronous Main method.This article details how to use it.
4.Quickly publish articles to multiple platforms using .NET Core
Summary: Use tools written in .NET Core to quickly publish technical articles written to multiple platforms to increase the visibility of your articles.
5.ASP.NET Core 2.1 runs with Docker
Summary: How ASP.NET Core applications build Docker images and run them.
6.How to write .NET Core Global Tools (with two cases)
Summary: On May 31, 2018 (Beijing time) Microsoft released the official version of .NET Core 2.1, and .NET Core 2.1 brought us a new feature: .NET Core Global Tools. Those who have used NodeJs must be familiar with NPM. It is inspired by NPM and provides a new deployment and extension mechanism for providing .NET Core tools. It is a .NET Core console application that is packaged and retrieved as a NuGet package. By default, these tools are framework-dependent applications and contain all of their NuGet dependencies. This means that .NET Core tools run by default on all operating systems and chip architectures that support .NET Core with a set of binaries. By default, the dotnet tool install command looks for tools on NuGet.org. You can also use your own NuGet source instead.
7.Open source tools Dotnet RSA quickly generates and transforms RSA keys
Summary: DotnetRSA is a .NET Global Tool developed with .NET Core 2.1. It can be installed in your system just like npm global installation. It can quickly generate the key required for RSA encryption algorithm with one line command. Currently supported. The secret keys of the three formats are: xml, pkcs1, pkcs8. It also supports the mutual conversion of the three format keys.
目前学习.NET Core 最好的教程 .NET Core 官方教程 ASP.NET Core 官方教程