• 博客园logo
  • 会员
  • 周边
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
this.Think();
(Define (Learn-SICP (Begin (Read Book) (Write Scheme) (Thinkabout It))))
博客园 首页 新随笔 联系 订阅 订阅 管理

随笔分类 -  .Net Development

 
Castle.MircoKernel Class Diagram - Part I
摘要:One picture is worth a thousand wordsThe Class Diagram of Castle.MicroKernel.ModelHope it is helpful to understand the Castle MicroKernel architecture. 阅读全文
posted @ 2005-11-15 16:35 linkcd 阅读(2900) 评论(14) 推荐(0)
.Net 2.0 下Data Container性能比较: Binary Serialize Dataset vs Custom Classes
摘要:我们已经听过太多应该是用 Dataset还是应该使用自定义Class作为container的争论了.很多Anti-Dataseter 对于.Net 1.1 下面dataset蹩脚的xml序列化方式很是不屑. 不可否认, xml序列化的确是dataset的一大缺陷. 但是Microsoft已经意识到了这个问题, 在即将推出的.Net 2.0中,他们为dataset提供了真正的binary序列化方式.... 阅读全文
posted @ 2005-09-01 21:08 linkcd 阅读(1943) 评论(0) 推荐(0)
智能替换DataTable.Select中会导致错误的单引号
摘要:看到§猪阿不猪§提到一个DataTable.Select的注意事项: 注意去掉不正确的单引号.平时项目中,我们一般是直接在写filter语句时这样写theName = theName.Replace("'","''");string filter = string.Format("Name = '{0}'", theName);不过有时候也比较麻烦, 如果你的filter里面c... 阅读全文
posted @ 2005-08-31 18:11 linkcd 阅读(4637) 评论(3) 推荐(0)
Nullable Type is an immutable type
摘要:Consider this following code in C# 2.0 int? i = 1; i++; Console.WriteLine(i); int? j = i; j = null; Console.WriteLine(j.HasValue);in... 阅读全文
posted @ 2005-08-25 22:19 linkcd 阅读(1079) 评论(0) 推荐(0)
Why does Dataset NOT serialize its BinaryFormat property? (ADO.net 2.0)
摘要:I have tested the dataset new "binary serialize" feature in ADO.Net 2.0. Many articals said if we set the dataset's property "RemotingFormat" as "SerializationFormat.Binary", it can serialize i... 阅读全文
posted @ 2005-08-25 21:00 linkcd 阅读(2317) 评论(1) 推荐(0)
Undocumented Keywords in C#
摘要:研究Int32&的时候,无意中发现C#里面还有4个Undocument Keyword, 分别是__makeref, __reftype, __refvalue 以及__arglist。 其中前三个keyword可以这样用: int i = 1; TypedReference tr = __makeref(i); Type t = __... 阅读全文
posted @ 2005-08-18 18:44 linkcd 阅读(1707) 评论(5) 推荐(0)
System.Int32&是个啥?
摘要:在.Net中存在不从Object继承的类吗? 阅读全文
posted @ 2005-08-14 20:44 linkcd 阅读(3527) 评论(6) 推荐(1)
在Vs.net中集成 NDoc生成的 Html Help 2帮助文档
摘要:注:NDoc是一个Open Source的For .Net 文档自动生成软件。它可以通过 .Net中XML的注释标签来生成非常漂亮的MSDN风格的类库文档。(相对于VS.Net自己带的Comment Web Page生成工具好多了) 《在Vs.net中集成 NDoc生成的 Html Help 2帮助文档》 By: Fons Sonnemans 编译:linkcd 代码下载... 阅读全文
posted @ 2004-12-23 12:32 linkcd 阅读(4566) 评论(5) 推荐(0)
 

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3