title: How to create stream from string in React and send it to self hosted wcf service with using JSONP
body: <p>I developing a React application wich using JSONP for communicate with my self hosted WCF service (vb.net).</p>
  
  <p>I have a text such as</p>
  
  <p>{
  "name": "John",
  "surname": "IRONHEART"
  "job":"Freelancer"
  .
  .
  .
  .
  }</p>
  
  <p>I believe that I have to change string to stream and before send to WCF service because my string is being very long always.</p>
  
  <p>My sample codes below.</p>
  
  <p>Client</p>
  
  <pre><code>componentDidMount() {
       jsonp('http://myserver/myservice/getStreamedText?mytext=' + mystreamedtext );
  }
  </code></pre>
  
  <p>WCF Service</p>
  
  <pre><code>&lt;OperationContract, Webget(ResponseFormat:=WebMessageFormat.Json)&gt;
  Public Function getStreamedText(Byval mytext as stream) as System.ServiceModel.Channels.Message
  
    ''HERE to access mytext 
  
  End Function
  </code></pre>
  
  <p>I must convert string into stream in React Client App.
  and also I must convert stream into string in WCF service</p>
  
  <p>Thanks inadvance.</p>