04 2021 档案

摘要:默认情况下,EasyNetQ的消息处理过程中,如果throw exception,那么,依然是认为消息已经送达,不会再次推送,为了让RabbitMQ再次推送,可以这么实现: public sealed class AlwaysRequeueErrorStrategy : IConsumerError 阅读全文
posted @ 2021-04-20 16:43 IWing 阅读(585) 评论(0) 推荐(1) 编辑
摘要:使用Process.Start("http://www")有些系统会无效,所以,这样比较保险 var url = "https://www.baidu.com"; if (true) { var HTTP_KEY = @"Software\Microsoft\Windows\Shell\Associ 阅读全文
posted @ 2021-04-14 18:44 IWing 阅读(542) 评论(0) 推荐(0) 编辑
摘要:nuget引入: EPPlus.Core FileInfo file = new FileInfo(@"d:\test.xlsx"); using (ExcelPackage package = new ExcelPackage(file)) { // add a new worksheet to 阅读全文
posted @ 2021-04-13 10:31 IWing 阅读(357) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示