该文被密码保护。 阅读全文
posted @ 2020-07-07 22:27 Cody& 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-06-13 19:52 Cody& 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-06-12 22:23 Cody& 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 创建identityserver项目 创建新项目 dotnet new webapi --name ids4 安装IdentityServer4 dotnet add package IdentityServer4 --version 3.1.0 在startup.cs中代码修改如下 public 阅读全文
posted @ 2020-05-31 17:07 Cody& 阅读(421) 评论(1) 推荐(0) 编辑
摘要: 创建 重新创建一个项目 dotnet new webapi --name gateway 安装ocelot dotnet add package Ocelot --version 15.0.6 在startup.cs的Configure类中注释其它代码,然后添加 app.UseOcelot(); 在 阅读全文
posted @ 2020-05-31 14:06 Cody& 阅读(290) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2020-05-26 20:35 Cody& 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 使用: dotnet core 3.1 创建项目 创建valueController 在ubuntu上运行 然后 编译,压缩成.zip,使用xshell把文件传到linux 输入 (需安装),选择压缩包上传 解压 ,删除 如dotnet sdk没安装,请参考官网:https://docs.micro 阅读全文
posted @ 2020-05-24 20:47 Cody& 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 爬取图片 创建 安装 阅读全文
posted @ 2020-05-24 10:50 Cody& 阅读(502) 评论(0) 推荐(0) 编辑
摘要: AuthServer配置信息存数据库 打开之前创建的AuthServer项目 安装IdentityServer4.EntityFramework 使用sqlite存储配置 安装 在appsettings.json文件添加 在startup.cs文件中 类中代码修改如下: 添加 将以下代码 替换成 然 阅读全文
posted @ 2020-05-03 19:37 Cody& 阅读(279) 评论(0) 推荐(0) 编辑
摘要: 该项目使用dotnet版本3.1 ,vs code创建 创建Web MVC项目 创建命令 dotnet new mvc --name WebMvc 修改./properties/launchSettings.json "profiles": { "WebApi": { "commandName": 阅读全文
posted @ 2020-04-28 19:57 Cody& 阅读(482) 评论(1) 推荐(0) 编辑