上一页 1 2 3 4 5 6 7 ··· 23 下一页
摘要: DataTabe 对象在很多地方都会用到,特别是在Web Service、Socket等需网络传输的地方。但是在有些地方,如果直接传递的话,程序可能会报告DataTable无法序列化错误。解决问题的方法,是对DataTable进行序列化。FCL提供的用于序列化的方法组要有三种:1.XML Serialization2.Binary Serialization3.SOAP Serialization感兴趣的可查下相关的具体操作文章,如 Introducing Serialization in .NET、Object Serialization in the .NET Framework等。--- 阅读全文
posted @ 2013-06-23 21:05 DebugLZQ 阅读(2496) 评论(0) 推荐(0) 编辑
摘要: AnnouncementsThis arctile is posted by Daniel Palme, who is a .NET consultant from Germany.I found it in his blog,andit's very helpfulto me. So I decide to postit inmy cnblogs. As it is so simple, as well as I've been used to read English articles. So I decided not to translate it into Chine 阅读全文
posted @ 2013-06-13 17:55 DebugLZQ 阅读(3769) 评论(0) 推荐(0) 编辑
摘要: In the earlier few articles, I made a summary of the asynchronous method call. You can click this link to access the details.So if you read the articles above, you will know we have many many ways to achieve today's topic. Otherwise, in this article I'd like to share the best practice of asy 阅读全文
posted @ 2013-06-07 21:13 DebugLZQ 阅读(373) 评论(0) 推荐(0) 编辑
摘要: 博文目录1.IOC的理论背景2.什么是IOC3.IOC也叫依赖注入(DI)4.IOC的优缺点5.IOC容器的技术剖析6.IOC容器的一些产品7.参考博文本文旨在用语言(非代码)说清楚IOC到底是什么,没有什么高深的技术,园中的老牛、大虾们看到这里可以绕行了,以免浪费您宝贵的时间。IOC这个东西DebugLZQ早就想写了,但是出于对文章权威性的考虑(不能误人子弟- -!),本文主要内容来源于最近LZ看的一些国内外的关于IOC的博文、博问,所有引用到的文章,在参考博文中均已注明。1.IOC的理论背景我们知道在面向对象设计的软件系统中,它的底层都是由N个对象构成的,各个对象之间通过相互合作,最终实现 阅读全文
posted @ 2013-06-05 17:53 DebugLZQ 阅读(46502) 评论(27) 推荐(41) 编辑
摘要: Recently I've been practising Team Founder Server, and at least on the surface, it seems very impressive. There is some great integration with Visual Studio, and lots of great tools for DBAs, testers, project managers, etc.Here is some tips for rookies like me. Those who are familiar with this t 阅读全文
posted @ 2013-06-01 04:02 DebugLZQ 阅读(554) 评论(0) 推荐(0) 编辑
摘要: Original posted byJenni KonradonJan 20, 2012Red Gate recently introduced .NET Demon, a new extension that continuously tests and compiles code in the background in Visual Studio.In order to support continuous compilation, .NET Demon replaces Visual Studio's build system. To make this process fas 阅读全文
posted @ 2013-05-31 19:46 DebugLZQ 阅读(293) 评论(0) 推荐(0) 编辑
摘要: 关于类型关于.NET中类型,在网上很多地方我们可以看到的是:值类型和引用类型两种。我也这么认为的,貌似这样认为也没有错。但本文从学术角度来说说,想到哪里就说到哪里了,各位就当是茶语饭后喝其他同事闲谈扯淡,听听就行,百家争鸣,不洗勿喷。其实还有两种,如下:简单的说一下:Value types:继承自System.ValueType的类型。Generic type parameters:带泛型参数的类型,即DebugLZQ在泛型中提到过的所谓“开类型”,其特点是在T被指定之前无法被实例化。可参考下DebugLZQ前面的这篇博文:浅谈.NET中泛型的基本原理。pointer types:指针类型,一 阅读全文
posted @ 2013-05-30 21:36 DebugLZQ 阅读(823) 评论(0) 推荐(0) 编辑
摘要: FxCop和StyleCop相似都是用来约束我们编码规范的,关于这两者以及VS自带的Code Analysis的区别可以参考DebugLZQ前面的博文。两者的安装过程非常简单,直接从网上下载这两个Cop的安装文件,按照默认设置安装即可。StyleCop安装文成后,我们就可以在VS的解决方案或是单个文件的任何位置右击使用,其默认已经集成到VS中。如下图所示。而FxCop安装完成后,并没有默认继承到VS中,安装完成后,如下:当然,我们可以运行这个“红绿灯”,新建一个FxCop Project,然后加载相应Project(编译成的exe、dll等),Analyze如下:更好的作法是,将FxCop集成 阅读全文
posted @ 2013-05-23 19:39 DebugLZQ 阅读(1395) 评论(0) 推荐(0) 编辑
摘要: Here I'm going to clarify the difference between FxCop and StyleCop and Analysis. The main reason I'm writing this post is to give a professional answer to the question about the relationship of the above three. As I'm a little bit green of the toolsI work out this artical mainly using r 阅读全文
posted @ 2013-05-22 22:39 DebugLZQ 阅读(1927) 评论(2) 推荐(0) 编辑
摘要: WPF实现不规则窗体,方法很多很多多....本文总结DebugLZQ认为简洁高效的几种方法实现WPF不规则窗体的几种常用的方法如下: 1.使用Blend等工具绘制一想要的窗体。这个可以参考xiaowei0705的这篇博文:WPF制作不规则的窗体。 2.给window的Clip属性赋Path值。这个可以参考DebugLZQ前面的博文:WPF Effect Clip以及Transform。 3.使用透明背景的PNG图像。 4.为Window主容器添加Border 5.使用Blender制作想要的Path的说明。 6.其他本文将要讲述的第一种方法,可以说一点技术含量都没有,基本不用动手编... 阅读全文
posted @ 2013-05-16 22:17 DebugLZQ 阅读(13215) 评论(11) 推荐(2) 编辑
上一页 1 2 3 4 5 6 7 ··· 23 下一页