Fast.IaaS
3.5.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Fast.IaaS --version 3.5.1
NuGet\Install-Package Fast.IaaS -Version 3.5.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="Fast.IaaS" Version="3.5.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Fast.IaaS" Version="3.5.1" />
<PackageReference Include="Fast.IaaS" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Fast.IaaS --version 3.5.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Fast.IaaS, 3.5.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.
#addin nuget:?package=Fast.IaaS&version=3.5.1
#tool nuget:?package=Fast.IaaS&version=3.5.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
中 | En
Fast.NET(v3)
一个应用程序工具类(框架),您可以将它集成到任何 .NET
应用程序中。
技术选择
Fast.NET
v3 版本采用C#10
和.NET6
.NET7
.NET8
进行开发。
项目背景
过去 .NET
在国内并没有很好的开源环境和社区,随着国内使用 .NET
的程序猿越来越多,慢慢的国内的开源环境和社区也越来越好。
各种 .NET
开源框架,也应时代而生。
本人作为在 .NET
行业中从业 N年
的 小菜鸟
,也用过了很多开源的框架,所以想基于自己的工作经验和经历,为 .NET
开源做出一份小小的贡献。
安装
选择您需要的工具模块库进行安装。例如:
dotnet add package Fast.xxx
例子
按需引入使用~~~
using Fast.Cache;
using Fast.DependencyInjection;
using Fast.DynamicApplication;
using Fast.EventBus;
using Fast.JwtBearer;
using Fast.Logging;
using Fast.Mapster;
using Fast.NET.Core;
using Fast.Serialization;
using Fast.SqlSugar;
using Fast.Swagger;
using Fast.UnifyResult;
var builder = WebApplication.CreateBuilder(args);
// 初始化 框架
builder.Initialize();
// 添加日志服务
builder.Services.AddLoggingService(builder.Environment);
// 添加 Gzip 压缩
builder.Services.AddGzipCompression();
// 添加跨域服务
builder.Services.AddCorsAccessor();
// 添加 Mapster 服务
builder.Services.AddMapster();
// 添加序列化服务
builder.Services.AddSerialization();
// 添加依赖注入服务
builder.Services.AddDependencyInjection();
// 添加事件总线服务
builder.Services.AddEventBus();
// 添加 Redis 缓存服务
builder.Services.AddCache();
// 添加 JwtBearer 服务
builder.Services.AddJwtBearer(builder.Configuration);
// 添加 SqlSugar 服务
builder.Services.AddSqlSugar(builder.Configuration);
// Add controller.
builder.Services.AddControllers();
// 添加动态Api服务
builder.Services.AddDynamicApplication();
// 添加规范化返回服务
builder.Services.AddUnifyResult(builder.Configuration);
// 添加规范化文档服务
builder.Services.AddSwaggerDocuments(builder.Configuration);
var app = builder.Build();
// Mandatory Https.
app.UseHttpsRedirection();
app.UseStaticFiles();
// Enable backward reading.
app.EnableBuffering();
app.UseRouting();
app.MapControllers();
// 启用规范化文档
app.UseSwaggerDocuments();
app.Run();
文档
很抱歉,我正在努力中...
更新日志
更新日志 点击查看
详细功能(模块说明)
模块名称 | 状态 | 版本 | 说明 | 备注 |
---|---|---|---|---|
Fast.Cache | ✅ | Fast.NET 框架缓存模块库 | 一个在 .NET 行业中从业 N年 的 小菜鸟 常用的 Redis 缓存库,基于 CSRedisCore 封装 |
|
Fast.DependencyInjection | ✅ | Fast.NET 框架依赖注入模块库 | ||
Fast.DynamicApplication | ✅ | Fast.NET 框架动态Api模块库 | ||
Fast.EventBus | ✅ | Fast.NET 框架事件总线模块库 | ||
Fast.IaaS | ✅ | Fast.NET 框架基础设施模块库 | 一个在 .NET 行业中从业 N年 的 小菜鸟 常用的拓展工具类,亲自推荐,绝对好用!!! |
|
Fast.JwtBearer | ✅ | Fast.NET 框架 JwtBearer 模块库 | ||
Fast.Logging | ✅ | Fast.NET 框架日志模块库 | ||
Fast.Mapster | ✅ | Fast.NET 框架对象映射模块库 | 基于 Mapster 封装 | |
Fast.NET.Core | ✅ | Fast.NET 框架核心模块库 | 因 Fast.Core 已存在 Nuget 包,故改名 Fast.NET.Core | |
Fast.Runtime | ✅ | Fast.NET 框架 核心运行库 | ||
Fast.Serialization.Newtonsoft.Json | ✅ | Fast.NET 框架 Newtonsoft.Json 序列化模块库 | 基于 Newtonsoft.Json 封装 | |
Fast.Serialization.System.Text.Json | ✅ | Fast.NET 框架 System.Text.Json 序列化模块库 | 基于 System.Text.Json 封装 | |
Fast.SqlSugar | ⏳ | Fast.NET 框架SqlSugar模块库 | 基于 SqlSugar 封装 | |
Fast.Swagger | ✅ | Fast.NET 框架Swagger模块库 | ||
Fast.UnifyResult | ✅ | Fast.NET 框架RESTful风格统一返回模块库 |
近期计划
- [✅] 基础设施模块
- [✅] 核心模块
- [✅] 跨域处理模块
- [✅] 对象映射模块
- [✅] Redis缓存模块
- [✅] 序列化模块
- [✅] 依赖注入模块
- [✅] 动态API模块
- [✅] 规范化文档模块
- [✅] 规范化返回模块
- [✅] 日志模块
- [✅] 事件总线
- [⏳] SqlSugar
- [⚠️] ...
状态说明
图标 描述 ⚠️ 待定 ⏳ 进行中 ✅ 完成 💔 随时抛弃
协议
Fast.NET 遵循 Apache-2.0 开源协议,欢迎大家提交 PR
或 Issue
。
Apache开源许可证
版权所有 © 2018-Now 小方
许可授权:
本协议授予任何获得本软件及其相关文档(以下简称“软件”)副本的个人或组织。
在遵守本协议条款的前提下,享有使用、复制、修改、合并、发布、分发、再许可、销售软件副本的权利:
1.所有软件副本或主要部分必须保留本版权声明及本许可协议。
2.软件的使用、复制、修改或分发不得违反适用法律或侵犯他人合法权益。
3.修改或衍生作品须明确标注原作者及原软件出处。
特别声明:
- 本软件按“原样”提供,不提供任何形式的明示或暗示的保证,包括但不限于对适销性、适用性和非侵权的保证。
- 在任何情况下,作者或版权持有人均不对因使用或无法使用本软件导致的任何直接或间接损失的责任。
- 包括但不限于数据丢失、业务中断等情况。
免责条款:
禁止利用本软件从事危害国家安全、扰乱社会秩序或侵犯他人合法权益等违法活动。
对于基于本软件二次开发所引发的任何法律纠纷及责任,作者不承担任何责任。
由于目前还属于开发阶段,所有功能皆不是很稳定,所以暂且使用 Apache-2.0 开源协议。后续等所有功能都稳定后,会采用 MIT 开源协议。
团队成员
成员 | 技术 | 昵称 | 座右铭 |
---|---|---|---|
小方 | 全栈 | 1.8K仔 | 接受自己的平庸和普通,是成长的必修课 <br> 你羡慕的生活都是你没熬过的苦 <br> 当你的能力还撑不起你的野心时,你就需要静下心来 好好学习 |
编码环境
名称 | 备注 |
---|---|
Visual Studio 2022 | |
Visual Studio Code | |
Resharper | 您在代码中所看到的以 // ReSharper 开头的注释,就是此应用生成的为了避免一些不必要的警告或提示 |
免责申明
请勿用于违反我国法律的项目上
本框架可以说是在各位前辈的基础上继续进行造轮子,只是比市面上的一些框架会更简洁,更方便。更好用我不知道是否能相谈。
补充说明
如果对您有帮助,您可以点右上角 “Star” 收藏一下 ,获取第一时间更新,谢谢!
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.1
- No dependencies.
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Fast.IaaS:
Package | Downloads |
---|---|
Fast.Serialization
Fast.NET 框架序列化模块库。 |
|
Fast.CorsAccessor
Fast.NET 框架跨域处理模块库。 |
|
Fast.ApplicationCore
Fast.NET 框架Application核心模块库。 |
|
Fast.Consul
Fast.NET 框架Consul模块库。 |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.5.3 | 118 | 6/3/2025 |
3.5.2 | 132 | 5/22/2025 |
3.5.1 | 134 | 5/21/2025 |
3.5.0 | 375 | 5/2/2024 |
3.4.20 | 488 | 3/14/2024 |
3.4.19.7 | 609 | 3/6/2024 |
3.4.19.6 | 566 | 3/6/2024 |
3.4.19.5 | 604 | 2/28/2024 |
3.4.19.4 | 619 | 2/27/2024 |
3.4.19.3 | 672 | 2/26/2024 |
3.4.19.2 | 680 | 2/23/2024 |
3.4.19.1 | 645 | 2/23/2024 |
3.4.19 | 680 | 2/22/2024 |
3.4.18.18 | 827 | 2/2/2024 |
3.4.18.17 | 802 | 2/1/2024 |
3.4.18.16 | 829 | 2/1/2024 |
3.4.18.15 | 806 | 2/1/2024 |
3.4.18.14 | 795 | 2/1/2024 |
3.4.18.13 | 805 | 2/1/2024 |
3.4.18.12 | 815 | 2/1/2024 |
3.4.18.11 | 784 | 2/1/2024 |
3.4.18.10 | 763 | 1/31/2024 |
3.4.18.9 | 756 | 1/31/2024 |
3.4.18.8 | 819 | 1/31/2024 |
3.4.18.7 | 783 | 1/31/2024 |
3.4.18.6 | 811 | 1/30/2024 |
3.4.18.5 | 783 | 1/30/2024 |
3.4.18.4 | 769 | 1/30/2024 |
3.4.18.3 | 836 | 1/29/2024 |
3.4.18.2 | 808 | 1/29/2024 |
3.4.18.1 | 787 | 1/29/2024 |
3.4.18 | 796 | 1/27/2024 |
3.4.17.10 | 834 | 1/24/2024 |
3.4.17.9 | 811 | 1/24/2024 |
3.4.17.8 | 817 | 1/24/2024 |
3.4.17.7 | 838 | 1/23/2024 |
3.4.17.6 | 842 | 1/20/2024 |
3.4.17.5 | 822 | 1/20/2024 |
3.4.17.4 | 836 | 1/20/2024 |
3.4.17.3 | 839 | 1/20/2024 |
3.4.17.2 | 828 | 1/20/2024 |
3.4.17.1 | 839 | 1/18/2024 |
3.4.17 | 806 | 1/18/2024 |
3.4.16 | 831 | 1/17/2024 |
3.4.15 | 904 | 1/12/2024 |
3.4.14 | 888 | 1/12/2024 |
3.4.13 | 843 | 1/11/2024 |
3.4.12 | 861 | 1/10/2024 |
3.4.11.1 | 865 | 1/10/2024 |
3.4.11 | 871 | 1/10/2024 |
3.4.10.4 | 854 | 1/9/2024 |
3.4.10.3 | 862 | 1/9/2024 |
3.4.10.2 | 901 | 1/9/2024 |
3.4.10.1 | 862 | 1/9/2024 |
3.4.10 | 868 | 1/9/2024 |
3.4.9.1 | 936 | 1/8/2024 |
3.4.9 | 884 | 1/8/2024 |
3.4.8 | 869 | 1/6/2024 |
3.4.7.3 | 888 | 1/6/2024 |
3.4.7.2 | 788 | 1/6/2024 |
3.4.7.1 | 868 | 1/5/2024 |
3.4.7 | 871 | 1/5/2024 |
3.4.6.3 | 878 | 12/28/2023 |
3.4.6.2 | 894 | 12/27/2023 |
3.4.6.1 | 864 | 12/27/2023 |
3.4.6 | 796 | 12/26/2023 |
3.4.5 | 949 | 12/25/2023 |
3.4.4 | 881 | 12/25/2023 |
3.4.3 | 857 | 12/25/2023 |
3.4.2 | 976 | 12/19/2023 |
3.4.1 | 931 | 12/14/2023 |
3.4.0 | 960 | 12/7/2023 |
3.3.4 | 732 | 11/24/2023 |
3.3.3 | 764 | 11/22/2023 |
3.3.2 | 702 | 11/17/2023 |
3.3.1 | 724 | 11/16/2023 |
3.2.20 | 660 | 11/14/2023 |
3.2.19 | 737 | 11/14/2023 |
3.2.18 | 636 | 11/14/2023 |
3.2.17 | 672 | 11/13/2023 |
3.2.16 | 683 | 11/13/2023 |
3.2.15 | 712 | 11/13/2023 |
3.2.14 | 720 | 11/13/2023 |
3.2.13 | 742 | 11/12/2023 |
3.2.12 | 749 | 11/11/2023 |
3.2.11 | 776 | 11/2/2023 |
3.2.10 | 727 | 11/2/2023 |
3.2.9 | 761 | 11/2/2023 |
3.2.7 | 733 | 11/2/2023 |
3.2.6 | 759 | 11/2/2023 |
3.2.5 | 710 | 11/2/2023 |
3.2.4 | 781 | 11/1/2023 |
3.2.3 | 724 | 11/1/2023 |
3.2.2 | 748 | 11/1/2023 |
3.2.1 | 711 | 11/1/2023 |
3.2.0 | 741 | 11/1/2023 |
3.1.10 | 745 | 11/1/2023 |
3.1.9 | 773 | 11/1/2023 |
3.1.8 | 740 | 10/31/2023 |
3.1.7 | 801 | 10/31/2023 |
3.1.6 | 784 | 10/28/2023 |
3.1.5 | 759 | 10/28/2023 |
3.1.4 | 765 | 10/27/2023 |
3.1.3 | 776 | 10/27/2023 |
3.1.2 | 809 | 10/27/2023 |
3.1.1 | 729 | 10/27/2023 |
3.0.10-test.1.20231026.7 | 89 | 10/26/2023 |
3.0.10-test.1.20231026.6 | 90 | 10/26/2023 |
3.0.10-test.1.20231026.5 | 86 | 10/26/2023 |
3.0.10-test.1.20231026.4 | 85 | 10/26/2023 |
3.0.10-test.1.20231026.3 | 90 | 10/26/2023 |
3.0.10-test.1.20231026.2 | 84 | 10/26/2023 |
3.0.10-test.1.20231026.1 | 93 | 10/26/2023 |
3.0.10-test.1.20231025.4 | 89 | 10/25/2023 |
3.0.10-test.1.20231025.3 | 86 | 10/25/2023 |
3.0.10-test.1.20231025.2 | 90 | 10/25/2023 |
3.0.10-test.1.20231025.1 | 104 | 10/25/2023 |
3.0.9-test.1.20231024.1 | 97 | 10/25/2023 |
3.0.8 | 854 | 10/11/2023 |
3.0.8-test.1.20231016.1 | 90 | 10/16/2023 |
3.0.7 | 869 | 10/5/2023 |
3.0.6 | 882 | 10/4/2023 |
3.0.5 | 927 | 10/4/2023 |
3.0.4 | 773 | 10/4/2023 |
3.0.3 | 852 | 10/2/2023 |
3.0.2 | 830 | 9/25/2023 |
3.0.1 | 864 | 9/23/2023 |
3.0.0 | 811 | 9/23/2023 |