- 博客(11)
- 资源 (1)
- 收藏
- 关注
转载 经典C#面试题集锦(一)
1、在C#中,string str = null 与 string str = " "有何区别?答:string str = null 是不给他分配内存空间,而string str = "" 给它分配长度为空字符串的内存空间.2、请简述在.net中类(class)与结构(struct)的异同。答:Class可以被实例化,属于引用类型,是分配在内存的堆上的,Struct属于值类型,是分配在
2009-08-31 17:43:00 789
转载 Contract Generation from WSDL/XML Schema - DataContractSerializer vs. XmlSerializer
WCF LOB Adapter SDK metadata object model generates WSDL / XML Schema with constructs that are well-liked by DataContractSerializer. The Svcutil.Exe creates a proxy / service interfa
2009-08-11 14:26:00 2677
原创 WCF minOccures = "0" 实现
[System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.648")][System.SerializableAttribute()][System.Diagnostics.DebuggerStepThroughAttribute()][System.ComponentModel.DesignerCategoryAtt
2009-08-07 16:43:00 638
原创 There is not a header with name ServiceContext and namespace http://schemas.microsoft.com/sharepoint/servicecontext in the messa
There is not a header with name ServiceContext and namespace http://schemas.microsoft.com/sharepoint/servicecontext in the message 解决方式: 在message 里加上 她所需要的东西: public object BeforeSendRequ
2009-08-06 15:12:00 1097
原创 添加复杂类型 在 message header
public object BeforeSendRequest(ref System.ServiceModel.Channels.Message request, System.ServiceModel.IClientChannel channel) { requestMessage = request.ToStri
2009-08-06 14:54:00 2366
原创 exception
Let me clarify this a bit....This post is a bit old and I assumed it fell into some kind of a forum black hole. Ive found out what the problem actually is. I ended up having to do a work-around, t
2009-08-06 14:20:00 1239
转载 Adding a Message Header without using a MessageContract
Adding a Message Header without using a MessageContract Using Message contracts is quite a straight forward way of creating and adding message headers.But then again you might just want to add a hea
2009-08-06 13:59:00 865
原创 cmd
winver---------检查Windows版本 wmimgmt.msc----打开windows管理体系结构(WMI) wupdmgr--------windows更新程序 wscript--------windows脚本宿主设置 write----------写字板 winmsd---------系统信息 wiaacmgr-------扫描仪和照相机向导 winchat--------XP
2009-08-06 10:57:00 511
转载 cmd
winver---------检查Windows版本 wmimgmt.msc----打开windows管理体系结构(WMI) wupdmgr--------windows更新程序 wscript--------windows脚本宿主设置 write----------写字板 winmsd---------系统信息 wiaacmgr-------扫描仪和照相机向导 win
2009-08-06 10:55:00 486
转载 Microsoft Service Trace Viewer 截获消息
WCF服务编程-WCF应用程序的消息跟踪 对于WCF的消息跟踪主要有Microsoft Service Trace Viewer(服务跟踪查看器)和tcpTrace这两个。服务跟踪查看器工具功能比较强大可以了解 WCF 侦听器生成的诊断跟踪信息,从而找到错误的根本原因。该工具提供了一种轻松查看、分组和筛选跟踪的方法,以便可以诊断、修复和验证 WCF 服务的问题。但是使用之前需要在服务端作相
2009-08-05 18:11:00 3593 1
转载 搜索技巧
1.使用逻辑词辅助查找 比较大的搜索引擎都支持使用逻辑词进行更复杂的搜索界定,常用的有:AND(和)、OR(或)、NOT(否,有些是AND NOT)及NEAR(两个单词的靠近程度),恰当应用它们可以使结果非常精确,另外,也可以使用括号将搜索词分别组合,如在http://www.liszt.con(Liszt)里:((music or jazz) and edu) not ("bill morr
2009-08-03 15:14:00 543
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人