Free Microsoft 070-511 Exam Dumps Questions & Answers
| Exam Code/Number: | 070-511Join the discussion |
| Exam Name: | TS: Windows Applications Development with Microsoft .NET Framework 4 |
| Certification: | Microsoft |
| Free Question Number: | 288 |
| Publish Date: | Aug 10, 2026 |
| # of views: | 3639 |
|
|
|
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?
You are upgrading the security features of a Microsoft .NET 3.5 application to .NET 4. You need to identify the -NET 3.5 security application programming interface (API) calls that implicitly use code access security (CAS) policies so that you can upgrade the calls.
What should you do?
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You write the following code fragment.
You need to implement the MyProject.MyConverter class.
What should you do?
DRAG DROP
You have a Windows Presentation Foundation (WPF) application named App1.
You plan to deploy App1 by using ClickOnce.
You need to ensure that App1 meets the following security requirements:
The assembly that contains App1 must be visible from a COM component.
Each time App1 runs, an End-User License Agreement (EULA) must appear.
App1 must be able to open files on local drives if the application is deployed from a
file server.
App1 must be prevented from opening files on local drives if the application is
deployed from a Web server.
Which file should you modify for each requirement? (To answer, drag the appropriate files to the correct requirements. Each file may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
--- -
You use Microsoft .NET Framework to create a Windows Presentation Foundation (WPF) application.
You create a window that contains a Button control and a MenuItem control. Both controls are labeled "Add sugar." The Command properties of the Button and MenuItem controls are set to the same RoutedCommand named AddSugarCommand.
You write the following code segment.
Private Sub CanAddSugar(sender As Object, e As CanExecuteRoutedEventArgs)
...
End Sub
You need to ensure that when the CanAddSugar method sets e.CanExecute to false, the MenuItem and Button controls are disabled.
What should you do?
