湖边的白杨树

探索是一种乐趣

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 2 3 4 5 6 ··· 22 下一页

2019年1月4日

摘要: Load WF 后一开始运行的时候就发现 System.Xaml.XamlObjectWriterException: Cannot create unknown type '{clr-namespace:xx;assembly=xx}xx'. 比较了code, 怎么也找不到原因,finally. 阅读全文
posted @ 2019-01-04 13:40 fdyang 阅读(491) 评论(0) 推荐(0)

2019年1月2日

摘要: 写了个Windows Service, 用Wix 写了个Installer,编译通过,生成了msi 安装文件,但是安装的时候总是提示: 参考如下,进行debug来获取详细的内容。 http://wixtoolset.org/documentation/manual/v3/howtos/general 阅读全文
posted @ 2019-01-02 19:55 fdyang 阅读(775) 评论(0) 推荐(0)

2018年12月30日

摘要: Debug 一个SQL Server 2008 数据库连接的问题,老是提示: [67944] System.Data.SqlClient.SqlException (0x80131904): 在与 SQL Server 建立连接时出现与网络相关的或特定于实例的错误。未找到或无法访问服务器。请验证实例 阅读全文
posted @ 2018-12-30 13:01 fdyang 阅读(2084) 评论(0) 推荐(0)

2018年12月22日

摘要: 1. Code behind. protected void TextBox1_TextChanged(object sender, EventArgs e) { Label1.Text = Server.HtmlEncode(TextBox1.Text); } 2. Event trigger x 阅读全文
posted @ 2018-12-22 11:48 fdyang 阅读(3994) 评论(0) 推荐(0)

2018年12月1日

摘要: 问题:WCF 有个Server端,还有个Client端,他们之间是如何进行并发,多线程通信的呢?多个Client端同时访问Server,如何保证Server端的操作线程安全呢? 在理解WCF Concurency之前,首先需要理解 WCF instance management 这里有篇很好的文章可 阅读全文
posted @ 2018-12-01 17:27 fdyang 阅读(1115) 评论(0) 推荐(0)

2018年11月24日

摘要: 先抛出几点疑问: 1. 多个线程同时访问同一个“值类型变量“(value type, stored in stack), 如果保证安全访问? 2. 多个线程同时访问同一个“引用类型变量“(reference type, stored in heap), 如果保证安全访问? 3. 如果调用PInvok 阅读全文
posted @ 2018-11-24 11:57 fdyang 阅读(511) 评论(0) 推荐(0)

2018年11月22日

摘要: 参考: https://stackoverflow.com/questions/154551/volatile-vs-interlocked-vs-lock/154803 阅读全文
posted @ 2018-11-22 18:53 fdyang 阅读(1393) 评论(0) 推荐(0)

2018年10月23日

摘要: 目的: 实现两个独立的Process 之间的通讯。 实现思路: 建立一个WCF Service,然后将其Host到一个Console 程序中,然后在另外一个Console程序中引用WCF的Service,并使用Client调用Interface中定义好的方法。 具体实现: 1. 创建一个WCF Se 阅读全文
posted @ 2018-10-23 19:59 fdyang 阅读(1025) 评论(0) 推荐(0)

2018年5月23日

摘要: 如上 将指定目录下的所有的文件名从 old 改成 new.. adding -WhatIf at the end of the command we are saying to PowerShell: 'Just test, don't actually make any permanent cha 阅读全文
posted @ 2018-05-23 11:12 fdyang 阅读(12030) 评论(1) 推荐(1)

2017年12月8日

摘要: JavaScript : Array assignment creates reference not copy 29 May 2015 Consider we have an array var a = [1,2,3,4]; and we assign var b = a; then b not 阅读全文
posted @ 2017-12-08 15:33 fdyang 阅读(234) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 ··· 22 下一页