开发者

Silverlight windows authentication and running fiddler

I'm using WindowsAuthentication in my silverlight application

Here is the setting that I have done in 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 cl开发者_运维问答ientCredentialType="UserName" algorithmSuite="Default"   />
      </security>
    </binding>
  </basicHttpBinding>

it's working fine ,but when ever i run fiddler, the application asks for the username and password! Does any one knows what is the reason behind that.

Thank you, Naseem


In fiddler beta 2, there is a option "use proxy credentials".

Or you can customize the fiddler rule for your development server using:

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

here is the link how to do it: http://www.fiddler2.com/fiddler/dev/scriptsamples.asp

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