Libuv
by: Libuv
- 6 total downloads
- Latest version: 1.10.0
Multi-platform support library with a focus on asynchronous I/O.
LiteDB
by: Mauricio David
- 1 total downloads
- Latest version: 2.0.1
A simple embedded .NET NoSQL Document Store in a single data file
log4net.Ext.Json
by: Robert Cutajar
- 6 total downloads
- Latest version: 2.0.8.3-test2
Enable JSON logging in log4net.
ManagedEsent
by: martinc
- 1 total downloads
- Latest version: 1.6.0
ManagedEsent provides managed access to ESENT, the embeddable
database engine native to Windows. ManagedEsent uses the esent.dll that is
part of Microsoft Windows so there are no extra unmanaged binaries to
download and install.
Masuit.Tools.Core
by: 懒得勤快
- 3 total downloads
- Latest version: 1.8.0
包含一些常用的操作类,大都是静态类,加密解密,反射操作,硬件信息,字符串扩展方法,日期时间扩展操作,大文件拷贝,图像裁剪,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();
......
MediatR
by: Jimmy Bogard
- 1 total downloads
- Latest version: 2.0.0-beta-003
Simple, unambitious mediator implementation in .NET
MessagePack
by: neuecc
- 22 total downloads
- Latest version: 1.6.1.2
Extremely Fast MessagePack(MsgPack) Serializer for C#(.NET, .NET Core, Unity, Xamarin).
MessagePackAnalyzer
by: neuecc aarnott
- 55 total downloads
- Latest version: 3.1.4
Analyzers and source generator for MessagePack for C#. Verify rules for [MessagePackObject] and code fix for [Key]. A roslyn source generator for AOT or faster startup of applications that use the MessagePack nuget package.
Microsoft.AspNet.Mvc
by: Microsoft
- 45 total downloads
- Latest version: 5.3.0
This package contains the runtime assemblies for ASP.NET MVC. ASP.NET MVC gives you a powerful, patterns-based way to build dynamic websites that enables a clean separation of concerns and that gives you full control over markup.
Microsoft.AspNet.WebPages
by: Microsoft
- 21 total downloads
- Latest version: 3.3.0
This package contains core runtime assemblies shared between ASP.NET MVC and ASP.NET Web Pages.
Microsoft.AspNetCore.All
by: Microsoft
- 1 total downloads
- Latest version: 2.0.0
Microsoft.AspNetCore.All
Microsoft.AspNetCore.Antiforgery
by: Microsoft
- 23 total downloads
- Latest version: 2.0.0
An antiforgery system for ASP.NET Core designed to generate and validate tokens to prevent Cross-Site Request Forgery attacks.
Microsoft.AspNetCore.ApplicationInsights.HostingStartup
by: Microsoft
- 2 total downloads
- Latest version: 2.0.0
ASP.NET Core lightup integration with Application Insights.
Microsoft.AspNetCore.Authentication
by: Microsoft
- 18 total downloads
- Latest version: 2.0.0
ASP.NET Core common types used by the various authentication middleware components.
Microsoft.AspNetCore.Authentication.Abstractions
by: Microsoft
- 3 total downloads
- Latest version: 2.0.0
ASP.NET Core common types used by the various authentication components.
Microsoft.AspNetCore.Authentication.Cookies
by: Microsoft
- 16 total downloads
- Latest version: 2.0.0
ASP.NET Core middleware that enables an application to use cookie based authentication.
Microsoft.AspNetCore.Authentication.Core
by: Microsoft
- 3 total downloads
- Latest version: 2.0.0
ASP.NET Core common types used by the various authentication middleware components.
Microsoft.AspNetCore.Authentication.Facebook
by: Microsoft
- 9 total downloads
- Latest version: 2.0.0-preview2-final
ASP.NET Core middleware that enables an application to support Facebook's OAuth 2.0 authentication workflow.
Microsoft.AspNetCore.Authentication.Google
by: Microsoft
- 8 total downloads
- Latest version: 2.0.0
ASP.NET Core contains middleware to support Google's OpenId and OAuth 2.0 authentication workflows.