Which XML segment should you add to the system.serviceModel configuration section of the web.config file?

Four Windows Communication Foundation (WCF) services are hosted in Microsoft Internet
Information Services (IIS). No behavior configuration exists in the web.config file. You need
to configure the application so that every service and endpoint limits the number of
concurrent calls to 50 and the number of concurrent sessions to 25. Which XML segment
should you add to the system.serviceModel configuration section of the web.config file?

Four Windows Communication Foundation (WCF) services are hosted in Microsoft Internet
Information Services (IIS). No behavior configuration exists in the web.config file. You need
to configure the application so that every service and endpoint limits the number of
concurrent calls to 50 and the number of concurrent sessions to 25. Which XML segment
should you add to the system.serviceModel configuration section of the web.config file?

A.
<behaviors> < serviceBehaviors > < behavior name= ” * ” > < serviceThrottling
maxConcurrentCalls =”50″ maxConcurrentSessions =”25″/> </behavior> </
serviceBehaviors > </behaviors>

B.
< behaviors> < serviceBehaviors > <behavior name=”default”> < serviceThrottling
maxConcurrentCalls =”50″ maxConcurrentSessions =”25″/> </behavior> </
serviceBehaviors > </behaviors>

C.
<behaviors> < serviceBehaviors > <behavior name=””> < serviceThrottling
maxConcurrentCalls =”50″ maxConcurrentSessions =”25″/> </behavior> </
serviceBehaviors > </behaviors>

D.
<behaviors> < serviceBehaviors > <behavior name=” ALL “> < serviceThrottling
maxConcurrentCalls =”50″ maxConcurrentSessions =”25″/> </behavior> </
serviceBehaviors > </behaviors>



Leave a Reply 0

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