Does MultipartFileStreamProvider efficiently save file uploads?

nortonrome

New Member
I have a question regarding the MultipartFileStreamProvider which is used for file uploads using Web Api. When a file upload occurs, is it loaded into memory and then streamed to a file? Or is the content read directly (part by part) from the Request content and subsequently streamed to a file (thereby reducing server memory allocation). I am trying to determine if a large file will be loaded into memory before being saved to a file using this class.
 
Back
Top