And then set my service to use that binding configuration:

      <service behaviorConfiguration="MyBehaviour" name="MyStreamingService">
<endpoint address=""
contract="IMyStreamingService" />
<endpoint address="mex"
contract="IMetadataExchange" />

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