You need to create a sales order and complete the sale
You add a new prospect. You send the prospect a sales quotation that contains 100 items.
The prospect agrees to all of the terms in the sales quotation. You need to create a sales
order and complete the sale. What should you do?
You need to ensure that the correct page is returned
You are implementing an ASP.NET MVC 2 application. In the Areas folder, you add a subfolder
named Product to create a single project area. You add files named ProductController.cs
andIndex.aspx to the appropriate subfolders. You then add a file named Route.cs to the Product
folder that contains the following code. (Line numbers are included for reference only.)
01 public class Routes : AreaRegistration
02 {
03 public override string AreaName
04 {
05 get { return “product”; }
06 }
07
08 public override void RegisterArea(
AreaRegistrationContext context)
09 {
10 context.MapRoute(“product_default”,
“product/{controller}/{action}/{id}”,
new { controller = “Product”, action = “Index”,
id = “” });
11 }
12 }
When you load the URL http://<applicationname>/product, you discover that the correct page is not
returned. You need to ensure that the correct page is returned. What should you do?
You need to ensure that the custom formatting is applied to LastScore values…
You are implementing an ASP.NET MVC 2 Web application that contains several folders. The
Views/Shared/DisplayTemplates folder contains a templated helper named Score.ascx that performs
custom formatting of integer values. The Models folder contains a class named Player with the
following definition.
public class Player
{
public String Name { get; set; }
public int LastScore { get; set; }
public int HighScore { get; set; }
}
You need to ensure that the custom formatting is applied to LastScore values when the
HtmlHelper.DisplayForModel method is called for any view in the application that has a model of
type Player. What should you do?
Which scopes should you add to the client configuration file?
You create a service and deploy it on a network in a building named Building1. You will
deploy the service to Building2. The service in Building1 is configured using the following
discovery scopes. <scopes> <add scope=”http://contoso.com/Chicago/Building1″/> <add
scope=”ldap:///ou=Building1,ou=Chicago,o=contoso,c=us”/> </scopes> The service in
Building2 will be configured using the following discovery scopes. <scopes> <add
scope=”http://contoso.com/Chicago/Building2″/> <add
scope=”ldap:///ou=Building2,ou=Chicago,o=contoso,c=us”/> </scopes> You need to ensure
that the client application can discover the service in Building1 or the service in Building2.
Which scopes should you add to the client configuration file?
You need to configure commissions to be calculated on sales, only after all discounts are taken on the line it
You need to configure commissions to be calculated on sales, only after all discounts are
taken on the line items of a sales order. What should you use?
What are two possible ways to achieve this goal?
You need to register a pallet controlled item. What are two possible ways to achieve this
goal? Each correct answer presents a complete solution.
You need to modify the application to allow the GetServiceTime method to return the data formatted as JSON
A class named TestService implements the following interface. [ServiceContract] public
interface lTestService { [OperationContract] DateTime GetServiceTime; } TestService is
hosted in an ASP.NET application. You need to modify the application to allow the
GetServiceTime method to return the data formatted as JSON. It must do this only when the
request URL ends in /ServiceTime. What should you do?
Which two types of information do you need?
You need to establish picking routes. Which two types of information do you need? Each
correct answer presents part of the solution.
You need to develop a definition for the operation contract that produces XML with the following structure
You are developing a Windows Communication Foundation (WCF) service that contains the
following operation contract. [OperationContract] CustomerNames GetCustomerNames();
The operation returns customer names. You need to develop a definition for the operation
contract that produces XML with the following structure. Which code segment should you
use
You need to ensure that the item can be reserved against the purchase order
You plan to create a sales order for an item. Currently, you do not have the item on hand,
but you have a purchase order for the item. You need to ensure that the item can be
reserved against the purchase order. What should you do?