none
WCF Custom-Isolated Adapter Receive Large Messages RRS feed

  • Question

  • Hi

    I want my WCF Custom-Isolated adapter to be able to receive messages wthat are up to 8MB in size. What properties do I Ihave to configure in order to achieve this (MaxReceivedMessageSize etc?)

    Regards

    Tim
    SQL DBA
    Tuesday, May 12, 2009 12:22 AM

Answers

  •  
     Check the following: http://msdn.microsoft.com/en-us/library/bb245991.aspx 

    MaxReceivedMessageSize

    Integer

    Specify the maximum size, in bytes, for a message (including headers) that can be received on the wire. The size of the messages is bounded by the amount of memory allocated for each message. You can use this property to limit exposure to denial of service (DoS) attacks.

    Default value: 65536

    WCF-BasicHttp adapter

    WCF-WSHttp adapter

    WCF-NetTcp adapter

    WCF-NetNamedPipe adapter

    WCF-NetMsmq receive adapter


    - SHR
    Tuesday, May 12, 2009 12:09 PM