DRAG DROP
You are developing an ASP.NET MVC Web API application.
The application must meet the following requirements:
It must send or receive data without the use of a buffer. It must allow up to 1 MB of data to
be received. It must allow up to 2 MB of data to be sent.
You need to complete the code to meet the requirements.
What should you do? (To answer, drag the appropriate code segments to the correct
location or locations in the answer area. Each code segment may be used once, more than
once, or not at all. You may need to drag the split bar between panes or scroll to view
content.)
You need to complete the code to meet the requirements
DRAG DROP
You are developing an ASP.NET MVC Web API application.
The application must meet the following requirements:
It must send or receive data without the use of a buffer. It must allow up to 1 MB of data to
be received. It must allow up to 2 MB of data to be sent.
You need to complete the code to meet the requirements.
What should you do? (To answer, drag the appropriate code segments to the correct
location or locations in the answer area. Each code segment may be used once, more than
once, or not at all. You may need to drag the split bar between panes or scroll to view
content.)
wrong answer
config.maxbuffersize
config.maxreceivedmessagesize
config.transfermode = transfermode.streamed
no, is a diferent question.
I agree with Scar.
https://msdn.microsoft.com/pl-pl/library/system.servicemodel.transfermode(v=vs.110).aspx
TransferMode.Server it doesn’t exists