Newtonsoft.Json 13.0.5-beta1
Json.NET is a popular high-performance JSON framework for .NET
Showing the top 20 packages that depend on Newtonsoft.Json.
| Packages | Downloads |
|---|---|
|
Swashbuckle.AspNetCore.SwaggerUi
Middleware to expose an embedded version of the swagger-ui from an ASP.NET Core application
|
1 |
|
Swashbuckle.AspNetCore.SwaggerUI
Middleware to expose an embedded version of the swagger-ui 3 from an ASP.NET Core application
|
1 |
|
Masuit.Tools.Core
包含一些常用的操作类,大都是静态类,加密解密,反射操作,硬件信息,字符串扩展方法,日期时间扩展操作,大文件拷贝,图像裁剪,html处理,验证码、NoSql等常用封装。
示例代码:
1.检验字符串是否是Email
bool isEmail="1170397736@qq.com".MatchEmail();
2.获取线程内唯一对象
CallContext<T>.GetData("db");
3.获取当前请求上下文
var context=HttpContext2.Current;
4.获取IP详细地理信息
var address="114.114.114.114".GetPhysicsAddress();
5.大文件操作
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
}
6.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>
|
1 |
|
Microsoft.IdentityModel.Xml
Includes types that provide support for Reading / Writing XML with Enveloped Signatures.
|
1 |
|
Flurl.Http
A fluent, portable, testable HTTP client library that extends Flurl's URL builder chain.
|
1 |
|
Flurl.Http
A fluent, portable, testable HTTP client library.
|
1 |
|
Flurl.Http
Flurl.Http is a fluent, portable, testable HTTP client library that extends Flurl's URL builder chain.
|
1 |
|
Flurl.Http
A fluent, portable, testable HTTP client library that extends Flurl's URL builder chain.
* Easily deserialize JSON responses into POCOs or dynamics.
* Supports testing by globally faking/recording all HTTP calls and providing fluent assertion helpers.
* Sports a modern, asynchronous API supporting the TAP pattern (async/await).
* Easy to configure and extend to meet your specific needs.
* HttpClient under the hood.
|
1 |
.NET Framework 2.0
- No dependencies.
.NET Framework 3.5
- No dependencies.
.NET Framework 4.0
- No dependencies.
.NET Framework 4.5
- No dependencies.
.NET Standard 1.0
- Microsoft.CSharp (>= 4.3.0)
- NETStandard.Library (>= 1.6.1)
- System.ComponentModel.TypeConverter (>= 4.3.0)
- System.Runtime.Serialization.Primitives (>= 4.3.0)
.NET Standard 1.3
- Microsoft.CSharp (>= 4.3.0)
- NETStandard.Library (>= 1.6.1)
- System.ComponentModel.TypeConverter (>= 4.3.0)
- System.Runtime.Serialization.Formatters (>= 4.3.0)
- System.Runtime.Serialization.Primitives (>= 4.3.0)
- System.Xml.XmlDocument (>= 4.3.0)
.NET 6.0
- No dependencies.
.NET Standard 2.0
- No dependencies.
| Version | Downloads | Last updated |
|---|---|---|
| 13.0.5-beta1 | 0 | 12/30/2025 |
| 13.0.4 | 1 | 01/10/2026 |
| 13.0.3 | 1 | 01/10/2026 |
| 13.0.2 | 1 | 01/10/2026 |
| 13.0.1 | 1 | 01/10/2026 |
| 12.0.3 | 1 | 01/10/2026 |
| 12.0.2 | 1 | 01/10/2026 |
| 12.0.1 | 1 | 01/10/2026 |
| 11.0.2 | 1 | 01/10/2026 |
| 11.0.1 | 1 | 01/10/2026 |
| 10.0.3 | 1 | 01/10/2026 |
| 10.0.2 | 1 | 01/10/2026 |
| 10.0.1 | 1 | 01/10/2026 |
| 9.0.1 | 1 | 01/10/2026 |
| 8.0.3 | 1 | 01/10/2026 |
| 8.0.2 | 1 | 01/10/2026 |
| 8.0.1 | 1 | 01/10/2026 |
| 7.0.1 | 1 | 01/10/2026 |
| 6.0.8 | 1 | 01/10/2026 |
| 6.0.7 | 1 | 01/10/2026 |
| 6.0.6 | 1 | 01/10/2026 |
| 6.0.5 | 1 | 01/10/2026 |
| 6.0.4 | 1 | 01/10/2026 |
| 6.0.3 | 1 | 01/10/2026 |
| 6.0.2 | 1 | 01/10/2026 |
| 6.0.1 | 1 | 01/10/2026 |
| 5.0.8 | 1 | 01/10/2026 |
| 5.0.7 | 1 | 01/10/2026 |
| 5.0.6 | 1 | 01/10/2026 |
| 5.0.5 | 1 | 01/10/2026 |
| 5.0.4 | 1 | 01/10/2026 |
| 5.0.3 | 1 | 01/10/2026 |
| 5.0.2 | 1 | 01/10/2026 |
| 5.0.1 | 1 | 01/10/2026 |
| 4.5.11 | 1 | 01/10/2026 |
| 4.5.10 | 1 | 01/10/2026 |
| 4.5.9 | 1 | 01/10/2026 |
| 4.5.8 | 1 | 01/10/2026 |
| 4.5.7 | 1 | 01/10/2026 |
| 4.5.6 | 1 | 01/10/2026 |
| 4.5.5 | 1 | 01/10/2026 |
| 4.5.4 | 1 | 01/10/2026 |
| 4.5.3 | 1 | 01/10/2026 |
| 4.5.2 | 1 | 01/10/2026 |
| 4.5.1 | 1 | 01/10/2026 |
| 4.0.8 | 1 | 01/10/2026 |
| 4.0.7 | 1 | 01/10/2026 |
| 4.0.6 | 1 | 01/10/2026 |
| 4.0.5 | 1 | 01/10/2026 |
| 4.0.4 | 1 | 01/10/2026 |
| 4.0.3 | 1 | 01/10/2026 |
| 4.0.2 | 1 | 01/10/2026 |
| 4.0.1 | 1 | 01/10/2026 |
| 3.5.8 | 1 | 01/10/2026 |