cd ./projA # 进入到项目所在目录
dotnet add package System.Data.SqlClient
dotnet add package Newtonsoft.Json
dotnet add package Microsoft.EntityFrameworkCore.SqlServer
dotnet add package Microsoft.EntityFrameworkCore.MySql
dotnet add package Microsoft.EntityFrameworkCore.InMemory
dotnet add package Microsoft.EntityFrameworkCore.Sqlite
dotnet add package Microsoft.EntityFramewrokCore.Tools
dotnet add package Microsoft.EntityFrameworkCore.Design
dotnet add package Microsoft.EntityFrameworkCore.SqlServer.Design
dotnet add package FreeSql
dotnet add package SqlSugarCore
dotnet add package XXXX -s http://nuget.wg.cn/nuget
# 日志
dotnet add package Serilog
dotnet add package Serilog.AspNetCore
dotnet add package Serilog.Sinks.Async
dotnet add package Serilog.Sinks.File
# grpc
dotnet add package Grpc.Net.Client
dotnet add package Google.Protobuf
dotnet add package Grpc.Tools
# kafka
dotnet add package -v 1.8.1 Confluent.Kafka
# 测试
dotnet add package Microsoft.AspNetCore.Mvc.Testing
dotnet add package Microsoft.AspNetCore.TestHost
# redis
dotnet add package Microsoft.Extensions.Caching.Distributed
dotnet add package CSRedisCore
dotnet add package Caching.CSRedis
常用 dotnet包
于 2022-05-25 13:49:48 首次发布