- 浏览: 3888 次
- 性别:
- 来自: 大连
-
最近访客 更多访客>>
文章列表
Classic mode (the only mode in IIS6 and below) is a mode where IIS only works with ISAPI extensions and ISAPI filters directly. In fact, in this mode, ASP.NET is just an ISAPI extension (aspnet_isapi.dll) and an ISAPI filter (aspnet_filter.dll). IIS just treats ASP.NET as an external plugin implement ...
- 2012-02-19 18:25
- 浏览 904
- 评论(0)
使用Conditional
1.在方法级别,相应的方法会被编译,调用处会有条件执行。
2.方法不能有返回值。
3.方法避免使用参数,以免引起难察觉的问题。
1. 将共有数据成员改成属性,将生成不同的IL指令,为代码级别兼容性,需要重新编译所有程序集,应该从一开始就使用属性。
2. 对调用者来说,属性访问更容易被视为数据访问,所以隔天方法不应该有不可见的逻辑调用,避免性能上的太大差别,而set方法应该让调用者可以看到改变。
3. 属性支持数据绑定。
4. 数据成员应该私有,使用属性进行访问。
SQL Azure needs every table has clustered index