此方法显式使用的 CAS 策略已被 .NET Framework 弃用。若要出于兼容性原因而启用 CAS 策略,请使用 NetFx40_LegacySecurityPolicy 配置开关
摘要:9 down voteJust add this<NetFx40_LegacySecurityPolicy enabled="true"/> into your VS2010 DevEnv configuration file, you'll find it in C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe.configThere is a <runtime> section, just copy it at the first plac
阅读全文
posted @
2012-03-17 19:23
武胜-阿伟
阅读(7720)
推荐(0) 编辑
WCF传输泛型 List 对象 转
摘要:http://www.cnblogs.com/WizardWu/archive/2009/08/09/1542102.html在 WCF 中,在 Server-side 和 Client-side 之间,传递默认无法传输的 List<T>、List<自定义类> 等类型的对象,以及传递 Dictionary 等泛型 Collection 对象。本帖并无高来高去的高深技术,但版工我认为本帖的小技巧实用性很高,而且是每个学习 WCF 的人都一定会遇到的问题,因此斗胆将本文发在博客园首页。---------------------------------------------
阅读全文
posted @
2012-03-17 18:49
武胜-阿伟
阅读(989)
推荐(0) 编辑