摘要: 微软的东西太多,文档找起来也不是很方便,特别是版本一多,产品更新,贴一些锁碎的小问题在这:IE9需要在注册表里添加 FEATURE_AUTOCONFIG_BRANDING来启用这个功能:自动配置http://technet.microsoft.com/zh-cn/library/gg699443.aspx脚本示例:附录 B: 自动代理配置脚本示例http://technet.microsoft.com/zh-cn/library/cc985335.aspx#BKMK_Ex1 阅读全文
posted @ 2012-09-21 12:15 Leo Tang 阅读(3116) 评论(0) 推荐(0) 编辑
摘要: Recently, I wan't to enable WCF message logging for troubleshooting. However, the configuration posted on MSDN site doesn't work for me, neither log file was generated nor error returned.Finally, I tried a lucky configuration section from my collegue. Then, all things comes back, the setting 阅读全文
posted @ 2012-09-14 16:51 Leo Tang 阅读(382) 评论(0) 推荐(0) 编辑
摘要: When host WCF service on IIS, you may encounter this issue. Of course we can simply enable Anonymous Authentication on IIS to resolve this issue.However, sometimes we don't want to enable Anonymous Authentication on IIS, then we need to adjust the service security settings to fix this issue. Wha 阅读全文
posted @ 2012-08-08 17:47 Leo Tang 阅读(1025) 评论(0) 推荐(0) 编辑
摘要: If we use data contract in WCF, the default soap message looke like:<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Header /> <s:Body> <GetDataUsingDataContractResponse xmlns="http://tempuri.org/"> <GetDataUsingDataContractResult xml 阅读全文
posted @ 2012-07-27 15:00 Leo Tang 阅读(258) 评论(0) 推荐(0) 编辑
摘要: In .Net4, the <service/> element is optional, it will add the default endpoint.A custom said thathe always encounter an error "Can't find endpoint" <system.serviceModel> <services> <service name="WcfService1.Service1" behaviorConfiguration="WcfServic 阅读全文
posted @ 2012-07-23 16:01 Leo Tang 阅读(156) 评论(0) 推荐(0) 编辑
摘要: Designer:<sap:ActivityDesigner x:Class="CompositeActivity.CompositeDesigner" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:sap="clr-namespace:System.Activities.Presentation;assembly 阅读全文
posted @ 2012-07-02 12:19 Leo Tang 阅读(509) 评论(0) 推荐(0) 编辑
摘要: Effective communications require quality content, language, format, and more. The entire point of communications is to disseminate information; this is where written content comes in. To present the appropriate content, it is imperative to understandaudience and writing purpose. If a document does n 阅读全文
posted @ 2012-06-08 12:02 Leo Tang 阅读(158) 评论(0) 推荐(0) 编辑
摘要: Definition:Identify the aspects of your application that vary and separate them from what stays the sameSample Code:namespace StrategyPattern{ public abstract class Duck { protected FlyBehavior flyBehavior; protected QuackBehavior quackBehavior; public Duck() { } pu... 阅读全文
posted @ 2012-04-11 18:54 Leo Tang 阅读(132) 评论(0) 推荐(0) 编辑
摘要: Hello blog! 阅读全文
posted @ 2012-04-06 19:20 Leo Tang 阅读(103) 评论(0) 推荐(0) 编辑