none
Bug: Streaming using WCF with .Net 4 & IIS7 RRS feed

Answers

  • Hi,

    Yes, it is the same true when downloading file from the server.

    In previous versions of WCF when receiving a message for an IIS-hosted service that used streaming message transfer, ASP.NET would buffer the entire message before sending it to WCF. and this buffering has been removed in .NET 4.5 and now IIS-hosted WCF services can start processing the incoming stream before the entire message has been received.

    For more information, please try to refer to the msdn article:
    http://msdn.microsoft.com/en-us/library/hh309266(v=vs.110).aspx .

    Best Regards,
    Amy Peng


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Marked as answer by lax4u Thursday, January 16, 2014 11:27 PM
    Wednesday, January 15, 2014 10:05 AM
    Moderator

All replies

  • Windows Communication Foundation (WCF) can communicate in two transfer modes—buffered or streaming. In the default buffered transfer mode, a message must be completely delivered before a receiver can read it. In the streaming transfer mode, the receiver can begin to process the message before it is completely delivered. The streaming mode is useful when the information that is passed is lengthy and can be processed serially. Streaming mode is also useful when the message is too large to be entirely buffered.
    Wednesday, January 8, 2014 7:22 AM
  • Please read my question again.  I'm not asking the difference between buffered & streaming mode. In Streaming mode, the stream getting buffered on the server before passing down to client when the WCF service (.NET4) hosted in IIS 7. and im asking is this a bug in WCF framework 


    • Edited by lax4u Wednesday, January 8, 2014 4:10 PM
    Wednesday, January 8, 2014 4:00 PM
  • Hi,

    Yes, it is the same true when downloading file from the server.

    In previous versions of WCF when receiving a message for an IIS-hosted service that used streaming message transfer, ASP.NET would buffer the entire message before sending it to WCF. and this buffering has been removed in .NET 4.5 and now IIS-hosted WCF services can start processing the incoming stream before the entire message has been received.

    For more information, please try to refer to the msdn article:
    http://msdn.microsoft.com/en-us/library/hh309266(v=vs.110).aspx .

    Best Regards,
    Amy Peng


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Marked as answer by lax4u Thursday, January 16, 2014 11:27 PM
    Wednesday, January 15, 2014 10:05 AM
    Moderator