<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>wcf Discussions Rss Feed</title><link>http://wcf.codeplex.com/Thread/List.aspx</link><description>wcf Discussions Rss Description</description><item><title>New Post: Combining a Web API into ASP.NET WebPages</title><link>http://wcf.codeplex.com/discussions/287837</link><description>&lt;div style="line-height: normal;"&gt;I'm having the same issue when I added a razor helper class.  I get 'ASP.global_asax' not defined errors but it still compiles and runs fine as far as I can tell.  Please let me know if you ever find a solution.  Thanks.&lt;br /&gt;
&lt;/div&gt;</description><author>sumiflow</author><pubDate>Tue, 23 Apr 2013 15:47:21 GMT</pubDate><guid isPermaLink="false">New Post: Combining a Web API into ASP.NET WebPages 20130423034721P</guid></item><item><title>New Post: CheckConditionalRetrieve doesn't feel quite right</title><link>http://wcf.codeplex.com/discussions/250787</link><description>&lt;div style="line-height: normal;"&gt;&lt;blockquote&gt;
&lt;blockquote&gt;
We don't have CheckConditionalRetrieve (which has a ton of issues, but you can easily access the IfMatch, IfNoneMatch headers to do whatever logic you like. We also offer the new processor model for addressing such concerns outside the operation as a cross-cutting concern.&lt;br /&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
So I guess let me ask this: if I were to run an operation inside of my service and generate an eTag string, what is the equivalent (using HttpRequestMessage) to saying:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;_webOperationContext.IncomingRequest.CheckConditionalRetrieve(etag);&lt;/code&gt;&lt;/pre&gt;

(where etag is a string)&lt;br /&gt;
&lt;br /&gt;
Our previous code would run CheckConditionalRetrieve and catch the exception (if matched) by setting the OutgoingResponse code to 304 and supressing the body.&lt;br /&gt;
&lt;/div&gt;</description><author>draepetan</author><pubDate>Tue, 12 Feb 2013 19:09:41 GMT</pubDate><guid isPermaLink="false">New Post: CheckConditionalRetrieve doesn't feel quite right 20130212070941P</guid></item><item><title>New Post: Streaming Metro service</title><link>http://wcf.codeplex.com/discussions/395899</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Ok, I'm a little confused. So was the WCF Express Interop Bindings project part of the original WCF Web API? And now the same functionality that existed in the interop bindings is part of ASP.NET Web API? I have an existing streaming service over a net.tcp binding that needs to be consumed by a java client, will the ASP.NET Web API will allow me to do that? I dont really want to rewrite the service but rather just add a binding that the java client understands. I figured a Metro binding would do the job.&lt;/p&gt;&lt;/div&gt;</description><author>phlaz</author><pubDate>Wed, 19 Sep 2012 07:12:20 GMT</pubDate><guid isPermaLink="false">New Post: Streaming Metro service 20120919071220A</guid></item><item><title>New Post: Streaming Metro service</title><link>http://wcf.codeplex.com/discussions/395899</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;WCF Web API is no longer actively being developed (please see the announcement on the &lt;a href="http://wcf.codeplex.com/"&gt;project home page&lt;/a&gt;). You can either use WCF as part of .NET 4 or .NET 4.5 or you can use &lt;a href="http://www.asp.net/web-api"&gt;ASP.NET Web API&lt;/a&gt;. The latter is also available as &lt;a href="http://aspnetwebstack.codeplex.com/"&gt;open source on Codeplex&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;We have a sample for asynchronously streaming data in ASP.NET Web API -- you can find a detailed description in the blog &lt;a href="http://blogs.msdn.com/b/henrikn/archive/2012/02/24/async-actions-in-asp-net-web-api.aspx"&gt;Async Streaming in ASP.NET Web API&lt;/a&gt; and the source is available on Codeplex&amp;nbsp;-- see the&amp;nbsp;&lt;a href="http://aspnet.codeplex.com/SourceControl/changeset/view/15dfe7e0759f#Samples%2fNet4%2fCS%2fWebApi%2fContentControllerSample%2fReadMe.txt"&gt;VS 2010 version&lt;/a&gt; and &lt;a href="http://aspnet.codeplex.com/SourceControl/changeset/view/15dfe7e0759f#Samples%2fNet45%2fCS%2fWebApi%2fContentControllerSample%2fReadMe.txt"&gt;VS 2012 version&lt;/a&gt;&amp;nbsp;for details. For a full list of samples, please see the blog &lt;a href="http://blogs.msdn.com/b/webdev/archive/2012/08/26/asp-net-web-api-and-httpclient-samples.aspx"&gt;List of ASP.NET Web API and HttpClient Samples&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Henrik&lt;/p&gt;&lt;/div&gt;</description><author>HenrikN</author><pubDate>Tue, 18 Sep 2012 22:03:07 GMT</pubDate><guid isPermaLink="false">New Post: Streaming Metro service 20120918100307P</guid></item><item><title>New Post: Streaming Metro service</title><link>http://wcf.codeplex.com/discussions/395899</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi guys. I'm trying to create a streaming service using the interop bindings, but transferMode is not supported by metroBinding in the config file. I'm taking the same approach as I would a standard WCF service. Is there another way to do this or is streaming
 not supported by a Metro binding?&lt;/p&gt;
