摘要: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=331882&wa=wsignin1.0如果加上,那么多线程2,3个链接就会让connection pool挂掉MS说会在下一个major release里面修正,也许是4.0. 阅读全文
posted @ 2009-07-15 15:31 飞扬跋扈 阅读(393) 评论(0) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2009-06-23 17:16 飞扬跋扈 阅读(507) 评论(1) 推荐(0) 编辑
摘要: IntroductionMy C++ code was trying to read an array of struct which contains string data in C# . To my surprise, I found that a struct array which contains only integer is very easy to get, but if you... 阅读全文
posted @ 2009-06-12 14:50 飞扬跋扈 阅读(520) 评论(1) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Diagnostics;using System.IO;namespace SocketDemo { class Program { static void Main() { Process proc = new Process(); proc.StartInfo.FileName... 阅读全文
posted @ 2009-06-09 16:55 飞扬跋扈 阅读(652) 评论(0) 推荐(0) 编辑
摘要: There are more than 30 methods in ASP.NET classes that deal with paths and/or URLs. Many developers coming from traditional ASP tend to stick with the methods they know from ASP (which are still there... 阅读全文
posted @ 2009-06-09 14:43 飞扬跋扈 阅读(224) 评论(1) 推荐(0) 编辑
摘要: 其背后的philosophy就是所谓的单一职责原则,即:引起类变化的原因只应该有一个。当类拥有多个可能引起其变化的因子时,把每一个因子抽象成IVarX,分别拥有自己的继承树。挑取出一个主因子,由其拥有其他的IVarX,即: IVarMain<>------IVarX。挑选主要因子的依据往往因具体问题而异,无法一概而论。主因子往往按要解决的问题XXX而命名为IXXX,而次因子则往往命名为... 阅读全文
posted @ 2009-06-08 11:22 飞扬跋扈 阅读(181) 评论(1) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2009-06-05 12:44 飞扬跋扈 阅读(198) 评论(0) 推荐(0) 编辑
摘要: C and C++ enforce subtle differences on the expressions to the left and right of the assignment operator If you've been programming in either C or C++ for a while, it's likely that you've heard the te... 阅读全文
posted @ 2009-05-22 18:07 飞扬跋扈 阅读(366) 评论(1) 推荐(0) 编辑
摘要: 角色扮演游戏(RPG)是深受广大游戏迷们喜爱的一种游戏, 它以独特的互动性和故事性吸引了无数的玩家。它向人们提供了超出现实生活的广阔的虚拟世界,使人们能够尝试扮演不同的角色,去经历和体验各种不同的人生旅程或奇幻经历。这些体验都是在现实生活中无法实现的。在玩过许多游戏后,许多玩家都不再仅仅满足于一个游戏玩家的身份,而会思考游戏是如何制作的,并且打算制作一个自己的游戏,网上的各种游戏制作小组更是如雨后... 阅读全文
posted @ 2009-05-21 16:34 飞扬跋扈 阅读(248) 评论(0) 推荐(0) 编辑
摘要: The .Net framework libraries does not provide you an API to query for the focused Control. You have to invoke a windows API to do so: [C#] public class MyForm : Form { [DllImport("user32.dll", CharSet... 阅读全文
posted @ 2009-05-19 16:50 飞扬跋扈 阅读(2036) 评论(0) 推荐(0) 编辑