寻找WCF basicHttpBinding的HTTPS教程或样品 [英] looking for WCF basicHttpBinding https tutorial or samples

查看:377
本文介绍了寻找WCF basicHttpBinding的HTTPS教程或样品的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用VSTS 2008 +的.Net 3.5 + C#开发的服务器端在IIS 7.0中一个控制台应用程序作为WCF cient,和主机WCF服务(服​​务器使用的是Windows Vista 64位)。

I am using VSTS 2008 + .Net 3.5 + C# to develop a console application as a WCF cient, and host WCF service in IIS 7.0 at server side (server using Windows Vista x64).

目前,我的WCF客户端和服务器工作得很好则是http。现在,我想添加HTTPS支持,仍然使用basicHttpBinding的。任何容易学教程?我不想做过多的修饰,以我的WCF客户端/服务器,并希望找到涉及最少的代码更改的方法。 : - )

Currently, my WCF client and server works quite well with http. Now I want to add https support and still use basicHttpBinding. Any easy to learn tutorials? I do not want to make too much modification to my WCF client/server and want to find a way which involves minimal code change. :-)

BTW:IIS的服务器证书,我想客户端接受所有服务器证书。我只是使用https加密功能。

BTW: for IIS server certificate, I want client side to accept all server certificate. And I just use https encryption feature.

在此先感谢,
乔治

thanks in advance, George

推荐答案

请参阅这些优秀的文章:

See those excellent articles:

  • Fundamentals of WCF Security
  • p&p WCF Security Application Scenarios
  • MSDN Common Security Scenarios
  • WCF Security Part 3 of 10
  • WCF Security Guidance on Codeplex - basically covers everything there is, in great detail, sometimes almost a bit too much :-)

马克

这篇关于寻找WCF basicHttpBinding的HTTPS教程或样品的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