&lt;p&gt;Thanks very much&lt;/p&gt;
&lt;/div&gt;</description><author>phlaz</author><pubDate>Tue, 18 Sep 2012 07:29:05 GMT</pubDate><guid isPermaLink="false">New Post: Streaming Metro service 20120918072905A</guid></item><item><title>New Post: WCF Web API  self-host  in a dedicated port</title><link>http://wcf.codeplex.com/discussions/391808</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hey,&lt;/p&gt;
&lt;p&gt;We use &amp;nbsp;WCF RESTFUL Services , with configuration&lt;/p&gt;
&lt;p&gt;binding=&amp;quot;webHttpBinding&amp;quot; bindingConfiguration=&amp;quot;HttpStreaming&amp;quot; transferMode=&amp;quot;StreamedResponse&amp;quot; ,&amp;nbsp; &amp;nbsp;&amp;nbsp;aspNetCompatibilityEnabled=&amp;quot;true&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;and compression, &amp;nbsp;listening in a dedicated port &amp;nbsp;, &amp;nbsp;&amp;nbsp; with &amp;nbsp;SSL certificate on the port.&lt;/p&gt;
&lt;p&gt;Can we do exactly the same with the &amp;nbsp;new &amp;nbsp;ASP.NET Web API ?&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
&lt;/div&gt;</description><author>stephen2410</author><pubDate>Thu, 16 Aug 2012 04:04:05 GMT</pubDate><guid isPermaLink="false">New Post: WCF Web API  self-host  in a dedicated port 20120816040405A</guid></item><item><title>New Post: WCF service works on the same box but does not respond in distributed environment</title><link>http://wcf.codeplex.com/discussions/361427</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;I have created a WCF Service Library, a windows NT service to host it on my server, and a client application to consume my WCF Service.&amp;nbsp; With all three running on the same box they work as I would expect but when I try and run the client application
 on a different machine it just times out without getting an workable error message.&amp;nbsp; I thought it was a credentials issue so I added the following code to my client application without any success.&lt;/p&gt;
&lt;pre&gt;Dim proxy = New ShipService.ShipServiceClient() &lt;/pre&gt;
&lt;pre&gt;proxy.ClientCredentials.Windows.ClientCredential.Domain = &amp;quot;&amp;lt;Domain&amp;gt;&amp;quot; &lt;/pre&gt;
&lt;pre&gt;proxy.ClientCredentials.Windows.ClientCredential.UserName = &amp;quot;&amp;lt;UserName&amp;gt;&amp;quot; &lt;/pre&gt;
&lt;pre&gt;proxy.ClientCredentials.Windows.ClientCredential.Password = &amp;quot;&amp;lt;Password&amp;gt;&amp;quot;&lt;/pre&gt;
&lt;p&gt;I have tried multiple different things like setting SPN, UPN and DNS within the Identity of the endpoint.&amp;nbsp; I have even tried syncronizing the clock between machines without any success.&amp;nbsp;Also of note:&amp;nbsp; there are no firewalls between the machines,
 they are on the same domain,&amp;nbsp; the logged on user was the same on both machines and has admin rights on both,&amp;nbsp; the client credentials provided were admin level with full rights to both boxes.&amp;nbsp; It feels like clientcredentialType=windows is checking
 some other security to validate the client other than proxy.ClientCredentials.windows.clientcredential.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;strong&gt;Can&amp;nbsp;someone&amp;nbsp;shed any light as to why it works great when both client and service are on the same box but times out when
 they are on&amp;nbsp;different machines?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Here&amp;nbsp;are my WCF Service Library bindings, endpoints, etc.&lt;/p&gt;
