Furion.Localization 5.0.0-preview.1.20230630.1

This is a prerelease version of Furion.Localization.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Furion.Localization --version 5.0.0-preview.1.20230630.1                
NuGet\Install-Package Furion.Localization -Version 5.0.0-preview.1.20230630.1                
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="Furion.Localization" Version="5.0.0-preview.1.20230630.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Furion.Localization --version 5.0.0-preview.1.20230630.1                
#r "nuget: Furion.Localization, 5.0.0-preview.1.20230630.1"                
#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 Furion.Localization as a Cake Addin
#addin nuget:?package=Furion.Localization&version=5.0.0-preview.1.20230630.1&prerelease

// Install Furion.Localization as a Cake Tool
#tool nuget:?package=Furion.Localization&version=5.0.0-preview.1.20230630.1&prerelease                

先知

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


开发背景

当前的 Furion v4 版本已经变得成熟且稳定,但仍存在以下问题:

  • 早期开发进展迅速,很多代码存在仓促上线的情况,缺乏充分思考和考虑
  • 所有模块都包含在一个项目中,无法按需加载和安装
  • 过度使用静态类和静态内存存储,不利于进行单元测试和数据隔离
  • 对于 .NET Core 的掌握程度有限,导致历史代码臃肿且高度耦合
  • 代码架构和设计模式缺乏统一性,可以说是一个杂烩
  • 在早期对用户需求掌握不足,导致后期不断打补丁来进行改进,稍有改动就可能引发破坏性的修改
  • 模块、类型、属性、方法、属性等命名混乱,很难从字面上理解其功能含义
  • 框架示例混乱,用户只能自行摸索最佳实践
  • 虽有单元测试,但是非常混乱

框架技术

Furion v5 版本采用 C# 12 和 .NET 8 进行开发。

开发指导

  • 实现完全无第三方依赖(除微软官方提供外)
  • 实现彻底模块化,每个模块都是独立的项目
  • 每个模块的单元测试覆盖率要达到 92%以上
  • 确保每个类型、属性、字段、方法都有详细的注释
  • 尽可能避免使用静态内存存储
  • 所有模块都采用上下文和构建器模式进行设计
  • 所有模块都采用依赖注入/控制反转的设计模式
  • 尽可能为每个模块提供看板功能
  • 提供所有模块最佳实践示例

模块状态

模块名称 状态 单元测试 文档
Furion.Core ⚠️
Furion.DependencyInjection ⚠️
Furion.DependencyInjection.Named ⚠️
Furion.Component.AspNetCore ⚠️
Furion.Component ⚠️
Furion.Component.AspNetCore ⚠️
Furion.Component.Hosting ⚠️
Furion.Configuration ⚠️
Furion.Configuration.ManifestResource ⚠️

状态说明

图标 描述
⚠️ 待定
进行中
完成
💔 随时抛弃
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 (1)

Showing the top 1 NuGet packages that depend on Furion.Localization:

Package Downloads
Furion.Localization.AspNetCore

Furion 框架本地化模块。

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
5.0.0-preview.1.20240813.1 55 8/13/2024
5.0.0-preview.1.20231116.1 174 11/16/2023
5.0.0-preview.1.20230826.1 88 8/25/2023
5.0.0-preview.1.20230824.1 79 8/23/2023
5.0.0-preview.1.20230822.1 74 8/21/2023
5.0.0-preview.1.20230805.2 84 8/5/2023
5.0.0-preview.1.20230805.1 85 8/4/2023
5.0.0-preview.1.20230804.2 82 8/4/2023
5.0.0-preview.1.20230804.1 88 8/3/2023
5.0.0-preview.1.20230801.1 83 8/1/2023
5.0.0-preview.1.20230731.4 85 7/31/2023
5.0.0-preview.1.20230731.3 83 7/31/2023
5.0.0-preview.1.20230731.2 80 7/30/2023
5.0.0-preview.1.20230731.1 84 7/30/2023
5.0.0-preview.1.20230730.1 82 7/29/2023
5.0.0-preview.1.20230729.1 81 7/28/2023
5.0.0-preview.1.20230728.2 84 7/28/2023
5.0.0-preview.1.20230728.1 83 7/27/2023
5.0.0-preview.1.20230727.1 78 7/27/2023
5.0.0-preview.1.20230726.1 82 7/26/2023
5.0.0-preview.1.20230724.1 90 7/24/2023
5.0.0-preview.1.20230722.1 90 7/21/2023
5.0.0-preview.1.20230720.4 78 7/20/2023
5.0.0-preview.1.20230720.1 85 7/19/2023
5.0.0-preview.1.20230719.1 81 7/18/2023
5.0.0-preview.1.20230718.4 82 7/18/2023
5.0.0-preview.1.20230718.3 81 7/18/2023
5.0.0-preview.1.20230718.2 81 7/18/2023
5.0.0-preview.1.20230718.1 77 7/17/2023
5.0.0-preview.1.20230717.1 82 7/16/2023
5.0.0-preview.1.20230716.1 84 7/15/2023
5.0.0-preview.1.20230715.1 85 7/14/2023
5.0.0-preview.1.20230713.1 78 7/12/2023
5.0.0-preview.1.20230711.1 81 7/11/2023
5.0.0-preview.1.20230710.1 80 7/10/2023
5.0.0-preview.1.20230707.2 89 7/7/2023
5.0.0-preview.1.20230707.1 80 7/6/2023
5.0.0-preview.1.20230704.1 80 7/3/2023
5.0.0-preview.1.20230701.3 84 7/2/2023
5.0.0-preview.1.20230701.2 90 6/30/2023
5.0.0-preview.1.20230701.1 77 6/30/2023
5.0.0-preview.1.20230630.1 74 6/29/2023
5.0.0-preview.1.20230621.8 81 6/20/2023
5.0.0-preview.1.20230620.32 76 6/20/2023
5.0.0-preview.1.20230620.30 76 6/20/2023