.NET 无商业,无授权开源框架 Furion v3.8.4 发布

先知 / Furion (探索版)

一个应用程序框架,您可以将它集成到任何 .NET/C# 应用程序中。

An application framework that you can integrate into any .NET/C# application.

安装 / Installation

Install-Package Furion
dotnet add package Furion

例子 / Examples

我们在主页上有不少例子,这是让您入门的第一个:

We have several examples on the website. Here is the first one to get you started:

Serve.Run();

[DynamicApiController]
public class HelloService
{
    public string Say() => "Hello, Furion";
}
 

打开浏览器访问 https://localhost:5001  http://localhost:5000

Open browser access https://localhost:5001 or http://localhost:5000.

文档 / Documentation

您可以在主页备份主页找到 Furion 文档。

You can find the Furion documentation on the website or on the backup website.

贡献 / Contributing

该存储库的主要目的是继续发展 Furion 核心,使其更快、更易于使用。 Furion 的开发在 Gitee 上公开进行,我们感谢社区贡献错误修复和改进。

阅读贡献指南内容,了解如何参与改进 Furion。

The main purpose of this repository is to continue evolving Furion core, making it faster and easier to use. Development of Furion happens in the open on Gitee, and we are grateful to the community for contributing bugfixes and improvements.

Read contribution documents to learn how you can take part in improving Furion.

许可证 / License

Furion 采用 MulanPSL-2.0 开源许可证。

Furion uses the MulanPSL-2.0 open source license.

Copyright (c) 2020-2022 百小僧, Baiqian Co.,Ltd.
Furion is licensed under Mulan PSL v2.
You can use this software according to the terms andconditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
            https://gitee.com/dotnetchina/Furion/blob/master/LICENSE
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUTWARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED,INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.

框架特色 / Feature

  • 木兰宽松开源协议,无需商业授权
  • 基于 .NET5/6 平台,没有历史包袱
  • 极少依赖,只依赖两个第三方包
  • 极速上手,一个 Inject() 完成配置
  • 代码无侵入性,100% 兼容原生写法

项目仓库 / Repository

本期更新 / Upgrade

  • 新特性

    • [新增] 规范化结果 ExceptionMetadata  ValidationMetadata 都可以获取 ErrorCode 属性 #I5GJ6D
    • [新增] 远程请求对 Url 是否编码设置,[Get(WithEncodeUrl = false)]  WithEncodeUrl(false) #I5GOBC
    • [新增] 更强大的 JWTEncryption.SecurityReadJwtToken('token') 读取解析 Token 静态方法 574eeb6
  • 突破性变化

    • [新增] 升级所有 .NET 依赖包至 6.0.7 版本
    • [重构] JWT Token 刷新逻辑 #I5GXML 574eeb6
  • 问题修复

    • [修复] Rider 开发工具对同名脚手架 (EFCore  SqlSugar) 只显示一个问题 !518
    • [修复] UnitOfWork 工作单元在 EFCore 中失效问题 #I5H0T3
    • [修复] JWT  Token 如果存在数组类型的值时,刷新 Token 后丢失了历史值 #I5GXML
    • [修复] 远程请求 WithEncodeUrl 无法在 [HttpMethod] 设置问题 574eeb6
    • [修复] Serve.Run() 模式下添加自定义配置导致 EFCore 无法获取自定义配置文件问题 #I5GZ0F
    • [修复] Oops.Bah 进入全局异常拦截器问题 #I5H47S
    • [修复] AddDbPool/AddDb 扩展未根据配置 Key 路径读取问题 #I5H6S4 !520
  • 其他更改

    • [调整] 多语言默认处理逻辑,允许不配置任何语言,过去版本会报错 #I5GRD9 5077c5d
    • [改进] 规范化文档 Swagger 性能
    • [调整] 调整 MongoDB 仓储 TDocument 泛型约束 3f49055
  • 文档

    • [更新] 远程请求文档,日志记录文档

猜你喜欢

转载自www.oschina.net/news/202968