5 Star 18 Fork 5

Xiaoli/Fake

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

介绍

Fake的目的是为了探索Web应用程序编程之道的最佳实践,如果你也一样有兴趣,可以加入并成为Faker~

目前主要参考项目:Abp,MediatR,EShop

🐣开始

$ git clone https://gitee.com/xiaolipro/fake.git
$ cd fake
$ dotnet restore

😂请帮帮我

  • mutil-framework compatibility
  • unit test,functional test,benchmark test and more
  • simple demo,useage doc
  • bug issue and idel...

🐌基础能力

  • 模块化
  • 依赖注入
    • 自动注入
    • 属性注入
  • 授权
    • 基于Roles-RBAC
    • 基于Schemes-自定义认证
    • 基于Policy-动态策略
    • 根据endpoint自动生成policy
  • 审计日志
    • 请求审计
    • 方法审计
    • 实体审计
    • 实体变更审计
  • 本地化(多语言)
    • 本地文件系统
    • 远程动态数据
  • 文件系统
    • Fake虚拟文件系统
    • 原WebRootFileProvider
    • wwwroot物理文件系统
  • 工作单元
  • 测试
    • Fake集成测试
    • Fake-Host集成测试(AspNetCore)
  • 对象映射
    • ObjectMapper
    • AutoMapper
    • Mapster
  • 事件总线
    • 本地事件总线
    • 分布式事件总线

😘领域驱动设计

  • 实体
    • 实体审计
    • 领域事件
    • 聚合根
      • 乐观锁
  • 值对象
  • 枚举
  • 仓储
  • 领域事件
  • 领域异常

🐸微服务能力

  • Consul服务发现与注册
    • 客户端负载均衡
    • 支持kv热更新
  • Grpc客户端负载均衡
  • RabbitMQ分布式事件总线
  • SkyWalking分布式链路追踪

Grpc

  • 可自定义客户端负载均衡算法/服务解析器
  • 日志拦截器,skywalking上报
  • 异常抛出GrpcException,可被管道捕获(适合host)
  • 回退机制,客户端先起,阻塞等待可用服务出现(适合work)
  • 服务端掉线,自动踢出可用队列
  • 服务不可达/grpc内部异常,自动重试机制
  • 连接持活机制,服务队列缓存机制等

鸣谢

JetBrains https://jb.gg/OpenSourceSupport.

MIT License Copyright (c) 2023 Xiaoli 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.

简介

一个.NET框架,帮助你快速开发 展开 收起
C# 等 4 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/xiaolipro/fake.git
git@gitee.com:xiaolipro/fake.git
xiaolipro
fake
Fake
master

搜索帮助