&lt;div style="background-color:white; color:black"&gt;
&lt;pre&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;bindings&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
      &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;netTcpBinding&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
        &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;binding&lt;/span&gt; &lt;span style="color:red"&gt;name&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;ShipServiceNetTCPEndPoint&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
                 &lt;span style="color:red"&gt;closeTimeout&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;00:01:00&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
                 &lt;span style="color:red"&gt;openTimeout&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;00:01:00&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
                 &lt;span style="color:red"&gt;receiveTimeout&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;00:10:00&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
                 &lt;span style="color:red"&gt;sendTimeout&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;00:01:00&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
                 &lt;span style="color:red"&gt;transactionFlow&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;false&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
                 &lt;span style="color:red"&gt;transferMode&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;Buffered&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
                 &lt;span style="color:red"&gt;transactionProtocol&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;OleTransactions&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
                 &lt;span style="color:red"&gt;hostNameComparisonMode&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;StrongWildcard&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
                 &lt;span style="color:red"&gt;listenBacklog&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;10&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
                 &lt;span style="color:red"&gt;maxBufferPoolSize&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;524288&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
                 &lt;span style="color:red"&gt;maxBufferSize&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;65536&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
                 &lt;span style="color:red"&gt;maxConnections&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;10&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
                 &lt;span style="color:red"&gt;maxReceivedMessageSize&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;65536&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
              &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;readerQuotas&lt;/span&gt; &lt;span style="color:red"&gt;maxDepth&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;32&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
                            &lt;span style="color:red"&gt;maxStringContentLength&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;8192&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
                            &lt;span style="color:red"&gt;maxArrayLength&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;16384&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
                            &lt;span style="color:red"&gt;maxBytesPerRead&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;4096&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
                            &lt;span style="color:red"&gt;maxNameTableCharCount&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;16384&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:blue"&gt;/&amp;gt;&lt;/span&gt;
              &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;reliableSession&lt;/span&gt; &lt;span style="color:red"&gt;ordered&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;true&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
                               &lt;span style="color:red"&gt;inactivityTimeout&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;00:10:00&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
                               &lt;span style="color:red"&gt;enabled&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;false&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:blue"&gt;/&amp;gt;&lt;/span&gt;
              &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;security&lt;/span&gt; &lt;span style="color:red"&gt;mode&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;Transport&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
                     &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;transport&lt;/span&gt; &lt;span style="color:red"&gt;clientCredentialType&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;Windows&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
                                &lt;span style="color:red"&gt;protectionLevel&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;EncryptAndSign&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:blue"&gt;/&amp;gt;&lt;/span&gt;
                     &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;message&lt;/span&gt; &lt;span style="color:red"&gt;clientCredentialType&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;Windows&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:blue"&gt;/&amp;gt;&lt;/span&gt;
              &lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;security&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
         &lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;binding&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
      &lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;netTcpBinding&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
    &lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;bindings&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
    &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;behaviors&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
      &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;serviceBehaviors&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
        &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;behavior&lt;/span&gt; &lt;span style="color:red"&gt;name&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;ShipServiceBehavior&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
          &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;serviceAuthorization&lt;/span&gt; &lt;span style="color:red"&gt;impersonateCallerForAllOperations&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;false&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;/&amp;gt;&lt;/span&gt;
          &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;serviceMetadata&lt;/span&gt; &lt;span style="color:red"&gt;httpGetEnabled&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;false&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;/&amp;gt;&lt;/span&gt;
          &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;serviceDebug&lt;/span&gt; &lt;span style="color:red"&gt;includeExceptionDetailInFaults&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;true&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;/&amp;gt;&lt;/span&gt;
        &lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;behavior&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
      &lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;serviceBehaviors&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
    &lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;behaviors&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
    &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;services&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
      &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;service&lt;/span&gt; &lt;span style="color:red"&gt;behaviorConfiguration&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;ShipServiceBehavior&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;name&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;ServiceLibrary.ShipService&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
        &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;endpoint&lt;/span&gt; &lt;span style="color:red"&gt;address&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;quot; binding=&amp;quot;netTcpBinding&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;bindingConfiguration&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;quot; name=&amp;quot;ShipServiceNetTCPEndPoint&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;contract&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;ServiceLibrary.IShipService&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
        &lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;endpoint&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
        &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;endpoint&lt;/span&gt; &lt;span style="color:red"&gt;address&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;mex&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;binding&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;mexTcpBinding&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;bindingConfiguration&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;quot; name=&amp;quot;ShipServiceMexTCPEndPoint&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;contract&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;IMetadataExchange&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;/&amp;gt;&lt;/span&gt;
        &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;host&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
          &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;baseAddresses&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
            &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;add&lt;/span&gt; &lt;span style="color:red"&gt;baseAddress&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;net.tcp://192.168.1.54:58000/ShipService&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;/&amp;gt;&lt;/span&gt;
          &lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;baseAddresses&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
        &lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;host&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
      &lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;service&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
    &lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;services&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here are my client application bindings and endpoints:&lt;/p&gt;
