Consider an ASP.NET page with this code:
while (read)
{
Response.OutputStream.Write(buffer, 0, buffer.Length);
Response.Flush();
}
The application should be highly performance-tuned and handle thousands on concurrent requests and the main purpose is transferring huge binary file to clients over high speed connections. I can do the job with an ASP.NET page
, with HTTP Handler
, IHttpAsyncHandler
, ISAPI filter
and ...
The question is what is the best choice for this purpose ?