2010-11-11 28 views
0

我使用WindowsAuthentication在我的Silverlight应用程序Silverlight的Windows身份验证和运行小提琴手

下面是我在web.config中

<authentication mode="Windows"/> 



<basicHttpBinding> 
    <binding name="ServiceBinding" maxBufferSize="2147483647" maxBufferPoolSize="2147483647" 
     maxReceivedMessageSize="2147483647"> 
     <readerQuotas maxStringContentLength="2147483647" maxArrayLength="2147483647" 
     maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" /> 
     <security mode="TransportCredentialOnly"> 
     <transport clientCredentialType="Ntlm" proxyCredentialType="None" realm="" /> 
     <message clientCredentialType="UserName" algorithmSuite="Default" /> 
     </security> 
    </binding> 
    </basicHttpBinding> 

它的正常工作做了设置,但是当过我运行提琴手,应用程序要求输入用户名和密码!有没有人知道背后的原因。

谢谢 纳西姆

回答

0

在提琴手Beta 2中,有一个选项 “使用代理资格证书”。

,也可以使用自定义您的开发服务器上的提琴手规则:

if (oSession.HostnameIs("www.example.com")){ 
oSession.bypassGateway = true; 
} 

这里是链接如何做到这一点: http://www.fiddler2.com/fiddler/dev/scriptsamples.asp

+0

谢谢了Mazhar,我都尝试过,但它没工作:( – user481130 2010-11-12 00:13:25