A Windows Communication Foundation (WCF) solution uses two services to manage a shopping cart. Service A processes messages containing line items that total between $0 and $500. Service B processes messages containing line items that total more than $500.

题目

A Windows Communication Foundation (WCF) solution uses two services to manage a shopping cart. Service A processes messages containing line items that total between $0 and $500. Service B processes messages containing line items that total more than $500. All messages are of equal importance to the business logic. You need to route incoming messages to the appropriate services by using WCF routing. Which two message filters should you add to the router? (Each correct answer presents part of the solution. Choose two.)()

A.a message filter with a priority of 100 that will forward messages that total between $0 and $500 to Service A

B.a message filter with a priority of 0 that will forward messages that total between $0 and $500 to Service A

C.a message filter with a priority of 0 that will forward all messages to Service B

D.a message filter with a priority of 100 that will forward all messages to Service B


相似考题
参考答案和解析
参考答案:A, C
更多“A Windows Communication Foundation (WCF) solution uses two services to manage a shopping c ”相关问题
  • 第1题:

    An ASP.NET application hosts a RESTful Windows Communication Foundation (WCF) service at /Services/Contoso.svc.The service provides a JavaScript resource to clients. You have an explicit reference to the JavaScript in your page markup as follows.You need to retrieve the debug version of the service JavaScript. What should you do?()

    A. In the <%@ ServiceHost %> header for /Services/Contoso.svc, set the Debug attribute to true.

    B. In the <%@ Page %> header, set the Debug attribute to true.

    C. In the script tag, add a debug attribute and set its value to true.

    D. In the script tag, append debug to the src attribute.


    参考答案:D

  • 第2题:

    windows系统下打开系统服务的命令是“services、msc”。()


    答案:正确

  • 第3题:

    以下属于调用摄像头硬件的权限的是:()

    A.<uses-permission android:name="android.permission.CAMERA"/>

    B.<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />

    C.<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>

    D.<uses-permission android:name="android.permission.INTERNET"/>


    A

  • 第4题:

    在播放视屏时,需要保持屏幕一直亮着,需要哪个权限?()

    A.uses-permission android:name="android.permission.INTERNET"/

    B.uses-permission android:name="android.permission.WAKE_LOCK"/

    C.uses-permission android:name="android.permission.SCREEN_LOCK"/

    D.uses-permission android:name="android.permission.DIM_LOCK"/


    参考答案:B

  • 第5题:

    在Windows系统中,可以在“运行”框中输入( )命令,来打开设备管理器。

    A.devmgmt.msc
    B.regedit.exe
    C.lusrmgr.msc
    D.services.msc

    答案:A
    解析:
    * regedit.exe打开注册表,lusrmgr.msc打开本地用户和组,services.msc打开系统服务。

  • 第6题:

    下面哪个是添加网络权限的代码

    A.<uses-permission android:name="android.permission.INTERNET"/>

    B.<uses-permission android:name="android.permission.ACCEPT_HANDOVER"/>

    C.<uses-permission android:name="android.permission.ACCESS_CHECKIN_PROPERTIES"/>

    D.<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>


    INTERNET;android.permission.INTERNET;