我对IIS中的WCF配置有疑问 [英] I had doubt in WCF Configuration in IIS
本文介绍了我对IIS中的WCF配置有疑问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我创建了简单的WCF应用程序。我在我的IIS中托管。
然后我在我的浏览器中输入我的IP地址,如(192.168.0.12),但它显示我的CompterName图像如下,< br $> b $ b
< img alt =src =http://postimg.org/image/sz9voz93r//>
点击我!查看图像。
请帮帮我....!
提前致谢
解决方案
< blockquote>
<! - 版权所有(c)微软公司。版权所有。 - >
< 配置 >
< system.servicemodel >
< servicehostingenvironment multiplesitebindingsenabled = true >
< / servicehostingenvironment >
<! - 出于调试目的,将includeExceptionDetailInFaults属性设置为true 跨度> - >
< 行为 >
< servicebehaviors >
< 行为 >
< servicemetadata httpgetenabled = True / >
< servicedebug in cludeexceptiondetailinfaults = False / >
< / behavior >
< / servicebehaviors >
< / behavior >
< / system.servicemodel >
< / configuration >
以上配置解决了身份验证问题wcf的IP地址问题(使用app pool 4.0)
I did created simple WCF application. and i hosted in my IIS.
Then I type my Ip Address in my browser like(192.168.0.12) but it shows my CompterName The Image is given below,
<img alt="" src="http://postimg.org/image/sz9voz93r/" />
Click Me! To View the image.
Please help me....!
Thanks in advance
解决方案
<!-- Copyright (c) Microsoft Corporation. All Rights Reserved. --> <configuration> <system.servicemodel> <servicehostingenvironment multiplesitebindingsenabled="true"> </servicehostingenvironment> <!--For debugging purposes set the includeExceptionDetailInFaults attribute to true--> <behaviors> <servicebehaviors> <behavior> <servicemetadata httpgetenabled="True" /> <servicedebug includeexceptiondetailinfaults="False" /> </behavior> </servicebehaviors> </behaviors> </system.servicemodel> </configuration>
The above configuration solves authentication problem and IP address problen for wcf(using app pool 4.0)
这篇关于我对IIS中的WCF配置有疑问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文