2010-11-11 40 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