wiki.php 用Markdown写wiki是一种什么样的体验?

常用.NET类库.md

最后更新于 2019-10-06 15:00:14

此处以后不再更新,请您移步至 https://blog.clso.fun/dot-net-libs.html 查阅新内容!
有建议及推荐可以去上面的网页留言投稿。
捐助作者: https://clso.fun/donate/


SharpCompress [推荐]

纯C#编码的开源类库,支持对ZIP、RAR、7Z、Tar等文档的解压,只能运行在 .NET 3.5 以上版本
有限支持ZIP、Tar等压缩格式,不支持压缩为7Z格式
https://github.com/adamhathcock/sharpcompress
https://www.nuget.org/packages/SharpCompress/

SharpZipLib

纯C#编码的开源ZIP文档压缩与解压类库
https://icsharpcode.github.io/SharpZipLib/

SevenZipSharp

一款对于 7z.dll 进行的.NET封装,用于解压缩7z格式文件
https://sevenzipsharp.codeplex.com/

UnRAR

WinRAR 官方提供的对于RAR文件的解压库,内含C#、VB.NET的解压源码示例,基本上也就是一个对 unrar.dll 的封装
特点是API接口稳定,更新时只需要替换一个新版本的 unrar.dll 就可以了
https://www.rarlab.com/rar_add.htm

Json .NET

效率很高,使用很方便的JSON序列化类库
https://www.newtonsoft.com/json
https://www.nuget.org/packages/Newtonsoft.Json/

FastJSON

另一个JSON序列化的选择
https://github.com/mgholam/fastJSON
https://www.codeproject.com/Articles/159450/fastJSON
https://www.nuget.org/packages/fastJSON

HtmlAgilityPack

HtmlAgilityPack 是一款开源的HTML解析组件,其优点是可以自动修复未闭包的HTML标签,解析速度快,采用的是XPath方式定位元素
Nuget - https://www.nuget.org/packages/HtmlAgilityPack
XPath 教程 - http://zvon.org/xxl/XPathTutorial/General_chi/examples.html

Fizzler

HtmlAgilityPack 的扩展类,可以采用CSS查询方式来选取元素
https://github.com/atifaziz/Fizzler
https://www.nuget.org/packages/Fizzler.Systems.HtmlAgilityPack/

LibWebP-NET

在.NET中解析和保存WebP格式图片
LibWebP-NET - https://github.com/imazen/libwebp-net
我的教程 - https://www.cnblogs.com/clso/p/5331899.html
我优化过的类库文件 - https://files.cnblogs.com/files/clso/LibWebP-NET.zip

CefSharp

在.NET中封装一个谷歌 Chromium 浏览器,抛弃辣鸡的IE核心
官方 - https://github.com/cefsharp/CefSharp
教程 - https://www.cnblogs.com/huangkaiyan10/p/4162666.html

Lucene .Net

基于文件的数据索引服务,可用作搜索引擎
从Java源码改编而来(不过目前这个项目基本是死了)
3.0版与2.9版很多接口都改变了,如果你想要使用,我个人还是建议使用2.9版的
官网 - https://lucenenet.apache.org/
下载 - https://github.com/apache/lucenenet/releases

SQLite .Net

大名鼎鼎的文件数据库,比 Access 高不知道哪里去
官网 - https://system.data.sqlite.org/index.html/doc/trunk/www/index.wiki
下载 - https://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki

NAudio

NAudio 是一款.NET环境下的源生音频处理库,非常强大
https://github.com/naudio/NAudio

Pinyin4Net

可以将汉字转换为汉语拼音
https://git.oschina.net/hyjiacan/Pinyin4Net

ZXing .NET

基于 ZXing 项目的二维码生成、读取类库
官网 - https://github.com/micjahn/ZXing.Net
nuget - https://www.nuget.org/packages/ZXing.Net/
示例 - https://www.cnblogs.com/clso/p/6391941.html

UTF-unknown

一个文本编码识别类库,可以智能识别文本的原始编码,仅支持 .NET 4+ 以上
https://github.com/CharsetDetector/UTF-unknown

OpenCC (Open Chinese Convert 開放中文轉換)

用于繁简转换的开源项目,更具有本地化的繁简转换功能
https://github.com/BYVoid/OpenCC

Unirest-NET

一个轻量级的 HTTP 请求库, .NET 4+
http://unirest.io/net
https://www.nuget.org/packages/Unirest-API/