What should you do?
You are developing a Windows Presentation Foundation (WPF) application.
You need to display HTML content from a Web page on the WPF form.
What should you do?
Which setting should you use in the application manifest?
You use Microsoft .NET Framework 4 to create a Windows application.
You want to use the ClickOnce technology to deploy the application on computers that run Windows Vista with User Access Control (UAC) enabled.
You need to ensure that the application can be installed in a secure manner.
Which setting should you use in the application manifest?
What should you do?
You create a Microsoft Windows Installer file for a Windows Presentation Foundation (WPF) application that requires Microsoft .NET Framework 4.
You need to ensure that the installation starts only if .NET Framework 4 is already installed on the computer.
What should you do?
What should you do?
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application named MyApp.exe.
You use Microsoft Windows Installer to package the application.
You create an icon file named Application.ico.
You need to associate Application.ico with MyApp.exe when it is deployed.
What should you do?
Where should you store the application data?
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You use the ClickOnce deployment methodology to distribute the application.
You need to store application-specific data along with read/write permissions without requiring elevated permissions for the application.
Where should you store the application data?
What should you do when you publish the application?
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
The application requires frequent updates.
You want to use the ClickOnce technology to distribute the application to Internet users.
You need to ensure that the application is automatically updated without requiring user intervention.
You also need to ensure that the users execute the most recent version of the application.
What should you do when you publish the application?
What should you do?
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You plan to use a PresentationTraceSources object when the application is executed by users.
When the application is executed in a test environment, all debug information is successfully captured.
You need to be able to capture debug information when the application is deployed.
What should you do?
What should you do?
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You write the following code fragment to bind a customer object to several controls in a window.
<TextBox Text=”{Binding Path=CustomerName}” Name=”textBox1″ />
When the application executes, you receive the following error message:
“System.Windows.Data Error: 35 : BindingExpression path error: ‘CustomerName’ property not found on ‘object’ ”Customer’ (HashCode=22613453)’. BindingExpression:Path=CustomerName;
DataItem=’Customer’ (HashCode=22613453);
target element is ‘TextBox’ (Name=’textBox1′);
target property is ‘Text’ (type ‘String’)”
You need to identify the source of the error.
What should you do?
What should you do?
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
The application uses data-bound controls.
You discover that when the application is executed by users, one of the controls is not displayed properly.
You need to view the property values assigned to the controls.
What should you do?
What should you do?
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
The application contains a custom control that is used to display customer information.
You discover that the custom control is not rendering correctly.
You need to identify the WPF element that is causing the issue. You want to achieve this goal by using the minimum amount of administrative effort.
What should you do?