MailKit
by: Jeffrey Stedfast
- 40 total downloads
- Latest version: 2.9.0
MailKit is an Open Source cross-platform .NET mail-client library that is based on MimeKit and optimized for mobile devices.
Features include:
* HTTP, Socks4, Socks4a and Socks5 proxy support.
* SASL Authentication via SCRAM-SHA-256, SCRAM-SHA-1, NTLM, DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN, and XOAUTH2.
* A fully-cancellable SmtpClient with support for STARTTLS, 8BITMIME, BINARYMIME, ENHANCEDSTATUSCODES, SIZE, DSN, PIPELINING and SMTPUTF8.
* A fully-cancellable Pop3Client with support for STLS, UIDL, APOP, PIPELINING, UTF8, and LANG.
* A fully-cancellable ImapClient with support for ACL, QUOTA, LITERAL+, IDLE, NAMESPACE, ID, CHILDREN, LOGINDISABLED, STARTTLS, MULTIAPPEND, UNSELECT, UIDPLUS, CONDSTORE, ESEARCH, SASL-IR, COMPRESS, WITHIN, ENABLE, QRESYNC, SORT, THREAD, ANNOTATE, LIST-EXTENDED, ESORT, METADATA / METADATA-SERVER, NOTIFY, FILTERS, LIST-STATUS, SORT=DISPLAY, SPECIAL-USE / CREATE-SPECIAL-USE, SEARCH=FUZZY, MOVE, UTF8=ACCEPT / UTF8=ONLY, LITERAL-, APPENDLIMIT, STATUS=SIZE, OBJECTID, REPLACE, SAVEDATE, XLIST, and X-GM-EXT1.
* Client-side sorting and threading of messages (the Ordinal Subject and the Jamie Zawinski threading algorithms are supported).
* Asynchronous versions of all methods that hit the network.
* S/MIME, OpenPGP, DKIM and ARC support via MimeKit.
* Microsoft TNEF support via MimeKit.
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
- 8 total downloads
- Latest version: 5.0.1-alpha-0002
Simple, unambitious mediator implementation in .NET
MessagePack
by: neuecc
- 29 total downloads
- Latest version: 1.6.1.1
Extremely Fast MessagePack(MsgPack) Serializer for C#(.NET, .NET Core, Unity, Xamarin).
MessagePackAnalyzer
by: neuecc aarnott
- 52 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.ApplicationInsights
by: Microsoft
- 1 total downloads
- Latest version: 2.8.0
Application Insights Base API. This package provides core functionality for transmission of all Application Insights Telemetry Types and is a dependent package for all other Application Insights packages. Please install the platform specific package for the best experience. Privacy statement: https://go.microsoft.com/fwlink/?LinkId=512156
Microsoft.AspNet.Mvc
by: Microsoft
- 42 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.WebApi.Client
by: Microsoft
- 1 total downloads
- Latest version: 6.0.0-preview1
This package adds support for formatting and content negotiation to System.Net.Http. It includes support for JSON, XML, and form URL encoded data.
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
- 21 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
- 1 total downloads
- Latest version: 2.0.0
ASP.NET Core lightup integration with Application Insights.
Microsoft.AspNetCore.Authentication
by: Microsoft
- 15 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
- 2 total downloads
- Latest version: 2.0.0
ASP.NET Core common types used by the various authentication components.
Microsoft.AspNetCore.Authentication.Cookies
by: Microsoft
- 12 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
- 1 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
- 5 total downloads
- Latest version: 1.1.2
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.
Microsoft.AspNetCore.Authentication.JwtBearer
by: Microsoft
- 9 total downloads
- Latest version: 2.0.0
ASP.NET Core middleware that enables an application to receive an OpenID Connect bearer token.