会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
绿光
记下学习中遇到的芝麻小事,循序渐进,只为沉淀厚积而薄发。
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
下一页
2020年6月12日
EF Core读写分离
该文被密码保护。
阅读全文
posted @ 2020-06-12 22:23 Cody&
阅读(8)
评论(0)
推荐(0)
2020年5月31日
consul、ocelot、identityserver结合使用
摘要: 创建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&
阅读(475)
评论(1)
推荐(0)
dotnet consul 与 ocelot
摘要: 创建 重新创建一个项目 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&
阅读(327)
评论(0)
推荐(0)
2020年5月26日
consul
摘要: 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&
阅读(249)
评论(0)
推荐(0)
2020年5月24日
dotnet core nginx负载均衡
摘要: 使用: dotnet core 3.1 创建项目 创建valueController 在ubuntu上运行 然后 编译,压缩成.zip,使用xshell把文件传到linux 输入 (需安装),选择压缩包上传 解压 ,删除 如dotnet sdk没安装,请参考官网:https://docs.micro
阅读全文
posted @ 2020-05-24 20:47 Cody&
阅读(303)
评论(0)
推荐(0)
c# 爬虫
摘要: 爬取图片 创建 安装
阅读全文
posted @ 2020-05-24 10:50 Cody&
阅读(533)
评论(0)
推荐(0)
2020年5月3日
identityServer4(4)
摘要: AuthServer配置信息存数据库 打开之前创建的AuthServer项目 安装IdentityServer4.EntityFramework 使用sqlite存储配置 安装 在appsettings.json文件添加 在startup.cs文件中 类中代码修改如下: 添加 将以下代码 替换成 然
阅读全文
posted @ 2020-05-03 19:37 Cody&
阅读(298)
评论(0)
推荐(0)
2020年4月28日
创建IdentityServer (3)
摘要: 该项目使用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&
阅读(517)
评论(1)
推荐(0)
创建IdentityServer4 (2)
摘要: 该项目使用dotnet版本3.1 ,vs code创建 创建Web Api项目 创建命令 修改./properties/launchSettings.json 运行下面命令安装 在startup.cs文件的configureservices添加 在startup.cs文件的configure添加 在
阅读全文
posted @ 2020-04-28 19:44 Cody&
阅读(234)
评论(0)
推荐(0)
创建IdentityServer4 (1)
摘要: 该项目使用dotnet版本3.1 ,vs code创建 创建AuthServer项目 首先命令安装模版 创建AuthServer 在cnfig.cs文件修改 下图 画线部分(使用用户名密码) 然后运行项目,在浏览器输入http://localhost:5000/打开IdentityServer4页面
阅读全文
posted @ 2020-04-28 19:41 Cody&
阅读(332)
评论(0)
推荐(1)
上一页
1
2
3
4
5
下一页
公告