摘要: butterfly 准备工作 首先下载buterfly release版本 解压并通过命令启动:dotnet Butterfly.Web.dll --EnableHttpCollector=true 可以采用bat文件的方式 其中进入路径需要自行替换 代码配置 测试demo中 12.0和 7.0 使 阅读全文
posted @ 2018-11-16 15:16 nontracey 阅读(588) 评论(0) 推荐(0) 编辑
摘要: 由于之前第四篇中绑定身份信息部分太过于繁琐 现将身份验证指定信息放到配置文件中 首先注释原先验证部分 参考如下 修改startup var auths=services.AddAuthentication(); var authdatas = Configuration.GetSection("Se 阅读全文
posted @ 2018-11-16 14:11 nontracey 阅读(514) 评论(0) 推荐(0) 编辑
摘要: 准备工作 搭建DemoApi_III 过程和第一篇中的DemoApi_I 一致 唯一不同在于 appsettings.json 内的 ServiceName 改为demoAPi3 然后 Port 改为 1003、 修改网关配置 configuration.json 内的 ReRoutes添加节点 / 阅读全文
posted @ 2018-11-16 11:27 nontracey 阅读(860) 评论(1) 推荐(1) 编辑
摘要: 增加验证服务 1.创建名为AuthService 的core 空项目 2.修改startup文件 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; usin 阅读全文
posted @ 2018-11-16 10:04 nontracey 阅读(835) 评论(0) 推荐(0) 编辑