.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Post New Web Links

StreamedRequest possible under IIS?

Posted By:      Posted Date: October 05, 2010    Points: 0   Category :WCF

I'm building a non-SOAP web service that needs to match a client's existing proprietary HTTP POST web service spec. I need to be able to set up a WebHttpBinding (WebInvoke) service with StreamedRequest enabled so that I can process the data as it's being received (the data is large and hard to parse and a lot of time can be saved by processing it as it's streaming). I've got this working great under a console app. Trying to migrate it to IIS hosting, I've run into the same issues as many others before me. This post from 2007 says that streaming isn't supported at all in IIS (everything is buffered). I've seen the workaround to force IIS to not buffer the response output, but there's no equivalent workaround for streaming the request. I've tried IIS 5.1 on XP, and plan to try under IIS7, but the posts I've seen seem to indicate IIS7 behaves the same way - IIS buffers the entire request, and then passes the complete stream to WCF. Am I just going to have to self-host? Here's what I have:

The service:

public interface IService
	[WebInvoke(UriTemplate = "", BodyStyle=WebMessageBody

View Complete Post

More Related Resource Links

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend