StackExchange.Redis 1.2.6
High performance Redis client, incorporating both synchronous and asynchronous usage.
Showing the top 20 packages that depend on StackExchange.Redis.
| Packages | Downloads |
|---|---|
|
Masuit.Tools.Core
包含一些常用的操作类,大都是静态类,加密解密,反射操作,硬件信息,字符串扩展方法,日期时间扩展操作,大文件拷贝,图像裁剪,html处理,验证码、NoSql等常用封装。
示例代码:
1.检验字符串是否是Email
bool isEmail="1170397736@qq.com".MatchEmail();
2.获取CPU核心数
int core = SystemInfo.GetCpuCount();
3.大文件操作
FileStream fs = new FileStream(@"D:\boot.vmdk", FileMode.OpenOrCreate, FileAccess.ReadWrite);
{
//fs.CopyToFile(@"D:\1.bak");//同步复制大文件
fs.CopyToFileAsync(@"D:\1.bak");//异步复制大文件
string md5 = fs.GetFileMD5Async().Result;//异步获取文件的MD5
}
4.html的防XSS处理:
string html = @"<link href="/Content/font-awesome/css" rel="stylesheet" /><!--[if IE 7]>
<link href='/Content/font-awesome-ie7.min.css' rel='stylesheet'/>
<![endif]--><script src="/Scripts/modernizr"></script><div id="searchBox" role="search"><form action="/packages" method="get"><span class="user-actions"><a href="/users/account/LogOff">退出</a></span><input name="q" id="searchBoxInput" /><input id="searchBoxSubmit" type="submit" value="Submit" /></form></div>";
string s = html.HtmlSantinizerStandard();//清理后:<div><span><a href="/users/account/LogOff">退出</a></span></div>
5.整理操作系统的内存:
Windows.ClearMemorySilent();
......
|
1 |
.NET Framework 4.5
- No dependencies.
.NET Framework 4.6
- No dependencies.
.NET Standard 1.5
- NETStandard.Library (>= 1.6.1)
- System.Collections (>= 4.3.0)
- System.Collections.Concurrent (>= 4.3.0)
- System.Collections.NonGeneric (>= 4.3.0)
- System.Diagnostics.Tools (>= 4.3.0)
- System.IO.Compression (>= 4.3.0)
- System.IO.FileSystem (>= 4.3.0)
- System.Linq (>= 4.3.0)
- System.Net.NameResolution (>= 4.3.0)
- System.Net.Security (>= 4.3.0)
- System.Net.Sockets (>= 4.3.0)
- System.Reflection.Emit (>= 4.3.0)
- System.Reflection.Emit.Lightweight (>= 4.3.0)
- System.Reflection.TypeExtensions (>= 4.3.0)
- System.Runtime.Extensions (>= 4.3.0)
- System.Runtime.InteropServices.RuntimeInformation (>= 4.3.0)
- System.Security.Cryptography.Algorithms (>= 4.3.0)
- System.Security.Cryptography.X509Certificates (>= 4.3.0)
- System.Text.RegularExpressions (>= 4.3.0)
- System.Threading (>= 4.3.0)
- System.Threading.Thread (>= 4.3.0)
- System.Threading.ThreadPool (>= 4.3.0)
- System.Threading.Timer (>= 4.3.0)
| Version | Downloads | Last updated |
|---|---|---|
| 2.10.1 | 0 | 11/06/2025 |
| 2.9.32 | 0 | 10/13/2025 |
| 2.9.25 | 1 | 01/19/2026 |
| 2.9.17 | 0 | 09/10/2025 |
| 2.9.11 | 0 | 08/19/2025 |
| 2.8.58 | 0 | 07/21/2025 |
| 2.8.47 | 0 | 07/19/2025 |
| 2.8.41 | 0 | 06/10/2025 |
| 2.8.37 | 0 | 05/06/2025 |
| 2.8.31 | 1 | 01/19/2026 |
| 2.8.24 | 0 | 12/18/2024 |
| 2.8.22 | 0 | 11/27/2024 |
| 2.8.16 | 1 | 01/19/2026 |
| 2.8.14 | 0 | 09/09/2024 |
| 2.8.12 | 0 | 09/03/2024 |
| 2.8.0 | 0 | 06/24/2024 |
| 2.7.33 | 0 | 03/11/2024 |
| 2.7.27 | 0 | 02/28/2024 |
| 2.7.23 | 0 | 02/26/2024 |
| 2.7.20 | 0 | 02/20/2024 |
| 2.7.17 | 0 | 01/16/2024 |
| 2.7.10 | 0 | 12/12/2023 |
| 2.7.4 | 0 | 10/31/2023 |
| 2.6.122 | 0 | 07/07/2023 |
| 2.6.116 | 0 | 06/13/2023 |
| 2.6.111 | 0 | 05/03/2023 |
| 2.6.104 | 0 | 03/30/2023 |
| 2.6.96 | 0 | 02/21/2023 |
| 2.6.90 | 0 | 01/04/2023 |
| 2.6.86 | 0 | 12/13/2022 |
| 2.6.80 | 0 | 10/27/2022 |
| 2.6.70 | 1 | 01/19/2026 |
| 2.6.66 | 0 | 09/06/2022 |
| 2.6.48 | 0 | 06/28/2022 |
| 2.5.61 | 1 | 01/19/2026 |
| 2.5.43 | 0 | 03/05/2022 |
| 2.2.88 | 0 | 11/11/2021 |
| 2.2.79 | 0 | 10/14/2021 |
| 2.2.50 | 1 | 01/19/2026 |
| 2.2.4 | 0 | 11/19/2020 |
| 2.2.3 | 1 | 01/19/2026 |
| 2.1.58 | 0 | 06/18/2020 |
| 2.1.55 | 0 | 06/09/2020 |
| 2.1.30 | 0 | 04/05/2020 |
| 2.1.28 | 0 | 03/30/2020 |
| 2.0.601 | 0 | 04/16/2019 |
| 2.0.600 | 2 | 01/19/2026 |
| 2.0.593 | 0 | 04/04/2019 |
| 2.0.588 | 0 | 04/03/2019 |
| 2.0.571 | 1 | 01/19/2026 |
| 2.0.519 | 0 | 11/27/2018 |
| 2.0.513 | 0 | 09/28/2018 |
| 2.0.505 | 0 | 09/12/2018 |
| 2.0.495 | 0 | 09/04/2018 |
| 1.2.6 | 0 | 08/01/2017 |
| 1.2.5 | 0 | 07/24/2017 |
| 1.2.4 | 0 | 06/24/2017 |
| 1.2.3 | 0 | 05/08/2017 |
| 1.2.1 | 0 | 02/03/2017 |
| 1.2.0 | 0 | 01/11/2017 |
| 1.2.0-alpha1 | 1 | 01/19/2026 |
| 1.1.608 | 0 | 10/06/2016 |
| 1.1.606 | 0 | 10/03/2016 |
| 1.1.605 | 0 | 09/03/2016 |
| 1.1.604-alpha | 0 | 05/21/2016 |
| 1.1.603 | 1 | 01/19/2026 |
| 1.1.572-alpha | 0 | 02/08/2016 |
| 1.1.553-alpha | 0 | 01/19/2016 |
| 1.1.0-alpha2 | 0 | 12/11/2015 |
| 1.1.0-alpha1 | 0 | 12/10/2015 |
| 1.0.488 | 0 | 11/05/2015 |
| 1.0.481 | 0 | 07/13/2015 |
| 1.0.479 | 0 | 07/13/2015 |
| 1.0.450 | 0 | 05/15/2015 |
| 1.0.414 | 0 | 03/18/2015 |
| 1.0.394 | 0 | 01/20/2015 |
| 1.0.371 | 1 | 01/19/2026 |
| 1.0.333 | 0 | 09/18/2014 |
| 1.0.331 | 0 | 09/11/2014 |
| 1.0.330 | 0 | 09/02/2014 |
| 1.0.329 | 2 | 01/19/2026 |
| 1.0.328 | 1 | 01/19/2026 |
| 1.0.322 | 0 | 07/10/2014 |
| 1.0.321 | 0 | 07/10/2014 |
| 1.0.320 | 1 | 01/19/2026 |
| 1.0.312 | 0 | 06/24/2014 |
| 1.0.297 | 0 | 05/28/2014 |
| 1.0.289 | 0 | 05/09/2014 |
| 1.0.281 | 0 | 04/30/2014 |
| 1.0.278 | 0 | 04/27/2014 |
| 1.0.273 | 1 | 01/19/2026 |
| 1.0.270 | 1 | 01/19/2026 |
| 1.0.247 | 0 | 04/04/2014 |
| 1.0.245 | 0 | 04/04/2014 |
| 1.0.243 | 1 | 01/19/2026 |
| 1.0.242 | 0 | 04/02/2014 |
| 1.0.241 | 0 | 04/01/2014 |
| 1.0.240 | 0 | 04/01/2014 |
| 1.0.238 | 0 | 03/30/2014 |
| 1.0.236 | 1 | 01/19/2026 |
| 1.0.233 | 0 | 03/27/2014 |
| 1.0.231 | 0 | 03/27/2014 |
| 1.0.228 | 0 | 03/27/2014 |
| 1.0.223 | 0 | 03/25/2014 |
| 1.0.221 | 1 | 01/19/2026 |
| 1.0.219 | 0 | 03/24/2014 |
| 1.0.214 | 0 | 03/23/2014 |
| 1.0.210 | 1 | 01/19/2026 |
| 1.0.209 | 0 | 03/22/2014 |
| 1.0.207 | 0 | 03/22/2014 |
| 1.0.206 | 0 | 03/21/2014 |
| 1.0.190 | 0 | 03/19/2014 |
| 1.0.187 | 1 | 01/19/2026 |