在那裏我可以設置爲我服務的用戶名和密碼,使用basicHttpBinding的在Windows服務承載的WCF basicHttpBinding的設置憑據
<binding name="proxioBasicHttpBinding"
closeTimeout="05:00:00"
openTimeout="05:00:00"
receiveTimeout="05:00:00"
maxBufferSize="2147483647"
maxReceivedMessageSize="2147483647"
messageEncoding="Mtom"
transferMode="Streamed" >
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
<security mode="TransportCredentialOnly">
<transport clientCredentialType="Digest" proxyCredentialType="None"
realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
如果該服務在Windows服務託管?
你的意思是你要安裝或客戶端誰就會跟你的服務的服務用戶名/密碼? –