Fork me on GitHub

Asp.Net Core API网关Ocelot

 Install-Package Ocelot

每个包都由其所有者许可给你。NuGet 不负责第三方包,也不授予其许可证。一些包可能包括受其他许可证约束的依赖关系。单击包源(源) URL 可确定任何依赖关系。

程序包管理器控制台主机版本 4.9.3.5777

键入 "get-help NuGet" 可查看所有可用的 NuGet 命令。

PM> Install-Package Ocelot
正在还原 D:\CSharp\VS2017\WebAppCoreDemos\APIGatewayApp\APIGatewayApp.csproj 的包...
  GET https://www.nuget.org/api/v2/FindPackagesById()?id='Ocelot'&semVerLevel=2.0.0
  OK https://www.nuget.org/api/v2/FindPackagesById()?id='Ocelot'&semVerLevel=2.0.0 694 毫秒
  GET https://api.nuget.org/v3-flatcontainer/ocelot/index.json
  OK https://api.nuget.org/v3-flatcontainer/ocelot/index.json 276 毫秒
  GET https://api.nuget.org/v3-flatcontainer/ocelot/13.0.0/ocelot.13.0.0.nupkg
  OK https://api.nuget.org/v3-flatcontainer/ocelot/13.0.0/ocelot.13.0.0.nupkg 169 毫秒
  GET https://www.nuget.org/api/v2/FindPackagesById()?id='Ocelot'&$skip=100&semVerLevel=2.0.0
  GET https://api.nuget.org/v3-flatcontainer/ocelot/index.json
正在安装 Ocelot 13.0.0。
  OK https://api.nuget.org/v3-flatcontainer/ocelot/index.json 176 毫秒
  OK https://www.nuget.org/api/v2/FindPackagesById()?id='Ocelot'&$skip=100&semVerLevel=2.0.0 747 毫秒
  GET https://www.nuget.org/api/v2/FindPackagesById()?id='Ocelot'&$skip=200&semVerLevel=2.0.0
  OK https://www.nuget.org/api/v2/FindPackagesById()?id='Ocelot'&$skip=200&semVerLevel=2.0.0 585 毫秒
  GET https://www.nuget.org/api/v2/FindPackagesById()?id='Ocelot'&$skip=300&semVerLevel=2.0.0
正在安装 NuGet 程序包 Ocelot 13.0.0。
  OK https://www.nuget.org/api/v2/FindPackagesById()?id='Ocelot'&$skip=300&semVerLevel=2.0.0 482 毫秒
正在提交还原...
正在生成 MSBuild 文件 D:\CSharp\VS2017\WebAppCoreDemos\APIGatewayApp\obj\APIGatewayApp.csproj.nuget.g.props。
正在生成 MSBuild 文件 D:\CSharp\VS2017\WebAppCoreDemos\APIGatewayApp\obj\APIGatewayApp.csproj.nuget.g.targets。
将锁定文件写入磁盘。路径: D:\CSharp\VS2017\WebAppCoreDemos\APIGatewayApp\obj\project.assets.json
D:\CSharp\VS2017\WebAppCoreDemos\APIGatewayApp\APIGatewayApp.csproj 的还原在 4.48 sec 内完成。
已从 APIGatewayApp 成功卸载“System.ValueTuple 4.3.0”
已将“FluentValidation 7.6.104”成功安装到 APIGatewayApp
已将“Ocelot 13.0.0”成功安装到 APIGatewayApp
已将“System.ComponentModel 4.3.0”成功安装到 APIGatewayApp
已将“System.ComponentModel.Primitives 4.3.0”成功安装到 APIGatewayApp
已将“System.ValueTuple 4.5.0”成功安装到 APIGatewayApp
执行 nuget 操作花费时间 1.4 sec
已用时间: 00:00:15.3231661
PM>

 

PM> Install-Package Ocelot.Provider.Consul
正在还原 D:\CSharp\VS2017\WebAppCoreDemos\APIGatewayApp\APIGatewayApp.csproj 的包...
  GET https://www.nuget.org/api/v2/FindPackagesById()?id='Ocelot.Provider.Consul'&semVerLevel=2.0.0
  OK https://www.nuget.org/api/v2/FindPackagesById()?id='Ocelot.Provider.Consul'&semVerLevel=2.0.0 924 毫秒
  GET https://www.nuget.org/api/v2/package/Ocelot.Provider.Consul/13.0.0
  GET https://api.nuget.org/v3-flatcontainer/ocelot.provider.consul/index.json
  GET https://api.nuget.org/v3-flatcontainer/ocelot.provider.consul/index.json
  OK https://api.nuget.org/v3-flatcontainer/ocelot.provider.consul/index.json 315 毫秒
  OK https://api.nuget.org/v3-flatcontainer/ocelot.provider.consul/index.json 182 毫秒
  OK https://www.nuget.org/api/v2/package/Ocelot.Provider.Consul/13.0.0 1786 毫秒
正在安装 Ocelot.Provider.Consul 13.0.0。
正在安装 NuGet 程序包 Ocelot.Provider.Consul 13.0.0。
正在提交还原...
将锁定文件写入磁盘。路径: D:\CSharp\VS2017\WebAppCoreDemos\APIGatewayApp\obj\project.assets.json
D:\CSharp\VS2017\WebAppCoreDemos\APIGatewayApp\APIGatewayApp.csproj 的还原在 4.6 sec 内完成。
已将“Consul 0.7.2.6”成功安装到 APIGatewayApp
已将“Microsoft.Win32.Primitives 4.0.1”成功安装到 APIGatewayApp
已将“Ocelot.Provider.Consul 13.0.0”成功安装到 APIGatewayApp
已将“System.Net.Http.WinHttpHandler 4.0.0”成功安装到 APIGatewayApp
执行 nuget 操作花费时间 1.44 sec
已用时间: 00:00:07.6450348
PM>

 

posted @ 2019-02-18 13:22  chenpw  阅读(264)  评论(0)    收藏  举报
View Code