docs/README.md

(开头部分) 11KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

# DotNetCommon

#### 介绍
搜集.neter开发常用的功能,运行环境: net6.0; 

> QQ交流群:864844127

**主要包版本:**

|          包           |                             版本                             |                             下载                             | License                                                      |
| :-------------------: | :----------------------------------------------------------: | :----------------------------------------------------------: | ------------------------------------------------------------ |
|     DotNetCommon      | [![DotNetCommon](https://img.shields.io/nuget/v/DotNetCommon.svg?style=flat-square)](https://www.nuget.org/packages/DotNetCommon) | [![stats](https://img.shields.io/nuget/dt/DotNetCommon.svg?style=flat-square)](https://www.nuget.org/stats/packages/DotNetCommon?groupby=Version) | [![GitHub license](https://img.shields.io/badge/license-MIT-green)](https://gitee.com/jackletter/DotNetCommon/blob/master/LICENSE) |
|   DotNetCommon.Core   | [![DotNetCommon.Core](https://img.shields.io/nuget/v/DotNetCommon.Core.svg?style=flat-square)](https://www.nuget.org/packages/DotNetCommon.Core) | [![stats](https://img.shields.io/nuget/dt/DotNetCommon.Core.svg?style=flat-square)](https://www.nuget.org/stats/packages/DotNetCommon.Core?groupby=Version) | [![GitHub license](https://img.shields.io/badge/license-MIT-green)](https://gitee.com/jackletter/DotNetCommon/blob/master/LICENSE) |
|  DotNetCommon.PinYin  | [![DotNetCommon.PinYin](https://img.shields.io/nuget/v/DotNetCommon.PinYin.svg?style=flat-square)](https://www.nuget.org/packages/DotNetCommon.PinYin) | [![stats](https://img.shields.io/nuget/dt/DotNetCommon.PinYin.svg?style=flat-square)](https://www.nuget.org/stats/packages/DotNetCommon.PinYin?groupby=Version) | [![GitHub license](https://img.shields.io/badge/license-MIT-green)](https://gitee.com/jackletter/DotNetCommon/blob/master/LICENSE) |
| DotNetCommon.Compress | [![DotNetCommon.Compress](https://img.shields.io/nuget/v/DotNetCommon.Compress.svg?style=flat-square)](https://www.nuget.org/packages/DotNetCommon.Compress) | [![stats](https://img.shields.io/nuget/dt/DotNetCommon.Compress.svg?style=flat-square)](https://www.nuget.org/stats/packages/DotNetCommon.Compress?groupby=Version) | [![GitHub license](https://img.shields.io/badge/license-MIT-green)](https://gitee.com/jackletter/DotNetCommon/blob/master/LICENSE) |

**注意:**

- **从 4.0 后移除了对`Newtonsoft.Json`的依赖,这样`DotNetCommon.Core`将不依赖任何三方包;**

**整体关系如下图:**

![image-20221101092958287](./imgs/image-20221101092958287.png)



> 说明:
>
> 1. DotNetCommon包 具有所有功能,引用了其他的各个功能包;
>
> 2. DotNeCommon.Core 是核心包,在 `https://github.com/NimaAra/Easy.Common`基础上扩充而成,从DotNetCommon.Core4.0.0开始移除了对Newtonsoft.Json的依赖,之后将不再依赖任何三方包;
>
> 3. DotNetCommon.PinYin 是汉字转拼音包,从`https://github.com/toolgood/ToolGood.Words.Pinyin`搬运;
>
> 4. DotNetCommon.Window.Registry 是操作window注册表,里面就一个`RegistryHelper.cs`;
>
> 5. DotNetCommon.VerfiyCode 是生成验证码的,从 [csdn博文:SkiaSharp 生成验证码 .net6 生成验证码](https://blog.csdn.net/mjkmjk485485/article/details/125602744) 处搬运;
>
>    .net6平台下,System.Drawing.Common包已被标记为Window平台下专用,所以此功能依赖`SkiaSharp`,这个包是跨平台的,微软在维护。
>
> 6. DotNetCommon.Compress是压缩/解压缩的,里面就一个 `CompressHelper.cs`;



## 功能列表
1. 通用数据模型;
2. 通用树状结构&平铺数据的访问;
3. 通用身份认证模型;
4. 通用数据类型转换之Object.To方法;
5. 通用Dto间转换之Object.Mapper扩展;
6. 递归篡改对象的属性值之Modify扩展;
7. 将Dto属性投影到Entity之ModifyByDto扩展;
8. 校验框架;
9. 分布式id&分布式流水号;
10. 编码和加解密;
11. 序列化;
12. 汉字转拼音;
13. 压缩&解压缩;
14. 注册表;
15. 验证码生成;
后面还有 258 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。