1 Star 0 Fork 2

微雨客 / MicroserviceDemo

forked from 瞌睡 / MicroserviceDemo 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
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.

About

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

Releases

No release

Contributors

All

Activities

Load More
can not load any more
C#
1
https://gitee.com/weiyuke/MicroserviceDemo.git
git@gitee.com:weiyuke/MicroserviceDemo.git
weiyuke
MicroserviceDemo
MicroserviceDemo
master

Search