摘要: 1-创建 Ocelot 网关 webapi 2-添加引用 https://www.cnblogs.com/wucy/p/13353824.html Install-Package nacos-sdk-csharp -Version 1.3.5 Install-Package Ocelot.Provi 阅读全文
posted @ 2023-08-15 18:10 细品人生 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 1-创建一个 WebApi 2- 添加引用 Install-Package nacos-sdk-csharp -Version 1.3.5 Install-Package nacos-sdk-csharp.AspNetCore -Version 1.3.5 Install-Package nacos 阅读全文
posted @ 2023-08-15 18:00 细品人生 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 文档:https://nacos.io/zh-cn/docs/deployment.html 1-安装 nacos 1.1-解压 tar -zxvf nacos-server-2.2.3.tar.gz -C /usr/local 1.2-开启鉴权 cd /usr/local/nacos/conf v 阅读全文
posted @ 2023-08-15 17:30 细品人生 阅读(500) 评论(0) 推荐(1) 编辑
摘要: 模板 https://ocelot.readthedocs.io/en/latest/features/configuration.html https://zhuanlan.zhihu.com/p/584291049 { "DownstreamPathTemplate": "/", -- 下游 U 阅读全文
posted @ 2022-11-30 17:15 细品人生 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 背景 现在比较流行微服务部署:方便快速迭代且不影响其他业务系统 nacos 之前想转java 然后关注了一下java 方面的技术,后面接触了nacos 所以就用nacos 来作为服务注册和配置中心 接下来让我们开始吧 安装nacos 请参考这里:教程 开始编码 创建2 个 webapi 项目,一个类 阅读全文
posted @ 2022-11-25 16:58 细品人生 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 原文地址:https://cloud.tencent.com/developer/column/89717 课程介绍 内容综述 Net Core 的现状、未来以及环境搭建 Startup:掌握ASP.NET Core 的启动过程 依赖注入:良好架构的起点 上篇 中篇 下篇 作用域与对象释放行为 上篇 阅读全文
posted @ 2022-02-08 08:33 细品人生 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 1-创建公共类库 IDS4.Core 1.1-引用 IdentityServer4 1.2-创建 Config.cs 配置类 1 using IdentityServer4.Models; 2 3 namespace IDS4.Core.ClientCredentials 4 { 5 /// <su 阅读全文
posted @ 2022-01-05 15:20 细品人生 阅读(80) 评论(0) 推荐(0) 编辑
摘要: 简化版 标准版 完整版 阅读全文
posted @ 2021-12-13 13:20 细品人生 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 1-快捷键 动作 macOS Windows Show Command Palette Cmd + Shift + P 或 F1 Ctrl+ Shift + P 或 F1 Go To Definition F12 F12 Go Back Ctrl +- Alt + 左箭头 Go Forward Ct 阅读全文
posted @ 2021-10-17 22:41 细品人生 阅读(92) 评论(0) 推荐(0) 编辑
摘要: PS:文档地址 https://docs.abp.io/zh-Hans/abp/latest/Data-Access 1-生成数据库脚本 1.1-迁移命令知识点 https://docs.microsoft.com/zh-cn/ef/core/managing-schemas/migrations/ 阅读全文
posted @ 2021-07-19 15:04 细品人生 阅读(350) 评论(0) 推荐(0) 编辑