使用visual studio 2019 创建的 asp.net core 5.0 web application 项。
startup类中注册使用Authentication和Authorization中间件服务,在controller或action中使用AuthorizeAttribute和AllowAnonymousAttribute控制访问权限。
详见代码,都有注释。
入门
-This project is developed by `Mehmet Ali Külle` to understand Microservices architecture with `IdentityServer` and `API Gateway`
代码概述
- `ApiGateway` is Gateway layer. In this layer is communicating other server.
-`ocelot.json` is the configur