PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

Which two message filters should you add to the router?

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.)

What should you do?

You are creating a Windows Communication Foundation (WCF) service that responds using plain-old XML (POX).
You have the following requirements:
* You must enable the /catalog.svc IItems operation to respond using the POX, JSON, or ATOM formats.
* You also must ensure that the same URL is used regardless of the result type.
* You must determine the response format by using the Accepts HTTP header.

What should you do?

What should you do?

You are designing an application by using Windows Presentation Foundation (WPF) and Microsoft .NET Framework 4.

The application allows users to view product details. Product managers can modify the product details for the products that they manage.

You plan to design the application by using the Model-View-ViewModel (M-V-VM) pattern.

You need to ensure that the product details can be viewed by all users and modified only by product managers.

What should you do?