use. NET 6 to develop TodoList application (30) -- Realizing Docker packaging and deployment
Series navigation and source code
use. NET 6 development TodoList application article index
demand
The most used scenario of. NET 6 Web API application is as a back-end microservice application. In actual projects, we generally publish the application by packaging it into a docker image for better deployment, including the microservice projec ...
Posted by Maknis on Sun, 16 Jan 2022 11:39:33 +0100
use. NET 6 to develop TodoList application (27) -- Realizing Swagger documentation of API
Series navigation and source code
use. NET 6 development TodoList application article index
demand
In daily development, we need to provide documented API interface definitions for the front end, and even simulate the erection of a fake service to debug interface fields. Or for back-end developers, we can import this interface definition file ...
Posted by numerical25 on Wed, 12 Jan 2022 21:44:50 +0100
use. NET 6 developing TodoList application (24) -- Realizing Identity function based on JWT
Series navigation and source code
use. NET 6 development TodoList application article index
demand
Yes NET Web API development also has a very important requirement about identity authentication and authorization. This topic is very large, so this article does not intend to introduce the whole topic, but only use NET framework to implement au ...
Posted by jchemie on Sun, 09 Jan 2022 16:48:57 +0100
use. NET 6 to develop TodoList application (11) -- using fluent validation and MediatR to implement interface request verification
Series navigation and source code
use. NET 6 development TodoList application article index
demand
In the process of response request processing, we often need to verify the legitimacy of the request parameters. If the parameters are illegal, we will not continue to process the business logic. Of course, we can write the parameter verificatio ...
Posted by Onloac on Wed, 05 Jan 2022 00:56:02 +0100
use. NET 6 developing TodoList application (12) -- implementing ActionFilter
Series navigation and source code
use. NET 6 development TodoList application article index
demand
Filter is in NET Web API project development is also a very important concept. It runs in the Pipeline executing MVC response, allowing us to extract some logic that can be reused among multiple actions for centralized management. Although we we ...
Posted by defeated on Sun, 02 Jan 2022 11:51:50 +0100
. Net Core WebApi custom resource filter (using cache)
If you want to use caching in WebApi, cache some result sets, which can reduce the pressure on the database server. The cache can be used according to the situation. Generally, it caches the data that is often queried and generally will not be updated.
This article uses MemoryCache to cache data. Of course, there are many caching technologies, ...
Posted by javier on Sun, 05 Dec 2021 17:09:29 +0100