Which ReliableSessionBindingElement property should you configure?

You are developing a Windows Communication Foundation (WCF) service. Client applications require reliable sessions to access the service.
Users report that they receive ServerTooBusyException errors when their client application tries to establish a session.
You need to ensure that the service can handle a minimum of 30 client connection requests.
Which ReliableSessionBindingElement property should you configure?

You are developing a Windows Communication Foundation (WCF) service. Client applications require reliable sessions to access the service.
Users report that they receive ServerTooBusyException errors when their client application tries to establish a session.
You need to ensure that the service can handle a minimum of 30 client connection requests.
Which ReliableSessionBindingElement property should you configure?

A.
MaxRetryCount

B.
MaxTransferWindowSize

C.
MaxPendingChannels

D.
InactivityTimeout

Explanation:
ReliableSessionBindingElement Class
Represents the binding element that can produce the sending and receiving channels required for a reliable session between endpoints.

MaxPendingChannels property
Channels are pending when they are waiting to be accepted. Once that limit is reached,
no channels are created and put in pending mode until this number goes down (by accepting pending channels).
This is a limit for each listener.

When the threshold is reached and a remote application tries to establish a new reliable session,
the request is denied and the open operation that prompted this faults.

MaxPendingChannels Gets or sets the largest number of channels that can be pending during the reliable session.
MaxRetryCount Gets or sets the maximum number of times that a message attempts to be transferred during the reliable session.
MaxTransferWindowSize Gets or sets the largest number of messages that can exist in either the send buffer or the receive buffer.
InactivityTimeout Gets or sets an interval of time that a service remains inactive before closing.

ReliableSessionBindingElement Class
(http://msdn.microsoft.com/en-us/library/system.servicemodel.channels.reliablesessionbindingelement.aspx)



Leave a Reply 1

Your email address will not be published. Required fields are marked *