How to display console stream data in ASP.NET?
Posted on 2007-12-05
I just asked a similar question about displaying console output to a ASP.NET textbox and that did the trick. However, I am using the following lines:
System.Diagnostics.Process p = System.Diagnostics.Process.Start(info);
this.txtStatus.Text = p.StandardOutput.ReadToEnd();
This appears to wait until the entire process is done before showing any output. Is there someway to get it to display dynamically, i.e., whenever something is output from the console? This is very urgent, so I appreciate your help!