摘要:
一,接着前面的代码,我们先引用Ocelot.Provider.Polly,然后我们的startup接着配置下,如下 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Ta 阅读全文
posted @ 2020-07-25 22:39
叶丶梓轩
阅读(812)
评论(0)
推荐(0)
摘要:
一。我们用Ocelot加consul一起使用,服务的注册发现,而不是现在的单机版手动配置服务地址 我们写Ocelot的配置,这个是时候 我们要引用Ocelot.Provider.Consul这个包,然后又多一个扩展addConsul()这个扩展方法,如下startup的配置 using System 阅读全文
posted @ 2020-07-25 00:05
叶丶梓轩
阅读(447)
评论(0)
推荐(0)

浙公网安备 33010602011771号