Posted in category [.Net]
DotNET Core RSA Guide and Enhanced Extensions RSAExtensions
DotNET Core uses RabbitMQ Demos and how to examples
The most commonly used ASP.NET Core applications are specific physical files, such as configuration files, View files, and static files as Web resources. The physical file system is constructed by a PhysicalFileProvider defined in NuGet package ” Microsoft.Extensions.FileProviders.Physical “. We know that the System.IO namespace defines a complete set of APIs for manipulating physical directories and files. In fact, PhysicalFileProvider also finally calls these APIs to complete related IO operations.
In the era of front and back separation and the popularity of Restful APIs, perfect interface documents have become a link for communication. Introducing Swagger (also known as OpenAPI) in your project is a good choice to visualize interface data. Will be demonstrated below
How to generate Api documents with Nswag
How to use NSwagStudio to generate client code and test it
The most common application of gRPC is in the microservices scenario, so service registration and discovery problems are inevitable. The services we use gRPC can use Consul or etcd as service registration and discovery centers. This article mainly introduces Consul.