When my browser sends an ajax/json request to the server, it calls several services to gather data of different lengths before displaying it in the browser.
Instead of waiting for all the data to be retrieved at once, I would prefer to receive the data (json) as each individual call completes. This way, I can show the information on the UI even if some service calls take longer than others, preventing a blank screen.
I believe it is possible to have an ASP.NET web page or handler send data back to the client without buffering it.
On the client side, is there a way to process ajax responses before they are fully completed? Can this be achieved?
I am also considering if using a multipart MIME data type could be helpful in this scenario...?