上一页 1 2 3 4 5 6 7 8 ··· 15 下一页
摘要: 目录为空。后面想好一个一个发。 阅读全文
posted @ 2021-09-08 09:21 forhells 阅读(18) 评论(0) 推荐(0)
摘要: 有一些服务启动需要在网站启动前执行完。比如说加载数据缓存。等等。 public static async Task Main(string[] args) { var config = new ConfigurationBuilder() .AddJsonFile("appsettings.json 阅读全文
posted @ 2021-07-19 15:42 forhells 阅读(55) 评论(0) 推荐(0)
摘要: 在sql server 2012以上版本你可以 exec sp_executesql N'exec fuckexe @a, @b, @c,@d', 但是在这之下,你会接收到 ' '附近有语法错误。 所以尽量 exec sp_executesql N'exec fuckexe @a,@b,@c,@d' 阅读全文
posted @ 2021-06-29 18:13 forhells 阅读(31) 评论(0) 推荐(0)
摘要: 前面写了一个版本的“金明序号”生成器。但是不太完美。如果我加上监控,它就会报错。在反复的试验之后。其实我应该在silo运行起来之后。再运行客户端初始化。 public class CallGrainStartupTask : IStartupTask { private readonly ILogg 阅读全文
posted @ 2021-03-30 14:19 forhells 阅读(114) 评论(0) 推荐(0)
摘要: 因为写一个序号服务,不需要加入集群,也没有数据库,本地布置,指定了Ip。运行不起来了。 仔细阅读了文档,只能UseLocalhostClustering 这种模式。 但是cof-clients的方式还没有搞明白。 如果是集群模式的。最好是指定IP,昨天在测试中发现,两台机器,多个网站。一个是127. 阅读全文
posted @ 2021-03-02 13:49 forhells 阅读(265) 评论(0) 推荐(0)
摘要: 其实 Serilog.Sinks.File 没有问题。 我有一个服务一直在增加日志,但是我在配置中写了限制的,但是它还是一直在增加,这是为什么了。找了好久的原因。最后发现。还是自己的错误。 我的配置如下: "Serilog": { "Using": [ "Serilog.Sinks.File" ], 阅读全文
posted @ 2021-02-25 09:31 forhells 阅读(992) 评论(3) 推荐(0)
摘要: 缘起,因为系统要访问第三方服务。第三方服务时不时会超时,所以模拟了两个webapi,A和B, A访问B,B随机200ms-6S返回消息。 刚开始使用了RestSharp, 使用jmeter 500个实例/s,持续60次。 结果是2-300左右qps,觉得很好。最后发现,是因为大量的time_wait 阅读全文
posted @ 2021-02-20 13:06 forhells 阅读(192) 评论(0) 推荐(0)
摘要: dailog为啥关闭不了? 因为调了两次创建dailog了。 数据为啥加载不出来? 因为用的是 SugarRecord所以字段名要大写。_也要干掉。 阅读全文
posted @ 2021-02-18 09:31 forhells 阅读(50) 评论(0) 推荐(0)
摘要: # Apache Hause .conf file for TLS/1.3 supported versions## This is the main Apache HTTP server configuration file. It contains the# configuration dire 阅读全文
posted @ 2021-01-30 13:53 forhells 阅读(122) 评论(0) 推荐(0)
摘要: 在sql反模式中,提到了闭包表,它只有两个字段。 public class Tree { /// <summary> /// 祖先 /// </summary> public int Ancestor { get; set; } /// <summary> /// 子孙 /// </summary> 阅读全文
posted @ 2021-01-29 15:44 forhells 阅读(110) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 15 下一页