PrepAway - Latest Free Exam Questions & Answers

Category: 70-569

Exam 70-569: UPGRADE: Transition your MCPD Enterprise Application Developer Skills to MCPD Enterprise Application Developer 3.5, Part 2

Which code segment should you insert at line 04?

You create a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You write the following code segment for the service implementation. (Line numbers are included for reference only.)

01 public void PutMessage(Message msg)
02 {
03 string value=null;
05 }

You need to retrieve the content from the received message body and store it in the variable named value. Which code segment should you insert at line 04?

Which configuration settings should you use?

You are creating a distributed client application by using Microsoft .NET Framework 3.5. You use Windows Communication Foundation (WCF) to create the application. You specify the following configuration settings for the service application.

<serviceCredentials>
<userNameAuthentication
userNamePasswordValidationMode=”MembershipProvider” membershipProviderName=”SqlMembershipProvider”/>
</serviceCredentials>

You need to authenticate the client application by using the Microsoft ASP.NET membership provider. Which configuration settings should you use?

What should you do?

You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. Client applications receive the original fault messages that the service generates. You need to create a custom service behavior to add a fault message handler to all channel dispatchers. What should you do?

What should you do?

You are designing a component for a Windows Forms application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5. The component will process a long-running business transaction. You plan to provide the status of completion of the transaction to the users. You need to ensure that the application displays a progress bar that reports the percentage of completion of the transaction. You need to achieve this goal without using the polling method.
What should you do?

Which code segment should you use?

You are creating an endpoint for a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You create the endpoint by using a custom binding. You write the following code segment.

BasicHttpBinding binding=new BasicHttpBinding();
binding.Security.Message.ClientCredentialType=
BasicHttpMessageCredentialType.Certificate;
binding.Security.Mode=BasicHttpSecurityMode.Message; CustomBinding cb=new CustomBinding(binding);
BindingElementCollection bec=cb.CreateBindingElements();

You need to prevent the custom binding from making a persistent connection to the service endpoint.
Which code segment should you use?

Which type of binding should you use?

You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You want to use a built-in binding to support reliable sessions. You need to create a service that uses SOAP to transfer messages between endpoints. The service must deliver the messages only once, and in the same order in which they were sent. Which type of binding should you use?

Which code segment should you use?

You are creating an endpoint for a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You create the endpoint by using a custom binding. You write the following code segment.

BasicHttpBinding binding=new BasicHttpBinding();
binding.Security.Message.ClientCredentialType=
BasicHttpMessageCredentialType.Certificate;
binding.Security.Mode=BasicHttpSecurityMode.Message; CustomBinding cb=new CustomBinding(binding);
BindingElementCollection bec=cb.CreateBindingElements();

You need to prevent the custom binding from making a persistent connection to the service endpoint.
Which code segment should you use?


Page 1 of 1412345...10...Last »