philzhou

导航

上一页 1 2 3 4 5 6 7 8 ··· 12 下一页

2013年3月19日 #

xmlns + SelectNodes = empty XmlNodeList

摘要: Trying to parse web.config files using SelectNodes, I found that I have two kinds of web.config files on my development PC, one with an xmlns declaration and one without.<configuration><configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">This should not re 阅读全文

posted @ 2013-03-19 15:53 philzhou 阅读(313) 评论(0) 推荐(0)

2013年3月5日 #

Diff between Infobright and MyIsam

摘要: 1. no index in Infobright ( since table stored as column style data every column is a index).so load data infile .... replace into with primary key doesn't work.2. supporingdata typesinfobright not supports: enum,set, and all the unsigned number type.and decimal max digits number is 18. 阅读全文

posted @ 2013-03-05 23:28 philzhou 阅读(180) 评论(0) 推荐(0)

2012年12月6日 #

.Net程序集强签名详解

摘要: 强签名:1. 可以将强签名的dll注册到GAC,不同的应用程序可以共享同一dll。2. 强签名的库,或者应用程序只能引用强签名的dll,不能引用未强签名的dll,但是未强签名的dll可以引用强签名的dll。3. 强签名无法保护源代码,强签名的dll是可以被反编译的。4. 强签名的dll可以防止第三方恶意篡改。强签名的方法:1. 有源代码:1.1 使用vs tool command:snk –k mykey.snk 生成签名公钥。1.2 将公钥加入项目中,并设置项目属性,设置签名公钥1.3 重新生成项目。2. 没有源代码。2.1 创建强签名键:sn.exe -k key.snk2.2 反汇编dl 阅读全文

posted @ 2012-12-06 11:46 philzhou 阅读(12481) 评论(0) 推荐(0)

2012年12月2日 #

Web Browser Control – Specifying the IE Version

摘要: Web Browser Control – Specifying the IE VersionTweet 41 commentsMay 21, 2011 @ 12:06 am- from Hood River, OregonI use the Internet Explorer Web Browser Control in a lot of my applications to display document type layout. HTML happens to be one of the most common document formats and displaying data 阅读全文

posted @ 2012-12-02 15:11 philzhou 阅读(1611) 评论(0) 推荐(0)

2012年11月26日 #

Multithreading in WinForms(转摘)

摘要: 原文The .NET Framework has full support for running multiple threads at once. In this article, Patrick Steele looks at how threads accomplish their task and why you need to be careful how you manage a WinForms application with multiple threads.A user interface that is unresponsive will frustrate your 阅读全文

posted @ 2012-11-26 21:49 philzhou 阅读(301) 评论(1) 推荐(0)

2012年11月18日 #

map xml to entity

摘要: 在使用xml作为系统配置时,免不了需要将xml文件读取出来,并转换成相应的实体。但是,如果需要自己去操作xml文件的每一个节点,将其组装成实体,这个工作确实相当繁琐的,所以一般我们会写一个实体,然后使用下面的这种方式来反序列化。[XmlRoot("PersonInfoXml")] public class Person{ [XmlElement("Name")] public Identifier PersonIdentify { get { if (mIdentify == null) mIdentify = new Identifier(); ret 阅读全文

posted @ 2012-11-18 22:36 philzhou 阅读(1308) 评论(2) 推荐(0)

2012年11月16日 #

MySql Service Installation

摘要: intall the mysqld as a windows service:mysqld.exe --install "MySQL01" --defaults-file=”d:\mysql\mysql.ini”net start “MySQL01” >NULmysqld.exe –-remove “MySQL01” 阅读全文

posted @ 2012-11-16 22:21 philzhou 阅读(247) 评论(0) 推荐(0)

Quartz.Net 配置

摘要: Quartz.Net is a very useful secheduling component, it can hanlde Interval, simple, cronExpresion pattern scheduling with some simple configuration.1. create a windows application with following reference.C5 is the generic collection class set as a complementary of .net framework.Since Quartz using C 阅读全文

posted @ 2012-11-16 00:25 philzhou 阅读(2084) 评论(0) 推荐(0)

2012年10月16日 #

.NET Exception Handling

摘要: Note: It is very important to just use the throw statement, rather than throw ex. If you have "throw ex", then the stack trace of the exception will be replaced with a stack trace starting at the re-throw point, which is usually not the desired effect. 阅读全文

posted @ 2012-10-16 11:43 philzhou 阅读(301) 评论(0) 推荐(0)

2012年9月25日 #

Continuous Integration

摘要: Old ProcessCheck out the needed source files from your source code repository.Make changes to the code.Click Build on the Visual Studio menu, and hope everything compiles.Go back to step 2. You did get compile errors, didn’t you?Run unit tests, and hope everything is green. We hope you’re running un 阅读全文

posted @ 2012-09-25 23:19 philzhou 阅读(485) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 ··· 12 下一页