随笔分类 - microservice
摘要:创建identityserver项目 创建新项目 dotnet new webapi --name ids4 安装IdentityServer4 dotnet add package IdentityServer4 --version 3.1.0 在startup.cs中代码修改如下 public
阅读全文
摘要:创建 重新创建一个项目 dotnet new webapi --name gateway 安装ocelot dotnet add package Ocelot --version 15.0.6 在startup.cs的Configure类中注释其它代码,然后添加 app.UseOcelot(); 在
阅读全文
摘要:ubuntu安装 wget https://releases.hashicorp.com/consul/1.7.3/consul_1.7.3_linux_amd64.zip unzip consul_1.7.3_linux_amd64.zip (需安装sudo apt-get install unz
阅读全文
摘要:使用: dotnet core 3.1 创建项目 创建valueController 在ubuntu上运行 然后 编译,压缩成.zip,使用xshell把文件传到linux 输入 (需安装),选择压缩包上传 解压 ,删除 如dotnet sdk没安装,请参考官网:https://docs.micro
阅读全文