&lt;div style="background-color:white; color:black"&gt;
&lt;pre&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;bindings&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
      &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;netTcpBinding&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
        &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;binding&lt;/span&gt; &lt;span style="color:red"&gt;name&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;ShipServiceNetTCPEndPoint&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;closeTimeout&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;00:01:00&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
            &lt;span style="color:red"&gt;openTimeout&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;00:01:00&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;receiveTimeout&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;00:10:00&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;sendTimeout&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;00:01:00&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
            &lt;span style="color:red"&gt;transactionFlow&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;false&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;transferMode&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;Buffered&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;transactionProtocol&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;OleTransactions&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
            &lt;span style="color:red"&gt;hostNameComparisonMode&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;StrongWildcard&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;listenBacklog&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;10&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
            &lt;span style="color:red"&gt;maxBufferPoolSize&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;524288&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;maxBufferSize&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;65536&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;maxConnections&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;10&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
            &lt;span style="color:red"&gt;maxReceivedMessageSize&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;65536&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
          &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;readerQuotas&lt;/span&gt; &lt;span style="color:red"&gt;maxDepth&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;32&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;maxStringContentLength&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;8192&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;maxArrayLength&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;16384&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
              &lt;span style="color:red"&gt;maxBytesPerRead&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;4096&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;maxNameTableCharCount&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;16384&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:blue"&gt;/&amp;gt;&lt;/span&gt;
          &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;reliableSession&lt;/span&gt; &lt;span style="color:red"&gt;ordered&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;true&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;inactivityTimeout&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;00:10:00&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
              &lt;span style="color:red"&gt;enabled&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;false&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:blue"&gt;/&amp;gt;&lt;/span&gt;
          &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;security&lt;/span&gt; &lt;span style="color:red"&gt;mode&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;Transport&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
            &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;transport&lt;/span&gt; &lt;span style="color:red"&gt;clientCredentialType&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;Windows&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;protectionLevel&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;EncryptAndSign&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:blue"&gt;/&amp;gt;&lt;/span&gt;
            &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;message&lt;/span&gt; &lt;span style="color:red"&gt;clientCredentialType&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;Windows&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:blue"&gt;/&amp;gt;&lt;/span&gt;
          &lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;security&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
        &lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;binding&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
      &lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;netTcpBinding&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
    &lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;bindings&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
      &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;client&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
        &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;endpoint&lt;/span&gt; &lt;span style="color:red"&gt;address&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;net.tcp://192.168.1.54:58000/ShipService&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
            &lt;span style="color:red"&gt;binding&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;netTcpBinding&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;bindingConfiguration&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;ShipServiceNetTCPEndPoint&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
            &lt;span style="color:red"&gt;contract&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;ShipService.IShipService&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;name&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;ShipServiceNetTCPEndPoint&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
          &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;identity&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
            &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;userPrincipalName&lt;/span&gt; &lt;span style="color:red"&gt;value&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;user@domain.net&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:blue"&gt;/&amp;gt;&lt;/span&gt;
          &lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;identity&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
        &lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;endpoint&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
      &lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;client&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;

