RE: MTOM vs HttpWebRequest for file upload
- From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng[MSFT])
- Date: Tue, 24 Oct 2006 06:40:16 GMT
{\rtf1\ansi\ansicpg936\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\lang2052\f0\fs20 Hello Russell,
\par
\par As for the file uploading from your client winform application to the server service, do you need to do additional authentication against the client before upload or at each file uploading?
\par
\par Regardless of any other requirement, from performance perspective, use HTTP POST to upload file will be more efficient because the file content is directly transfered as binary content in the http post request. While using WSE MTOM, it still use some particular encoding schema to convert the file content thus it will add some additional overhead. However, comparing to directly transfer byte[] in webservice method, using MTOM will be much more efficient.
\par
\par You can consider which approach to use according to your scenario. If there is any other questions on this, please feel free to post here.
\par
\par Sincerely,
\par
\par Steven Cheng
\par
\par Microsoft MSDN Online Support Lead
\par
\par
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par }
- Follow-Ups:
- Re: MTOM vs HttpWebRequest for file upload
- From: russell.lane
- Re: MTOM vs HttpWebRequest for file upload
- References:
- MTOM vs HttpWebRequest for file upload
- From: russell.lane
- MTOM vs HttpWebRequest for file upload
- Prev by Date: Consuming a webservice from a class library
- Next by Date: Bad performance on Web Service call
- Previous by thread: MTOM vs HttpWebRequest for file upload
- Next by thread: Re: MTOM vs HttpWebRequest for file upload
- Index(es):