<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Binary Http Binding</title><link>http://blogs.msdn.com/drnick/archive/2009/07/01/binary-http-binding.aspx</link><description>Do I need IIS7 to use binary with HTTP for WCF? No, all you need is a custom binding because we don’t include a standard binding with that configuration out of the box. Here’s a quick example of putting binary and HTTP together with either code or configuration:</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Binary Http Binding</title><link>http://blogs.msdn.com/drnick/archive/2009/07/01/binary-http-binding.aspx#9831721</link><pubDate>Mon, 13 Jul 2009 17:33:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9831721</guid><dc:creator>William</dc:creator><description>&lt;p&gt;How do we make use of Windows Integrated Authentication with the new binaryMessageEncoding? I have not been able to get this to work. In SL2, we could use the basicHttpBinding with security mode set to &amp;quot;TransportCredentialOnly&amp;quot; and the transport clientCredentialType set to &amp;quot;Windows&amp;quot;, and then we had the context of the windows user passed to the service. I would like to know how to do that with a BinaryMessageEncoding. Thanks!&lt;/p&gt;</description></item><item><title>re: Binary Http Binding</title><link>http://blogs.msdn.com/drnick/archive/2009/07/01/binary-http-binding.aspx#9833538</link><pubDate>Wed, 15 Jul 2009 00:11:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9833538</guid><dc:creator>Nicholas Allen</dc:creator><description>&lt;p&gt;Hi William,&lt;/p&gt;
&lt;p&gt;Thanks for the report. &amp;nbsp;I'm following up with the Silverlight team to see if there are any known issues or steps needed to get binary working with Windows auth.&lt;/p&gt;
</description></item><item><title>re: Binary Http Binding</title><link>http://blogs.msdn.com/drnick/archive/2009/07/01/binary-http-binding.aspx#9845071</link><pubDate>Wed, 22 Jul 2009 21:02:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9845071</guid><dc:creator>Nicholas Allen</dc:creator><description>&lt;p&gt;Steve W wrote in to say:&lt;/p&gt;
&lt;p&gt;I had the same issue trying to get binary http encoding working with windows authentication and silverlight 3 - in the end it turns out to be fairly easy to solve - the config required is something like this:&lt;/p&gt;
&lt;p&gt;&amp;lt;bindings&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;customBinding&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;binding name=&amp;quot;HttpBinaryBinding&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;binaryMessageEncoding /&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;httpTransport authenticationScheme=&amp;quot;Negotiate&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/binding&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/customBinding&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/bindings&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;behaviors&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;serviceBehaviors&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;behavior name=&amp;quot;default&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;serviceAuthorization impersonateCallerForAllOperations=&amp;quot;false&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;serviceDebug includeExceptionDetailInFaults=&amp;quot;true&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/behavior&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/serviceBehaviors&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/behaviors&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;services&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;service behaviorConfiguration=&amp;quot;default&amp;quot; name=&amp;quot;Surveys.Services.SurveyService&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;endpoint address=&amp;quot;&amp;quot; binding=&amp;quot;customBinding&amp;quot; name=&amp;quot;SurveyServiceBinaryHttpEndpoint&amp;quot; bindingConfiguration=&amp;quot;HttpBinaryBinding&amp;quot; contract=&amp;quot;Surveys.Services.ISurveyService&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/service&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/services&amp;gt;&lt;/p&gt;
&lt;p&gt;The key is simply to use authenticationScheme=&amp;quot;Negotiate&amp;quot; (or presumably something more specific) in the binding rather than trying to use the &amp;lt;security&amp;gt; element in the binding.&lt;/p&gt;
</description></item></channel></rss>