10 2021 档案
摘要:.netcore3.1 Ocelot与Consul结合使用 一、在网关项目中添加配置信息 1.1 添加以下两个配置 //webapi服务的配置 { "downstreampathtemplate": "/api/employmanagement", "downstreamscheme": "http
阅读全文
摘要:netcore3.1的网关Ocelot实例 一、创建一个netcore 空项目(APIGateway网关) 添加依赖Install-Package Ocelot , 若是在16.x之后ReRoutes更改为Routes 1.1 新建configuration.json文件 { "ReRoutes":
阅读全文
摘要:There is already an open DataReader associated with this Connection which must be closed first.问题记录 当进行两次链接报错 public async Task<IActionResult> ManageU
阅读全文