File download through WCF slower than through IIS

前端 未结 6 1728
孤独总比滥情好
孤独总比滥情好 2020-12-08 03:35

The following method (in which I hopefully did not make any mistakes while dramatically simplifying it for this post) is working properly and set up using the Streamed trans

6条回答
  •  醉梦人生
    2020-12-08 04:18

    I don't know the answer to your first question (I think you need to provide more code to show what you are doing for both your tests), but your second question regarding the disposal of the stream, the answer is that you need to do it yourself.

    Here is an excellent blog entry which has some great code for just this purpose.

提交回复
热议问题