&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;</description><author>stevemauldin</author><pubDate>Fri, 29 Jun 2012 17:03:20 GMT</pubDate><guid isPermaLink="false">New Post: WCF service works on the same box but does not respond in distributed environment 20120629050320P</guid></item><item><title>New Post: How to pass data between Message/Operation and ServiceContract</title><link>http://wcf.codeplex.com/discussions/267409</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Glenn,&lt;/p&gt;
&lt;p&gt;Still on Preview 6, and wondering a clean way to pull out values from request.Properties w/o having to write the same code over and over again on each resource/operation. Is there any place/hook that allow me to do this?&lt;/p&gt;
&lt;p&gt;Imagine I'm validating a API key/token in a MessageHandler and upon success I want to send some information that ALL resources/endpoints requiring authorization would use for audit purposes. &amp;nbsp;If I can find a common place where to do this, and set HttpContext.Current.Items with those properties and wrap that in a static class, then it would be easy to use that static class on every endpoint aforementioned.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is this possible?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Raciel&lt;/p&gt;&lt;/div&gt;</description><author>racielrod</author><pubDate>Fri, 15 Jun 2012 21:12:55 GMT</pubDate><guid isPermaLink="false">New Post: How to pass data between Message/Operation and ServiceContract 20120615091255P</guid></item><item><title>New Post: HttpContext.Current is null on the initial request.</title><link>http://wcf.codeplex.com/discussions/278012</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Darrel,&lt;/p&gt;
&lt;p&gt;I know this is an old post, but I'm on Preview 6 (we haven't migrated to ASP.NET WebApi yet) and I'm passing my api token (after auth granted) through the request properties.&lt;/p&gt;
&lt;p&gt;This token contains encrypted information about the destination of the operation: tenant, login, etc. Is there a way in Preview 6 to set this token in HttpContext.Current.Items so it is available across the request w/o having to do it on every resource operation?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Raciel&lt;/p&gt;&lt;/div&gt;</description><author>racielrod</author><pubDate>Fri, 15 Jun 2012 20:59:08 GMT</pubDate><guid isPermaLink="false">New Post: HttpContext.Current is null on the initial request. 20120615085908P</guid></item><item><title>New Post: Bigshelf sample app</title><link>http://wcf.codeplex.com/discussions/287882</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;/div&gt;</description><author>MichaelDBang</author><pubDate>Wed, 06 Jun 2012 11:02:17 GMT</pubDate><guid isPermaLink="false">New Post: Bigshelf sample app 20120606110217A</guid></item><item><title>New Post: Custom Formatter not getting called (solved)</title><link>http://wcf.codeplex.com/discussions/357855</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Yep, that was it.&lt;/p&gt;
&lt;p&gt;Man this is embarassing...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks a lot for your help gblock! :)&lt;/p&gt;&lt;/div&gt;</description><author>ricardobentes</author><pubDate>Thu, 31 May 2012 15:13:28 GMT</pubDate><guid isPermaLink="false">New Post: Custom Formatter not getting called (solved) 20120531031328P</guid></item><item><title>New Post: Custom Formatter not getting called (solved)</title><link>http://wcf.codeplex.com/discussions/357855</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Oh man!&lt;/p&gt;
&lt;p&gt;I'm so dumb! I've confused write and read and overrode wrong one!&lt;/p&gt;
&lt;p&gt;I'll try that right now!&lt;/p&gt;&lt;/div&gt;</description><author>ricardobentes</author><pubDate>Thu, 31 May 2012 15:00:19 GMT</pubDate><guid isPermaLink="false">New Post: Custom Formatter not getting called (solved) 20120531030019P</guid></item><item><title>New Post: Custom Formatter not getting called (solved)</title><link>http://wcf.codeplex.com/discussions/357855</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Oh man!&lt;/p&gt;
&lt;p&gt;I'm so dumb! I've confused write and read and overrode wrong one!&lt;/p&gt;
&lt;p&gt;I'll try that right now!&lt;/p&gt;&lt;/div&gt;</description><author>ricardobentes</author><pubDate>Thu, 31 May 2012 15:00:19 GMT</pubDate><guid isPermaLink="false">New Post: Custom Formatter not getting called (solved) 20120531030019P</guid></item><item><title>New Post: Custom Formatter not getting called (solved)</title><link>http://wcf.codeplex.com/discussions/357855</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for your reply!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes, just like in the example:&lt;/p&gt;
&lt;p&gt;
&lt;div style="color: black; background-color: white;"&gt;
&lt;pre&gt;&lt;span style="color: blue;"&gt;protected&lt;/span&gt; &lt;span style="color: blue;"&gt;override&lt;/span&gt; &lt;span style="color: blue;"&gt;bool&lt;/span&gt; CanReadType(Type type)
        {
            &lt;span style="color: blue;"&gt;return&lt;/span&gt; &lt;span style="color: blue;"&gt;true&lt;/span&gt;;
        }
