And then set my service to use that binding configuration:

      <service behaviorConfiguration="MyBehaviour" name="MyStreamingService">
<endpoint address=""
binding="basicHttpBinding"
bindingConfiguration="StreamingFileTransferServicesBinding"
contract="IMyStreamingService" />
<endpoint address="mex"
binding="mexHttpBinding"
contract="IMetadataExchange" />
</service>


Also in the binding configuration there are several different streaming types we can setup:



Streamed - Both in and out messages are streamed

StreamedRequest - Messages sent from client to server are streamed

StreamedRespone - Only messages returned from the server to the client are streamed

Buffered - This is the default of buffering all data and sending it in one burst