├── .gitattributes └── README.md /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | 7 | # Standard to msysgit 8 | *.doc diff=astextplain 9 | *.DOC diff=astextplain 10 | *.docx diff=astextplain 11 | *.DOCX diff=astextplain 12 | *.dot diff=astextplain 13 | *.DOT diff=astextplain 14 | *.pdf diff=astextplain 15 | *.PDF diff=astextplain 16 | *.rtf diff=astextplain 17 | *.RTF diff=astextplain 18 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ASP.NET Core and .NET Core Library Support 2 | 3 | ## Contents 4 | - [ORM/DBs](#ormdbs) 5 | - [Image](#image) 6 | - [RPC](#rpc) 7 | - [Message Queuing](#message-queuing) 8 | - [Web](#web) 9 | - [DI / IoC Containers](#di--ioc-containers) 10 | - [Logging](#logging) 11 | - [Serialization](#serialization) 12 | - [Testing](#testing) 13 | - [Microservice](#microservice) 14 | - [Other](#other) 15 | - [Project](#project) 16 | 17 | ## ASP.NET Core and .NET Core 支持的类库 18 | 你可以通过 issue 或者 fork 来增加ASP.NET Core and .NET Core 支持的类库。 19 | 20 | 欢迎大家贡献及star。 21 | 22 | --- 23 | 24 | ## ORM/DBs 25 | Project | NuGet Install Command | .NET Core Support | ASP.NET Core Support | Website 26 | ------- | --------------------- | ----------------- | -------------------- | ------- 27 | [Dapper](https://github.com/StackExchange/dapper-dot-net) | Install-Package Dapper | Yes | Yes | [github.io](https://stackexchange.github.io/dapper-dot-net) 28 | [EF Core](https://github.com/aspnet/EntityFramework) | Install-Package EntityFramework.MicrosoftSqlServer | Yes | Yes | [efproject.net](http://docs.efproject.net/en/latest/) 29 | [Npgsql](https://github.com/npgsql/Npgsql) | Install-Package Npgsql | Yes | Yes | [npgsql.org](http://www.npgsql.org) 30 | [NEST](https://github.com/elastic/elasticsearch-net) | Install-Package NEST | Yes | Yes | [elastic.**co**](https://www.elastic.co) 31 | [StackExchange.Redis](https://github.com/StackExchange/StackExchange.Redis) | Install-Package StackExchange.Redis | Yes | Yes | 32 | [MySQL](https://github.com/mysql/mysql-connector-net) | Install-Package MySql.Data | Yes | Yes | 33 | [MongoDB](https://github.com/mongodb/mongo-csharp-driver) | Install-Package mongocsharpdriver | Yes | Yes | 34 | [NPoco](https://github.com/schotime/NPoco) | Install-Package NPoco | Yes | Yes | 35 | [Chloe](https://github.com/shuxinqin/Chloe/tree/master/src/DotNetCore) | | Yes | Yes | 36 | [Lolita](https://github.com/PomeloFoundation/Lolita)| Install-Package Pomelo.EntityFrameworkCore.Lolita | Yes | Yes | 37 | [YesSql](https://github.com/sebastienros/yessql) | Install-Package YesSql.Storage.Sql -Pre | Yes | Yes | 38 | 39 | ## Image 40 | Project | NuGet Install Command | .NET Core Support | ASP.NET Core Support | Website 41 | ------- | --------------------- | ----------------- | -------------------- | ------- 42 | [ImageSharp](https://github.com/JimBobSquarePants/ImageSharp) | Install-Package SixLabors.ImageSharp | Yes | Yes | [ImageSharp](https://sixlabors.github.io/docs/articles/ImageSharp/GettingStarted.html) 43 | 44 | ## RPC 45 | Project | NuGet Install Command | .NET Core Support | ASP.NET Core Support | Website 46 | ------- | --------------------- | ----------------- | -------------------- | ------- 47 | [JsonRpc](https://github.com/edjCase/JsonRpc) |Install-Package EdjCase.JsonRpc.Router | Yes | Yes | 48 | [gRPC](http://www.grpc.io) |Install-Package Grpc | Yes | Yes | [c#](http://www.grpc.io/docs/quickstart/csharp.html) 49 | 50 | 51 | ## Message Queuing 52 | Project | NuGet Install Command | .NET Core Support | ASP.NET Core Support | Website 53 | ------- | --------------------- | ----------------- | -------------------- | ------- 54 | [Confluent.Kafka](https://github.com/confluentinc/confluent-kafka-dotnet) | Install-Package Confluent.Kafka | Yes | Yes | 55 | [NetMQ](https://github.com/zeromq/netmq) | Install-Package NetMQ | Yes | Yes | 56 | [RabbitMQ](https://github.com/rabbitmq/rabbitmq-dotnet-client) | Install-Package RabbitMQ.Client | Yes | Yes | [www.rabbitmq.com](http://www.rabbitmq.com/dotnet.html) 57 | 58 | ## Web 59 | Project | NuGet Install Command | .NET Core Support | ASP.NET Core Support | Website 60 | ------- | --------------------- | ----------------- | -------------------- | ------- 61 | [Nancy](https://github.com/NancyFx/Nancy) | Install-Package Nancy -Pre | Yes | Yes | [nancyfx.org](http://nancyfx.org) 62 | [SignalR](https://github.com/aspnet/signalr) | Install-Package Microsoft.AspNetCore.SignalR | Yes | Yes | [signalr.net](http://signalr.net/) 63 | [ReactJS.NET](https://github.com/reactjs/React.NET) | Install-Package React.AspNet | No | Yes | [ReactJS.NET](http://reactjs.net/) 64 | [Swashbuckle](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) | Install-Package Swashbuckle.AspNetCore | Yes | Yes | 65 | [YOYOFx](https://github.com/maxzhang1985/YOYOFx) | | Yes | Yes | 66 | 67 | ## DI / IoC Containers 68 | Project | NuGet Install Command | .NET Core Support | ASP.NET Core Support | Website 69 | ------- | --------------------- | ----------------- | -------------------- | ------- 70 | [Autofac](https://github.com/autofac/Autofac) | Install-Package Autofac | Yes | Yes | [autofac.org](http://autofac.org/) 71 | [SimpleInjector](https://github.com/simpleinjector/SimpleInjector) | Install-Package SimpleInjector | Yes | Yes | [simpleinjector.org](https://simpleinjector.org) 72 | [StructureMap](https://github.com/structuremap/structuremap) | Install-Package StructureMap | Yes | Yes | [structuremap.github.io](https://structuremap.github.io) 73 | 74 | ASP.NET Core contains built-in [DI](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/dependency-injection) 75 | 76 | ## Logging 77 | Project | NuGet Install Command | .NET Core Support | ASP.NET Core Support | Website 78 | ------- | --------------------- | ----------------- | -------------------- | ------- 79 | [Serilog](https://github.com/serilog/serilog) | Install-Package Serilog | Yes | Yes | 80 | [NLog](https://github.com/NLog/Nlog) | Install-Package NLog.Extensions.Logging -Pre | | Yes | 81 | [log4net](https://github.com/apache/log4net) | Install-Package log4net | Yes | Yes | 82 | [Common.Logging](https://github.com/net-commons/common-logging) | Install-Package Common.Logging -Pre | Yes | Yes | 83 | 84 | ASP.NET Core contains built-in [logging](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/logging) 85 | 86 | ## Serialization 87 | Project | NuGet Install Command | .NET Core Support | ASP.NET Core Support | Website 88 | ------- | --------------------- | ----------------- | -------------------- | ------- 89 | [JSON.NET](https://github.com/JamesNK/Newtonsoft.Json) | Install-Package Newtonsoft.Json | Yes | Yes | [newtonsoft.com/json](http://www.newtonsoft.com/json) 90 | [protobuf-net](https://github.com/mgravell/protobuf-net) | Install-Package protobuf-net | Yes | Yes 91 | 92 | ## Testing 93 | Project | NuGet Install Command | .NET Core Support | ASP.NET Core Support | Website 94 | ------- | --------------------- | ----------------- | -------------------- | ------- 95 | [xUnit.net](https://github.com/xunit/xunit) | Install-Package xunit | [Yes](http://xunit.github.io/docs/getting-started-dotnet-core.html) | [Yes](http://xunit.github.io/docs/getting-started-dotnet-core.html) | 96 | [Nunit](https://github.com/nunit/nunit) | Install-Package NUnit | Yes | Yes | 97 | [Moq](https://github.com/moq/moq4) | Install-Package Moq | Yes | Yes | 98 | 99 | ## Microservice 100 | Project | NuGet Install Command | .NET Core Support | ASP.NET Core Support | Website 101 | ------- | --------------------- | ----------------- | -------------------- | ------- 102 | [Microphone](https://github.com/AsynkronIT/Microphone) | Install-Package Microphone.AspNet | Yes | Yes | [blog](http://blog.nethouse.se/2015/10/19/introducing-microphone-microservices-with-service-discovery-for-net/) 103 | [Consul](https://github.com/PlayFab/consuldotnet)|Install-Package Consul| Yes | Yes |[Consul入门](http://soft.dog/2016/03/19/consul-cluster/) 104 | [Ocelot](https://github.com/TomPallister/Ocelot)| Install-Package Ocelot | Yes | Yes | [wiki](https://github.com/TomPallister/Ocelot/wiki) 105 | [CAP](https://github.com/dotnetcore/CAP)| Install-Package DotNetCore.CAP | Yes | Yes | [wiki](https://github.com/dotnetcore/CAP/blob/develop/README.zh-cn.md) 106 | 107 | 108 | ## Other 109 | Project | NuGet Install Command | .NET Core Support | ASP.NET Core Support | Website 110 | ------- | --------------------- | ----------------- | -------------------- | ------- 111 | [AutoMapper](https://github.com/AutoMapper/AutoMapper) | Install-Package AutoMapper | Yes | Yes | [automapper.org](http://automapper.org/) 112 | [HtmlAgilityPack](https://github.com/linezero/HtmlAgilityPack) | Install-Package HtmlAgilityPack | Yes | Yes | 113 | [WeiXinMPSDK](https://github.com/JeffreySu/WeiXinMPSDK) | Install-Package Senparc.Weixin.MP | Yes | Yes | 114 | [Hangfire](https://github.com/HangfireIO/Hangfire) | Install-Package HangFire | Yes | Yes | 115 | [Quartz.NET](https://github.com/quartznet/quartznet) | Install-Package Quartz | Yes | Yes | 116 | [IdentityServer4](https://github.com/IdentityServer/IdentityServer4) | Install-Package IdentityServer4 | Yes | Yes | 117 | [NPOI.Core](https://github.com/yuleyule66/Npoi.Core) | Install-Package Savorboard.Npoi.Core.OOXML | Yes | Yes | 118 | [EPPlus.Core](https://github.com/VahidN/EPPlus.Core) | Install-Package EPPlus.Core | Yes | Yes | Linux need to install libgdiplus 119 | [SharpCompress](https://github.com/adamhathcock/sharpcompress)| Install-Package sharpcompress | Yes | Yes | [sharpcompress](https://github.com/adamhathcock/sharpcompress#sharpcompress) 120 | [SharpZipLib](#) | Install-Package SharpZipLib | Yes | Yes | 121 | [CWSharp](https://github.com/zhengchun/CWSharp) | Install-Package CWSharp | Yes | Yes | .NET跨平台中英文分词 122 | [MailKit](https://github.com/jstedfast/MailKit) | Install-Package MailKit | Yes | Yes | 123 | [jieba.NET](https://github.com/linezero/jieba.NET) | | Yes | Yes | jieba中文分词.NET Core版 124 | [jose-jwt](https://github.com/dvsekhvalnov/jose-jwt) | Install-Package jose-jwt | Yes | Yes | 125 | [IdentityModel.Tokens.Jwt](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet) | Install-Package System.IdentityModel.Tokens.Jwt | Yes | Yes | 126 | [Castle](https://github.com/castleproject/Core) | Install-Package Castle.Core | Yes | Yes | [Castle](http://www.castleproject.org/) 127 | [Lucene.Net](https://github.com/apache/lucenenet) | Install-Package Lucene.Net -Pre | Yes | Yes | [Lucene.Net](http://lucenenet.apache.org) 128 | 129 | ## Project 130 | 131 | Project | Website 132 | ------- | ------- 133 | [Orchard](https://github.com/OrchardCMS/Orchard2) | [orchardproject.net](http://orchardproject.net) 134 | [MusicStore](https://github.com/aspnet/MusicStore) | 135 | [NETCoreBBS](https://github.com/linezero/NETCoreBBS) | 136 | [SimplCommerce](https://github.com/simplcommerce/SimplCommerce)|[demo](http://demo.simplcommerce.com) 137 | [eShopOnContainers](https://github.com/dotnet/eShopOnContainers)| 138 | 139 | # License 140 | 141 | 收集来自于 [NETCoreLibrary](https://github.com/linezero/NETCoreLibrary) ,转载复制请注明来源. 142 | 143 | # Contributing 144 | 145 | [LineZero](https://github.com/linezero) 146 | 147 | [gutun](https://github.com/gutun) 148 | --------------------------------------------------------------------------------