&lt;/pre&gt;
&lt;/div&gt;
&lt;/p&gt;&lt;/div&gt;</description><author>ricardobentes</author><pubDate>Thu, 31 May 2012 14:58:36 GMT</pubDate><guid isPermaLink="false">New Post: Custom Formatter not getting called (solved) 20120531025836P</guid></item><item><title>New Post: Custom Formatter not getting called (solved)</title><link>http://wcf.codeplex.com/discussions/357855</link><description>&lt;div style="line-height: normal;"&gt;
&lt;div&gt;
&lt;div style="font-family:Calibri,sans-serif; font-size:11pt"&gt;Did you also override CanWriteType?&lt;br&gt;
&lt;br&gt;
Sent from my Windows Phone&lt;br&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;hr&gt;
&lt;span style="font-family:Tahoma,sans-serif; font-size:10pt; font-weight:bold"&gt;From:
&lt;/span&gt;&lt;span style="font-family:Tahoma,sans-serif; font-size:10pt"&gt;ricardobentes&lt;/span&gt;&lt;br&gt;
&lt;span style="font-family:Tahoma,sans-serif; font-size:10pt; font-weight:bold"&gt;Sent:
&lt;/span&gt;&lt;span style="font-family:Tahoma,sans-serif; font-size:10pt"&gt;5/31/2012 7:35 AM&lt;/span&gt;&lt;br&gt;
&lt;span style="font-family:Tahoma,sans-serif; font-size:10pt; font-weight:bold"&gt;To:
&lt;/span&gt;&lt;span style="font-family:Tahoma,sans-serif; font-size:10pt"&gt;Glenn Block&lt;/span&gt;&lt;br&gt;
&lt;span style="font-family:Tahoma,sans-serif; font-size:10pt; font-weight:bold"&gt;Subject:
&lt;/span&gt;&lt;span style="font-family:Tahoma,sans-serif; font-size:10pt"&gt;Custom Formatter not getting called [wcf:357855]&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;div&gt;
&lt;p&gt;From: ricardobentes&lt;/p&gt;
&lt;div id="ThreadNotificationPostBody"&gt;
&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;I followed an example in Contact Manager sample project and am trying to return a jpg through a Web API Get call, the formatter is inserted but not called when sending the response.&lt;/p&gt;
&lt;p&gt;Detailed steps I took:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Created my custom Formatter and overriden the OnWriteToStream method. &lt;/li&gt;&lt;li&gt;Created a sub-class of DelegatingHandler and overriden SendAsync in order to change the request's Header accept value to &amp;quot;image/jpeg&amp;quot;
&lt;/li&gt;&lt;li&gt;In Global.asax.cs, Application_Start() I insert the new custom Formatter into the beginning of the configuration Formatter list.
&lt;/li&gt;&lt;li&gt;Run the application and from chrome I send the request to the API. &lt;/li&gt;&lt;li&gt;The request is caught by the handler and modified to accept only &amp;quot;image/jpg&amp;quot; Mime type
&lt;/li&gt;&lt;li&gt;The controller does it's thing and returns a HttpResponseMessage&amp;lt;myClass&amp;gt; with the results Header content type changed to &amp;quot;image/jpeg&amp;quot;
&lt;/li&gt;&lt;li&gt;the results returns to chrome in JSon format without passing through my formatter class.
&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Any idea of what I might be doing wrong?&lt;/p&gt;
&lt;p&gt;I can provide sample code or a sample project if it helps.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks in advance!&lt;/p&gt;
&lt;p&gt;Take care,&lt;/p&gt;
&lt;p&gt;Ricardo&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</description><author>gblock</author><pubDate>Thu, 31 May 2012 14:39:39 GMT</pubDate><guid isPermaLink="false">New Post: Custom Formatter not getting called (solved) 20120531023939P</guid></item><item><title>New Post: Custom Formatter not getting called (solved)</title><link>http://wcf.codeplex.com/discussions/357855</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;I followed an example in Contact Manager sample project and am trying to return a jpg through a Web API Get call, the formatter is inserted but not called when sending the response.&lt;/p&gt;
&lt;p&gt;Detailed steps I took:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Created my custom Formatter and overriden the OnWriteToStream method. &lt;/li&gt;&lt;li&gt;Created a sub-class of DelegatingHandler and overriden SendAsync in order to change the request's Header accept value to &amp;quot;image/jpeg&amp;quot;
&lt;/li&gt;&lt;li&gt;In Global.asax.cs, Application_Start() I insert the new custom Formatter into the beginning of the configuration Formatter list.
&lt;/li&gt;&lt;li&gt;Run the application and from chrome I send the request to the API. &lt;/li&gt;&lt;li&gt;The request is caught by the handler and modified to accept only &amp;quot;image/jpg&amp;quot; Mime type
&lt;/li&gt;&lt;li&gt;The controller does it's thing and returns a&amp;nbsp;HttpResponseMessage&amp;lt;myClass&amp;gt; with the results Header content type changed to &amp;quot;image/jpeg&amp;quot;
&lt;/li&gt;&lt;li&gt;the results returns to chrome in JSon format without passing through my formatter class.
&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Any idea of what I might be doing wrong?&lt;/p&gt;
&lt;p&gt;I can provide sample code or a sample project if it helps.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks in advance!&lt;/p&gt;
&lt;p&gt;Take care,&lt;/p&gt;
&lt;p&gt;Ricardo&lt;/p&gt;
&lt;/div&gt;</description><author>ricardobentes</author><pubDate>Thu, 31 May 2012 14:34:39 GMT</pubDate><guid isPermaLink="false">New Post: Custom Formatter not getting called (solved) 20120531023439P</guid></item><item><title>New Post: how to force web api serializer using querystring</title><link>http://wcf.codeplex.com/discussions/356432</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I don't see that with the latest bits - I get JSON as the default format. If you are running the beta bits then it may be a bug -- we have added better support for wildcards and the like since then.&lt;/p&gt;&lt;/div&gt;</description><author>HenrikN</author><pubDate>Mon, 21 May 2012 06:38:43 GMT</pubDate><guid isPermaLink="false">New Post: how to force web api serializer using querystring 20120521063843A</guid></item><item><title>New Post: how to force web api serializer using querystring</title><link>http://wcf.codeplex.com/discussions/356432</link><description>&lt;div style="line-height: normal;"&gt;
&lt;div dir="ltr"&gt;Great!&lt;br&gt;
&lt;br&gt;
Thank you!&lt;br&gt;
&lt;br&gt;
How do I set up the json formatter as the default? (when no querystring is present)&lt;br&gt;
&lt;br&gt;
Right now, it defaults to xml&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
&lt;br&gt;
Netanel&lt;br&gt;
&lt;br&gt;
&lt;div&gt;
&lt;div id="SkyDrivePlaceholder"&gt;&lt;/div&gt;
&lt;hr id="stopSpelling"&gt;
From: [email removed]&lt;br&gt;
To: [email removed]&lt;br&gt;
Date: Sun, 20 May 2012 08:55:59 -0700&lt;br&gt;
Subject: Re: how to force web api serializer using querystring [wcf:356432]&lt;br&gt;
&lt;br&gt;
From: HenrikN&lt;br&gt;
&lt;div id="ecxThreadNotificationPostBody"&gt;Here's how you do it: You create a QueryStringMapping and register it with the formatters that you want to respond this way. On your HttpConfiguration object, do the following:&lt;br&gt;
&lt;pre style="background:white; color:black; font-family:Consolas; font-size:13px"&gt;            &lt;span style="color:rgb(43,145,175)"&gt;QueryStringMapping&lt;/span&gt; xmlMapping = &lt;span style="color:blue"&gt;new&lt;/span&gt; &lt;span style="color:rgb(43,145,175)"&gt;QueryStringMapping&lt;/span&gt;(&lt;span style="color:rgb(163,21,21)"&gt;&amp;quot;type&amp;quot;&lt;/span&gt;, &lt;span style="color:rgb(163,21,21)"&gt;&amp;quot;xml&amp;quot;&lt;/span&gt;, &lt;span style="color:rgb(163,21,21)"&gt;&amp;quot;application/xml&amp;quot;&lt;/span&gt;);
            &lt;span style="color:rgb(43,145,175)"&gt;QueryStringMapping&lt;/span&gt; jsonMapping = &lt;span style="color:blue"&gt;new&lt;/span&gt; &lt;span style="color:rgb(43,145,175)"&gt;QueryStringMapping&lt;/span&gt;(&lt;span style="color:rgb(163,21,21)"&gt;&amp;quot;type&amp;quot;&lt;/span&gt;, &lt;span style="color:rgb(163,21,21)"&gt;&amp;quot;json&amp;quot;&lt;/span&gt;, &lt;span style="color:rgb(163,21,21)"&gt;&amp;quot;application/json&amp;quot;&lt;/span&gt;);
 
            config.Formatters.XmlFormatter.MediaTypeMappings.Add(xmlMapping);
            config.Formatters.JsonFormatter.MediaTypeMappings.Add(jsonMapping);&lt;/pre&gt;
