|
| 1 | +# Bing.NetCore |
| 2 | +[](https://mit-license.org/) |
| 3 | +[](https://ci.appveyor.com/project/bing-framework/Bing.NetCore) |
| 4 | +[](https://travis-ci.org/bing-framework/Bing.NetCore) |
| 5 | + |
| 6 | +Bing是一个基于`.net core`平台下的应用框架,旨在提升小型团队的开发输出能力,由常用公共操作类(工具类、帮助类)、分层架构基类,第三方组件封装,第三方业务接口封装等组成。 |
| 7 | + |
| 8 | +## Nuget Packages |
| 9 | + |
| 10 | +|包名称|Nuget版本|下载数| |
| 11 | +|---|---|---| |
| 12 | +|Bing.Utils|[](https://www.nuget.org/packages/Bing.Utils/)|[](https://www.nuget.org/packages/Bing.Utils/)| |
| 13 | +|Bing.Utils.DateTime|[](https://www.nuget.org/packages/Bing.Utils.DateTime/)|[](https://www.nuget.org/packages/Bing.Utils.DateTime/)| |
| 14 | +|Bing.Utils.Drawing|[](https://www.nuget.org/packages/Bing.Utils.Drawing/)|[](https://www.nuget.org/packages/Bing.Utils.Drawing/)| |
| 15 | +|Bing.Utils.Http|[](https://www.nuget.org/packages/Bing.Utils.Http/)|[](https://www.nuget.org/packages/Bing.Utils.Http/)| |
| 16 | +|Bing.Core|[](https://www.nuget.org/packages/Bing.Core/)|[](https://www.nuget.org/packages/Bing.Core/)| |
| 17 | +|Bing.AspNetCore|[](https://www.nuget.org/packages/Bing.AspNetCore/)|[](https://www.nuget.org/packages/Bing.AspNetCore/)| |
| 18 | +|Bing.AspNetCore.Mvc|[](https://www.nuget.org/packages/Bing.AspNetCore.Mvc/)|[](https://www.nuget.org/packages/Bing.AspNetCore.Mvc/)| |
| 19 | +|Bing.AspNetCore.Mvc.Contracts|[](https://www.nuget.org/packages/Bing.AspNetCore.Mvc.Contracts/)|[](https://www.nuget.org/packages/Bing.AspNetCore.Mvc.Contracts/)| |
| 20 | +|Bing.AspNetCore.Mvc.UI|[](https://www.nuget.org/packages/Bing.AspNetCore.Mvc.UI/)|[](https://www.nuget.org/packages/Bing.AspNetCore.Mvc.UI/)| |
| 21 | +|Bing.Security|[](https://www.nuget.org/packages/Bing.Security/)|[](https://www.nuget.org/packages/Bing.Security/)| |
| 22 | +|Bing.Permissions|[](https://www.nuget.org/packages/Bing.Permissions/)|[](https://www.nuget.org/packages/Bing.Permissions/)| |
| 23 | +|Bing.Logs|[](https://www.nuget.org/packages/Bing.Logs/)|[](https://www.nuget.org/packages/Bing.Logs/)| |
| 24 | +|Bing.Logs.Exceptionless|[](https://www.nuget.org/packages/Bing.Logs.Exceptionless/)|[](https://www.nuget.org/packages/Bing.Logs.Exceptionless/)| |
| 25 | +|Bing.Logs.Log4Net|[](https://www.nuget.org/packages/Bing.Logs.Log4Net/)|[](https://www.nuget.org/packages/Bing.Logs.Log4Net/)| |
| 26 | +|Bing.Logs.NLog|[](https://www.nuget.org/packages/Bing.Logs.NLog/)|[](https://www.nuget.org/packages/Bing.Logs.NLog/)| |
| 27 | +|Bing.Logs.Serilog|[](https://www.nuget.org/packages/Bing.Logs.Serilog/)|[](https://www.nuget.org/packages/Bing.Logs.Serilog/)| |
| 28 | +|Bing.Data|[](https://www.nuget.org/packages/Bing.Data/)|[](https://www.nuget.org/packages/Bing.Data/)| |
| 29 | +|Bing.Auditing|[](https://www.nuget.org/packages/Bing.Auditing/)|[](https://www.nuget.org/packages/Bing.Auditing/)| |
| 30 | +|Bing.Ddd.Domain|[](https://www.nuget.org/packages/Bing.Ddd.Domain/)|[](https://www.nuget.org/packages/Bing.Ddd.Domain/)| |
| 31 | +|Bing.Ddd.Application.Contracts|[](https://www.nuget.org/packages/Bing.Ddd.Application.Contracts/)|[](https://www.nuget.org/packages/Bing.Ddd.Application.Contracts/)| |
| 32 | +|Bing.Ddd.Application|[](https://www.nuget.org/packages/Bing.Ddd.Application/)|[](https://www.nuget.org/packages/Bing.Ddd.Application/)| |
| 33 | +|Bing.Data.Sql|[](https://www.nuget.org/packages/Bing.Data.Sql/)|[](https://www.nuget.org/packages/Bing.Data.Sql/)| |
| 34 | +|Bing.Datas.Dapper|[](https://www.nuget.org/packages/Bing.Datas.Dapper/)|[](https://www.nuget.org/packages/Bing.Datas.Dapper/)| |
| 35 | +|Bing.EntityFrameworkCore|[](https://www.nuget.org/packages/Bing.EntityFrameworkCore/)|[](https://www.nuget.org/packages/Bing.EntityFrameworkCore/)| |
| 36 | +|Bing.EntityFrameworkCore.MySql|[](https://www.nuget.org/packages/Bing.EntityFrameworkCore.MySql/)|[](https://www.nuget.org/packages/Bing.EntityFrameworkCore.MySql/)| |
| 37 | +|Bing.EntityFrameworkCore.PostgreSql|[](https://www.nuget.org/packages/Bing.EntityFrameworkCore.PostgreSql/)|[](https://www.nuget.org/packages/Bing.EntityFrameworkCore.PostgreSql/)| |
| 38 | +|Bing.EntityFrameworkCore.SqlServer|[](https://www.nuget.org/packages/Bing.EntityFrameworkCore.SqlServer/)|[](https://www.nuget.org/packages/Bing.EntityFrameworkCore.SqlServer/)| |
| 39 | +|Bing.Events|[](https://www.nuget.org/packages/Bing.Events/)|[](https://www.nuget.org/packages/Bing.Events/)| |
| 40 | +|Bing.AutoMapper|[](https://www.nuget.org/packages/Bing.AutoMapper/)|[](https://www.nuget.org/packages/Bing.AutoMapper/)| |
| 41 | +|Bing.Biz|[](https://www.nuget.org/packages/Bing.Biz/)|[](https://www.nuget.org/packages/Bing.Biz/)| |
| 42 | +|Bing.Biz.Payments|[](https://www.nuget.org/packages/Bing.Biz.Payments/)|[](https://www.nuget.org/packages/Bing.Biz.Payments/)| |
| 43 | +|Bing.Emailing|[](https://www.nuget.org/packages/Bing.Emailing/)|[](https://www.nuget.org/packages/Bing.Emailing/)| |
| 44 | +|Bing.MailKit|[](https://www.nuget.org/packages/Bing.MailKit/)|[](https://www.nuget.org/packages/Bing.MailKit/)| |
| 45 | +|Bing.EasyCaching|[](https://www.nuget.org/packages/Bing.EasyCaching/)|[](https://www.nuget.org/packages/Bing.EasyCaching/)| |
| 46 | +|Bing.Caching.CSRedis|[](https://www.nuget.org/packages/Bing.Caching.CSRedis/)|[](https://www.nuget.org/packages/Bing.Caching.CSRedis/)| |
| 47 | + |
| 48 | +## 开发环境以及类库依赖 |
| 49 | + |
| 50 | +以下是我们在项目开发和部署时使用的工具和组件,这个列表会经常更新。 |
| 51 | + |
| 52 | +> 如果没有标注版本号,则采用最新版本。 |
| 53 | +
|
| 54 | +1. 开发工具 |
| 55 | + - [Visual Studio 2019](https://visualstudio.microsoft.com/zh-hans/vs/) |
| 56 | + - [Resharper Ultimate](https://www.jetbrains.com/resharper/) |
| 57 | + |
| 58 | +2. 数据库 |
| 59 | + - Sql Server |
| 60 | + - Mysql |
| 61 | + - PostgreSQL |
| 62 | + |
| 63 | +3. 设计工具 |
| 64 | + - PowerDesigner 16.5 |
| 65 | + - XMind |
| 66 | + |
| 67 | +4. 版本控制 |
| 68 | + - Git |
| 69 | + |
| 70 | +5. 部署环境 |
| 71 | + - Windows Server |
| 72 | + - Ubuntu Server |
| 73 | + - Docker |
| 74 | + |
| 75 | +6. `SDK`以及`Runtime` |
| 76 | + - 当前SDK 64位版本:[SDK v2.2.401](https://dotnet.microsoft.com/download/thank-you/dotnet-sdk-2.2.401-windows-x64-installer),开发机器安装 |
| 77 | + - 当前Runtime 64位版本:[Runtime v2.2.6](https://dotnet.microsoft.com/download/thank-you/dotnet-runtime-2.2.6-windows-hosting-bundle-installer),服务器安装 |
| 78 | + |
| 79 | +7. 单元测试以及模拟框架 |
| 80 | + - XUnit |
| 81 | + - NSubstitute |
| 82 | + |
| 83 | +8. ORM |
| 84 | + - [EntityFrameworkCore](https://github.com/aspnet/EntityFrameworkCore) |
| 85 | + - Microsoft.EntityFrameworkCore.Relational |
| 86 | + - Microsoft.EntityFrameworkCore.SqlServer |
| 87 | + - [Pomelo.EntityFrameworkCore.MySql](https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql) |
| 88 | + - [NPostgreSql.EntityFrameworkCore.PostgreSQL](https://github.com/nPostgreSql/NPostgreSql.EntityFrameworkCore.PostgreSQL) |
| 89 | + - Microsoft.EntityFrameworkCore.Sqlite |
| 90 | + - [Dapper](https://github.com/StackExchange/Dapper) |
| 91 | + |
| 92 | +9. Ioc 框架 |
| 93 | + - MSDI(默认DI框架) |
| 94 | + - [Autofac](https://github.com/autofac/Autofac) |
| 95 | + |
| 96 | +10. Aop 框架 |
| 97 | + - [AspectCore](https://github.com/dotnetcore/AspectCore-Framework) |
| 98 | + |
| 99 | +11. Json框架 |
| 100 | + - [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json)(即Json.Net) |
| 101 | + |
| 102 | +12. 映射框架 |
| 103 | + - [AutoMapper](https://github.com/AutoMapper/AutoMapper) |
| 104 | + |
| 105 | +13. 日志框架 |
| 106 | + - [NLog](http://nlog-project.org/) |
| 107 | + - log4net |
| 108 | + - [Exceptionless](https://github.com/exceptionless) |
| 109 | + - [Serilog](https://github.com/serilog/serilog-aspnetcore) |
| 110 | + |
| 111 | +14. Queryable 动态扩展 |
| 112 | + - [System.Linq.Dynamic.Core](https://github.com/StefH/System.Linq.Dynamic.Core) |
| 113 | + |
| 114 | +15. 缓存框架 |
| 115 | + - [EasyCaching](https://github.com/dotnetcore/EasyCaching) |
| 116 | + |
| 117 | +16. 事件总线 |
| 118 | + - [CAP](https://github.com/dotnetcore/CAP) |
| 119 | + |
| 120 | +17. Web 框架 |
| 121 | + - [ASP.NET Core](https://docs.microsoft.com/zh-cn/aspnet/core/) |
| 122 | + |
| 123 | +18. 参考应用框架 |
| 124 | + - [ABP](https://github.com/aspnetboilerplate/aspnetboilerplate) |
| 125 | + - [Nop](https://www.nopcommerce.com) |
| 126 | + - Nop是一个开源商城,封装了大量实用的基础代码。 |
| 127 | + - [Util](https://github.com/dotnetcore/util) |
| 128 | + - 使用 .net core 可使用该框架。 |
| 129 | + - [Cosmos](https://github.com/cosmos-loops) |
| 130 | + |
| 131 | +## 框架开发流程 |
| 132 | + |
| 133 | + > *搜集* - *整理* - *集成* - *封装* |
| 134 | +
|
| 135 | +## 作者 |
| 136 | + |
| 137 | +简玄冰 |
| 138 | + |
| 139 | +## 贡献与反馈 |
| 140 | + |
| 141 | +> 如果你在阅读或使用Bing中任意一个代码片断时发现Bug,或有更佳实现方式,请通知我们。 |
| 142 | +
|
| 143 | +> 为了保持代码简单,目前很多功能只建立了基本结构,细节特性未进行迁移,在后续需要时进行添加,如果你发现某个类无法满足你的需求,请通知我们。 |
| 144 | +
|
| 145 | +> 你可以通过github的Issue或Pull Request向我们提交问题和代码,如果你更喜欢使用QQ进行交流,请加入我们的交流QQ群。 |
| 146 | +
|
| 147 | +> 对于你提交的代码,如果我们决定采纳,可能会进行相应重构,以统一代码风格。 |
| 148 | +
|
| 149 | +> 对于热心的同学,将会把你的名字放到**贡献者**名单中。 |
| 150 | +
|
| 151 | +## 免责声明 |
| 152 | +- 虽然我们对代码已经进行高度审查,并用于自己的项目中,但依然可能存在某些未知的BUG,如果你的生产系统蒙受损失,Bing 团队不会对此负责。 |
| 153 | +- 出于成本的考虑,我们不会对已发布的API保持兼容,每当更新代码时,请注意该问题。 |
| 154 | + |
| 155 | +## 开源地址 |
| 156 | +[https://github.com/bing-framework/Bing.NetCore](https://github.com/bing-framework/Bing.NetCore) |
| 157 | + |
| 158 | +## License |
| 159 | + |
| 160 | +**MIT** |
| 161 | + |
| 162 | +> 这意味着你可以在任意场景下使用 Bing 应用框架而不会有人找你要钱。 |
| 163 | +
|
| 164 | +> Bing 会尽量引入开源免费的第三方技术框架,如有意外,还请自行了解。 |
| 165 | +
|
| 166 | +## 致谢 |
| 167 | + |
| 168 | +- [JetBrains Open Source](https://www.jetbrains.com/zh-cn/opensource/?from=bing-framework) 为项目提供免费的 IDE 授权 |
| 169 | + [<img src="https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.png" width="200"/>](https://www.jetbrains.com/opensource/) |
0 commit comments