2881099
2881099
#### 问题描述及重现步骤: 三天两头偶尔就出来一个超时 System.Exception: A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - 信号灯超时时间已到) ---> Microsoft.Data.SqlClient.SqlException (0x80131904): A transport-level error has occurred...
CSRedis is a great open source project. I personally used it in the company in 2016. In the past three years, I have published the changed source code on GitHub...
## 推荐项目 - 项目地址:https://github.com/2881099/FreeRedis - 类别:C# - 项目标题:C#.NET Redis Client 客户端 FreeRedis - 项目描述:基于 .NET 的 Redis 客户端,支持 .NET Core 2.1+、.NET Framework 4.0+ 以及 Xamarin。 - 亮点: - 🌈 所有方法名与...
常见问题
## 任务不触发 FreeScheduler 默认是串行任务设计,最多支持30个任务同时触发,超出这个量要排队触发 耗时较高的任务,避免长时间占用触发队列,可在 OnExecuting 内使用 Task.Run(() => { ... }) 的方式执行 造成的问题:上一次任务还未执行完(耗时较久的任务),下一次任务又触发了,应加大定时间隔
```csharp using Microsoft.Extensions.Caching.Distributed; IDistributedCache cache = xxxx; object obj1 = new xxxx(); cache.SetObject("key1", obj1); object obj2 = cache.GetObject("key1"); T obj3 = cache.GetObject("key1"); ``` ## 内部使用 BinaryFormatter 序列化/反序列化 ```csharp public static...