摘要:
注册控制器: app.MapControllerRoute( name: "areaRoute", pattern: $"{{area:exists}}/{{controller=Home}}/{{action=Index}}/{{id?}}"); app.MapControllerRoute( n 阅读全文
摘要:
第一步:安装 NuGet包 IdentityServer4.AccessTokenValidation 第二步:配置(Program.cs) // 注册认证相关组件和配置defaultScheme为Bearer builder.Services.AddAuthentication("Bearer") 阅读全文
摘要:
第一步:通过NuGet,安装 Ocelot.Provider.Consul 包 第二步:配置Consul(appsettings.json) "Consul": { "ServiceName": "bpm", //当前服务名称 "IP": "127.0.0.1", //当前服务IP "Weight" 阅读全文
摘要:
参考:https://www.cnblogs.com/taotaozhuanyong/p/13793960.html 阅读全文