A Windows Communication Foundation (WC9 service implements a contract with one-way
and requestreply operations. The service is exposed over a TCP transport Clients use a
router to communicate with the service. The router is impemented as follows. (Line numbers
are included for reference only.) 01 Dim host As ServiceHost = 02 New
ServiceHost(GetType(RoutingService)) 03 hostAddServiceEndpoint( 04
GetType(lSimplexDatagramRouter), 05 New NetTcpBinding0, “net.tcp://localhostlRouter”
06) 07 Dim lep As List(Of ServiceEndpoint) = 08 New List(Of SenviceEndpointx) 09 lepAdd(
10 New ServiceEndpoint( 11 CortractDescription.GetContract( 12
GetType(lSimplexDatagramRouter) 13)1 14 New NetTcpBinding0,x 15 New
EndpointAddressf’nettcp://localhost:8080/Logger’) 16) 17) 18 Dim rc As
RoutingConfiguration = New RoutingConfiguration() 19 rc . FitterTable.Add(New
Matctf4llMessageFilter0, lep) 20 host. Description. Behaviors.Add(New
RoutingBehavior(rc)) Request-reply operations are failing. You need to ensure that the
router can handle one-way and request-reply operations. What should you do?
A.
Change line 04 as follows. Get Type(lRequestReplyRouter),
B.
Change line 04 as follows Get Type(lDuplexSessionRouter),
C.
Change line 12 as follows GetType(lRequestReplyRouter)
D.
Change line 12 as follows. Get Type(IDuplexSessionRouter)
Explanation: