Fake.AspNetCore 8.0.0-preview.240123

This is a prerelease version of Fake.AspNetCore.
dotnet add package Fake.AspNetCore --version 8.0.0-preview.240123                
NuGet\Install-Package Fake.AspNetCore -Version 8.0.0-preview.240123                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Fake.AspNetCore" Version="8.0.0-preview.240123" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Fake.AspNetCore --version 8.0.0-preview.240123                
#r "nuget: Fake.AspNetCore, 8.0.0-preview.240123"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Fake.AspNetCore as a Cake Addin
#addin nuget:?package=Fake.AspNetCore&version=8.0.0-preview.240123&prerelease

// Install Fake.AspNetCore as a Cake Tool
#tool nuget:?package=Fake.AspNetCore&version=8.0.0-preview.240123&prerelease                

介绍

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...

🐌基础能力

  • 模块化
  • 依赖注入
    • 自动注入
    • 属性注入
  • 权限系统
  • 审计日志
    • 请求审计
    • 方法审计
    • 实体审计
    • 实体变更审计
  • 本地化(多语言)
    • 本地文件系统
    • 远程动态数据
  • 文件系统
    • 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.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Fake.AspNetCore:

Package Downloads
Fake.AspNetCore.Grpc

Package Description

Fake.AspNetCore.Testing

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.0.0-preview.240123 95 1/23/2024