Which code segment should you insert at line 07?

You are developing a Windows Communication Foundation (WCF) service to provide an
inmemory cache for many Web applications. The service contract is defined as follows.
(Line numbers are included for reference only.) You need to ensure that all users share the
cache. Which code segment should you insert at line 07?

You are developing a Windows Communication Foundation (WCF) service to provide an
inmemory cache for many Web applications. The service contract is defined as follows.
(Line numbers are included for reference only.) You need to ensure that all users share the
cache. Which code segment should you insert at line 07?

A.
[ServiceBehavior(TransactionlsolationLevel = IsolationLevel.RepeatableRead)]

B.
[ServiceBehavior(InstanceContextMode = InstanceContextMode.Single)]

C.
[ServiceBehavior(InstanceContextMode = InstanceContextMode.PerSession)]

D.
[ServiceBehavior(TransactionlsolationLevel = IsolationLevel.ReadCoromitted)]



Leave a Reply 0

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