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 AB.a message filter with a priority of 0 that will forward messages that total between $0 and $500 to Service AC.a message filter with a priority of 0 that will forward all messages to Service BD.a message filter with a priority of 100 that will forward all messages to Service B

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


相关考题:

On Sundays she usually does some ___ in ___. A、shopping/ big shopB、shopping/big shoppingsC、shoppings/big shopsD、shopping/big shops

YouaredesigningaWindowsAzureapplication.TheapplicationincludesprocessesthatcommunicatebyusingWindowsCommunicationsFoundation(WCF)services.TheWCFservicesmustsupportstreaming.YouneedtorecommendahostfortheprocessesandaWCFbinding.Whichtwoactionsshouldyourecommend?()A.Hosttheprocessesinwebroles.B.Hosttheprocessesinworkerroles.C.UseNetTcpBindingfortheWCFservices.D.UseWSHttpBindingfortheWCFservices.

Your company has a Windows Communication Foundation (WCF) service at the URL http://services.contoso.com/OrderLookupService.svc.The section of the configuration file is as follows. (Line numbers are included for reference only.)01 02 03 04 05 06 ...0708 09 10 11 You need to ensure that the service publishes the WSDL description at http://services.contoso.com/OrderLookupService.svc?wsdl.What should you do?()A.B.C.D.

You are creating an ASP.NET web application that hosts several Windows Communication Foundation (WCF) services.The services have ASP.NET Compatibility Mode enabled. Users authenticate with the Web application by using a cookie-based ASP.NET Forms Authentication model.You add a service file named Authentication.svc that contains the following code segment:%@ ServiceHost Service=System.Web.ApplicationServices.AuthenticationServiceFactory=System.Web.ApplicationServices.ApplicationServicesHostFactory %You need to ensure that users can access the WCF services without having to re-authenticate.Which two configuration settings should you add? (Each is part of a complete solution. Choose two.)()A. In the system web. Extensions scripting/webServices/authenticationService element, set the enabled attribute to true.B. In the system web. Extensions scripting/webServices/profileService element, set the enabled attribute to true.C. Add a service endpoint with basicHttpBinding for the contract System.Web.ApplicationServices.AuthenticationService.D. Add a custom service behavior named AuthenticationService Type Behaviors with a service AuthenticationManager element that has service AuthenticationManagerType set to System.Web.Security.SQL Membership Provider

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.

在播放视屏时,需要保持屏幕一直亮着,需要哪个权限?() 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"/

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

在Windows系统中,可以在“运行”框中输入( )命令,来打开设备管理器。A.devmgmt.mscB.regedit.exeC.lusrmgr.mscD.services.msc

以下属于调用摄像头硬件的权限的是:()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.<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"/>