[源码下载]
稳扎稳打Silverlight(22) - 2.0通信之调用WCF服务, 对传输信息做加密
作者:webabcd
介绍
Silverlight 2.0 调用 WCF 服务,对客户端与服务端传输的消息做加密
在 Visual Studio 2008 中使用"添加服务引用"会自动生成代理类。只支持BasicHttpBinding
在线DEMO
http://www.cnblogs.com/webabcd/archive/2008/10/09/1307486.html
示例
clientaccesspolicy.xml
1、调用 WCF 服务
WCFService.cs(WCF 服务)
WCF.xaml
WCF.xaml.cs
2、对客户端与服务端传输的消息做加密
WCFService.cs(WCF 服务)
Cryptography.xaml
Cryptography.xaml.cs
OK
[源码下载]