带有Windows身份验证的IIS7上的WCF [英] WCF on IIS7 with windows authentication

查看:79
本文介绍了带有Windows身份验证的IIS7上的WCF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有简单的Web服务,我想从Windows Forms应用程序中使用它.我按照此链接创建了应用程序.我只是想让演练在我的计算机上工作.
http://msdn.microsoft. com/en-us/library/cc949012.aspx

我无法为公开的方法创建代理.也无法从IE浏览服务.本演练使用IIS6或IIS5.1.我正在使用Windows Vista商业版.
我在网上发现了很多解决方案,不要错过我所错过的解决方案,没有一个可以帮助我.所以我在这里:(.

有人可以和我实际分享在IIS7上写的代码吗?

我正在使用Windows Vista Business Edition SP1和VSTS2008 SP1


Genius先生

Hi,

I have simple webservice, i want to consume it from a windows forms application. i followed this link to create the application. I just wanted to make the walkthrough work on my machine.
http://msdn.microsoft.com/en-us/library/cc949012.aspx

I am not able to create proxy for the exposed methods. Also unable to browse the service from IE. The walkthrough uses IIS6 or IIS5.1. I am using windows vista business edition.
I have found so many solutions on net, donno what have i missed, none of them helped me out. so im here :(.

Can someone please actually share the code with me which was written on IIS7?

I am using Windows Vista Business Edition with SP1, VSTS2008 with SP1


Mr Genius

推荐答案



尝试浏览时会出现什么错误来自IE的服务?您是否检查了IIS上是否正确配置了虚拟目录?.

关于,
Pablo.
Hi,

What error do get when you try to browse the service from IE ?. Have you checked that the virtual directory is correctly configured on IIS ?.

Regards,
Pablo.


这篇关于带有Windows身份验证的IIS7上的WCF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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