实现类 using System; using System.ComponentModel; using System.Linq; using Newtonsoft.Json; namespace Holder.Framework.Common { /// <inheritdoc /> /// <summary> /// 大数据json序列化重写 /// </summary> public sealed class NumberConverter : JsonConve
连接数据库:参考地址:https://blog.oz-code.com/how-to-mongodb-in-c-part-2/ // Empty ctor will get you a // client with a default localhost and port #27017 MongoClient m = new MongoClient(); //---------------------------------------------------------------------
.netcore文件上传Api接口,和正常的webForm提交类似,只是用postman测试接口时,记得给form表单命名,否则获取上传文件数量一直为0 后端代码 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNe
1.[基础]redis能带给我们什么福利 Redis(Remote Dictionary Server)官网:https://redis.io/ Redis命令:https://redis.io/commands Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker. It supports data structur