http://blogs.msdn.com/b/dsnotes/archive/2015/08/21/upload-download-large-files-using-wcf-hosted-on-iis-413-request-entity-too-large.aspx
WCF 로 첨부파일 대용량을 업로드 하여 전송을 해봤습니다.
왜 안되는지 이를 확인하기 위해, WCF verbose level tracing 작업을 합니다.
트레킹을 하다보니, 아래 처럼 로그가 존재합니다.
<Exception>
<ExceptionType>System.ServiceModel.ProtocolException, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
<Message>The remote server returned an unexpected response: (413) Request Entity Too Large.</Message>

그래서 iis 의 요청필터를 선택해 봅니다.
request 에 대한 용량을 제한하는 부분이 있는데 이를 30000000 로 정합니다. (바이트 기준)
28.6MB 정도로 보시면 되겠습니다.

그 다음엔 iis 의 구성 편집기를 확인해 봅니다.
섹션에서 system.webServer/serverRumtime 을 선택하면 나옵니다.
여기서 uploadReadAheadSize 속성이 있는데, 이는 웹서버에서 ISAPI extentsion 에 전달하거나 buffer 를 읽을 때 byte 들을 설정하는 값입니다. 이는 사용자가 request 을 하자마자 발생하며, ISAPI 확장자는 사용자로부터 직접적으로 추가적인 데이터를 받습니다.
범위는 0 부터 4 GB 정도 입니다.
50 MB 를 설정하기 위해, 52428800 를 설정합니다. 이 또한 BYTE 수치로 설정합니다.
The UploadReadAheadSize property establishes the number of bytes a Web server will read into a buffer and pass to an ISAPI extension. This occurs once per client request. The ISAPI extension receives any additional data directly from the client. The range is from 0 to &HFFFFFFFF (4 GB).
