摘要:
The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. 意思是:请求的接口不支持Https,改为http试试 如何配置服务支持https? 阅读全文
摘要:
直接贴出代码示例: // 现在有10个人要过桥 // 但是一座桥上只能承受5个人,再多桥就会塌 public static void SemaphoreTest() { var semaphore = new SemaphoreSlim(5); for (int i = 1; i <= 10; i+ 阅读全文