cnliym

导航

2009年9月7日

Entity Class Serialization

摘要: 1. .NET BinarySerializer: 用来存储ViewState,可以在postback时保存entity和其相关的对象,然后在page load成功时获取对象并把它绑定到新的object context.2. .NET XML Serializer不能Serialize带有Relationships的EntityType.3. WCF DataContractSerializer在... 阅读全文

posted @ 2009-09-07 15:24 lym 阅读(154) 评论(0) 推荐(0)

2009年9月1日

指针

摘要: [回复本文] 发信人: jfar(robin), 信区: C标 题: 问个指针的问题发信站: 饮水思源 (2009年08月27日20:46:56 星期四)int a=10;int *b=&a;int **c=&b;c,*c,**c,&c分别代表什么意思呢。。在这个程序里分别指向什么啊?最后一句如果写成int *c=&b;又是什么样子呢谢谢![回复本文] 发信人: ... 阅读全文

posted @ 2009-09-01 16:18 lym 阅读(202) 评论(0) 推荐(0)

2009年8月25日

Singleton的五种方式

摘要: http://www.yoda.arachsys.com/csharp/singleton.htmlFirst version - not thread-safe// Bad code! Do not use! public sealed class Singleton { static Singleton instance=null; Singleton() { } public static ... 阅读全文

posted @ 2009-08-25 16:56 lym 阅读(270) 评论(0) 推荐(0)

2009年3月10日

RFC 2616----3.Protocol Parameters

摘要: http://www.faqs.org/rfcs/rfc2616.html 3 Protocol Parameters 3.1 HTTP Version HTTP uses a "." numbering scheme to indicate versions of the protocol. The protocol versioning policy is intended t... 阅读全文

posted @ 2009-03-10 23:56 lym 阅读(305) 评论(0) 推荐(0)

RFC2616----1.4 Overall Operation

摘要: http://www.faqs.org/rfcs/rfc2616.html 1.4 Overall Operation The HTTP protocol is a request/response protocol. A client sends a request to the server in the form of a request method, URI, and ... 阅读全文

posted @ 2009-03-10 23:11 lym 阅读(171) 评论(0) 推荐(0)

RFC2616-----1.3 Terminology

摘要: http://www.faqs.org/rfcs/rfc2616.html 1.3 Terminology This specification uses a number of terms to refer to the roles played by participants in, and objects of, the HTTP communication. conn... 阅读全文

posted @ 2009-03-10 22:09 lym 阅读(190) 评论(0) 推荐(0)

2008年11月20日

zz ASP.NET两个页面之间传递值的几种方式

摘要: ASP.NET提供了卓越的事件驱动编程模型,让开发者简化了应用程序的总体设计,但是这个也造成了它固有的一些问题,例如,使用传统的ASP里,我们可以通过使用POST方法很容易地实现页面间传递值,同样的事情,在使用事件驱动编程模型的ASP.NET就不是那么容易了,当然了,我们仍然有一些方法可以实现同样的功能。本文将试着使用不同的可能的方法来解决这个问题,但可以预见是,本文将包含使用querystr... 阅读全文

posted @ 2008-11-20 15:18 lym 阅读(230) 评论(0) 推荐(0)