当你的才华不能撑起你的野心时,就是你该选择学习的时候了!

06 2023 档案

摘要:Winform TextBox Cross-thread operation not valid: Control 'txtMessage' accessed from a thread other than the thread it was created on. (330条消息) 解决Cros 阅读全文
posted @ 2023-06-30 09:58 hofmann 阅读(36) 评论(0) 推荐(0)
摘要:HTTP的Keep-Alive和TCP的KeepAlive 阅读全文
posted @ 2023-06-29 16:22 hofmann 阅读(20) 评论(0) 推荐(0)
摘要:=>读作 goes to,是C#3.0新增的内容 =>主要有两方面的作用,一个限制属性状态,另一个简化匿名委托和Lambda 用法一:定义只读属性 public class ManPeople { public string Sex => "男"; public string Name { get; 阅读全文
posted @ 2023-06-21 16:26 hofmann 阅读(98) 评论(0) 推荐(0)
摘要:var dir = Environment.CurrentDirectory + "\\Logs"; if (Directory.Exists(dir)) { Directory.CreateDirectory(dir); } var logName = string.Concat(dir, Dat 阅读全文
posted @ 2023-06-21 09:50 hofmann 阅读(80) 评论(0) 推荐(0)
摘要:public class UnitTest1 { [Fact] public void Test1() { var list_A = new List<string> { "MU", "CA", "PA" }; var list_B = new List<string> { "A000MU-1000 阅读全文
posted @ 2023-06-20 14:02 hofmann 阅读(172) 评论(0) 推荐(0)
摘要:var respData = ""; var jobj = JsonConvert.DeserializeObject<JObject>(respData); static private List<Dictionary<string,string>> InitProductResponsed(JO 阅读全文
posted @ 2023-06-15 17:59 hofmann 阅读(207) 评论(0) 推荐(0)
摘要:.NET Extensibility 3.5未安装,会导致IIS 里ISAPI and CGI Restrictions不可用,浏览IIS站点时aspx扩展名文件会报错404.3。因为Handler Mappings里没有 aspx的支持,安装后如下: cmd脚本安装: Dism.exe /onli 阅读全文
posted @ 2023-06-12 16:24 hofmann 阅读(313) 评论(0) 推荐(0)
摘要:Nexus 是一个强大的 Maven 仓库管理器,它极大地简化了自己内部仓库的维护和外部仓库的访问。利用 Nexus 你可以只在一个地方就能够完全控制访问 和部署在你所维护仓库中的每个 Artifact。Nexus 是一套 “开箱即用” 的系统不需要数据库,它使用文件系统加 Lucene 来组织数据 阅读全文
posted @ 2023-06-08 10:27 hofmann 阅读(385) 评论(0) 推荐(0)
摘要:使用c#实现23种常见的设计模式 - tokengo - 博客园 (cnblogs.com) 阅读全文
posted @ 2023-06-06 15:29 hofmann 阅读(44) 评论(0) 推荐(0)