1 Star 0 Fork 2

微雨客 / MicroserviceDemo

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

MicroserviceDemo

Dot Net Core 微服务例子;采用Ocelot实现服务网关,IdentityServer4实现认证,CAP实现分布式最终一致性,实现了Ocelot网关Redis缓存的示例。

微服务内部采用领域模型驱动设计,实现了接口日志、权限控制、多租户支持、软删除支持、读写分离支持等功能。

数据库用Postgresql,缓存用Redis,消息队列用RabbitMQ。

其他使用的组件包括CSRedis、Swaager、MediatR(中介者模式)、Automapper、Nlog等。

项目参考了EShop; 分为商品浏览(Product)服务,订单(Ordering)服务和支付(Payment)服务三个微服务。

项目结构如下:

MIT License Copyright (c) 2019 iamxiaozhuang 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.

简介

Dot Net Core 微服务例子, 实现了Ocelot服务网关,IdentityServer4认证,CAP最终一致性,领域模型驱动设计,多租户支持,软删除支持等 展开 收起
C#
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C#
1
https://gitee.com/weiyuke/MicroserviceDemo.git
git@gitee.com:weiyuke/MicroserviceDemo.git
weiyuke
MicroserviceDemo
MicroserviceDemo
master

搜索帮助