&lt;pre style="background:white; color:black; font-family:Consolas; font-size:13px"&gt;Thanks,&lt;/pre&gt;
&lt;pre style="background:white; color:black; font-family:Consolas; font-size:13px"&gt;Henrik&lt;/pre&gt;
&lt;/div&gt;
&lt;div id="ecxThreadNotificationFooter"&gt;Read the &lt;a href="http://wcf.codeplex.com/discussions/356432#post838583" target="_blank"&gt;
full discussion online&lt;/a&gt;.&lt;br&gt;
To add a post to this discussion, reply to this email (&lt;a href="mailto:wcf@discussions.codeplex.com?subject=[wcf:356432]"&gt;wcf@discussions.codeplex.com&lt;/a&gt;)&lt;br&gt;
To start a new discussion for this project, email &lt;a href="mailto:wcf@discussions.codeplex.com"&gt;
wcf@discussions.codeplex.com&lt;/a&gt;&lt;br&gt;
You are receiving this email because you subscribed to this discussion on CodePlex. You can
&lt;a href="https://wcf.codeplex.com/discussions/356432/unsubscribe/" target="_blank"&gt;
unsubscribe&lt;/a&gt; on CodePlex.com.&lt;br&gt;
Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at CodePlex.com&lt;br&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</description><author>nlivni</author><pubDate>Mon, 21 May 2012 04:23:39 GMT</pubDate><guid isPermaLink="false">New Post: how to force web api serializer using querystring 20120521042339A</guid></item><item><title>New Post: how to force web api serializer using querystring</title><link>http://wcf.codeplex.com/discussions/356432</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Here's how you do it: You create a QueryStringMapping and register it with the formatters that you want to respond this way. On your HttpConfiguration object, do the following:&lt;/p&gt;
&lt;pre style="font-family: Consolas; background: white; color: black; font-size: 13px;"&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;&lt;span style="color: #2b91af;"&gt;QueryStringMapping&lt;/span&gt;&amp;nbsp;xmlMapping&amp;nbsp;=&amp;nbsp;&lt;span style="color: blue;"&gt;new&lt;/span&gt;&amp;nbsp;&lt;span style="color: #2b91af;"&gt;QueryStringMapping&lt;/span&gt;(&lt;span style="color: #a31515;"&gt;"type"&lt;/span&gt;,&amp;nbsp;&lt;span style="color: #a31515;"&gt;"xml"&lt;/span&gt;,&amp;nbsp;&lt;span style="color: #a31515;"&gt;"application/xml"&lt;/span&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;&lt;span style="color: #2b91af;"&gt;QueryStringMapping&lt;/span&gt;&amp;nbsp;jsonMapping&amp;nbsp;=&amp;nbsp;&lt;span style="color: blue;"&gt;new&lt;/span&gt;&amp;nbsp;&lt;span style="color: #2b91af;"&gt;QueryStringMapping&lt;/span&gt;(&lt;span style="color: #a31515;"&gt;"type"&lt;/span&gt;,&amp;nbsp;&lt;span style="color: #a31515;"&gt;"json"&lt;/span&gt;,&amp;nbsp;&lt;span style="color: #a31515;"&gt;"application/json"&lt;/span&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;config.Formatters.XmlFormatter.MediaTypeMappings.Add(xmlMapping);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;config.Formatters.JsonFormatter.MediaTypeMappings.Add(jsonMapping);&lt;/pre&gt;
&lt;pre style="font-family: Consolas; background: white; color: black; font-size: 13px;"&gt;Thanks,&lt;/pre&gt;
&lt;pre style="font-family: Consolas; background: white; color: black; font-size: 13px;"&gt;Henrik&lt;/pre&gt;&lt;/div&gt;</description><author>HenrikN</author><pubDate>Sun, 20 May 2012 15:55:55 GMT</pubDate><guid isPermaLink="false">New Post: how to force web api serializer using querystring 20120520035555P</guid></item><item><title>New Post: how to force web api serializer using querystring</title><link>http://wcf.codeplex.com/discussions/356432</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I want to control the dataformat returned by my webapi using querystring but can not figure out how to do this.&lt;/p&gt;
&lt;p&gt;What I want is&lt;/p&gt;
&lt;p&gt;http://myhost.com/api/items?type=json&lt;/p&gt;
&lt;p&gt;or&lt;/p&gt;
&lt;p&gt;http://myhost.com/api/items?type=xml&lt;/p&gt;
&lt;p&gt;No matter what I do, I get xml.&lt;/p&gt;
&lt;p&gt;This should not be hard, what am I missing?&lt;/p&gt;
&lt;/div&gt;</description><author>nlivni</author><pubDate>Sun, 20 May 2012 12:54:59 GMT</pubDate><guid isPermaLink="false">New Post: how to force web api serializer using querystring 20120520125459P</guid></item></channel></rss>