5 Star 14 Fork 6

galoS / Zj.DotNetCore

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

DotnetCore micro service

star

微服务解决方案

Finbook.Web 在诸位大佬的帮助下,完成了一个微服务的小实战,包含

  1. IdentityServer4做用户验证中心;
  2. Consul服务治理包含服务注册、健康检查、服务发现;
  3. Ocelot服务转发,限流,熔断,负载均衡;
  4. 服务之间的发现借助polly的重试等保证服务发现的健壮;
  5. 其中Project.API基于简单的DDD,实现了程序层面的Cqrs,主要借助MediatR和Cap。

存在的问题

  • 另外目前还有一些问题其一是Cqrs这里,MySqlConnection会与Cap的Mysql.Data冲突;
  • 其二是基本仓储不完全没有封装,其三是服务注册始终使用的是默认的容器,最好用autofac替代其四是对Mongodb的使用理解还略有问题 ,解决了这些问题,改装一个单体架构也是蛮好使的 这些问题,后续都会去解决。

Domain driven design

领域驱动Sample包含事件驱动相关实现

DDD.Simple

The MIT License (MIT) Copyright (c) 2017 Jane Zhang Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

DotnetCore及AspNetCore及微服务实践 展开 收起
C#
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C#
1
https://gitee.com/gainorloss_259/Zj.DotNetCore.git
git@gitee.com:gainorloss_259/Zj.DotNetCore.git
gainorloss_259
Zj.DotNetCore
Zj.DotNetCore
master

搜索帮助