Online Access Free 070-518 Exam Questions
Exam Code: | 070-518 |
Exam Name: | PRO: Design & Develop Wndws Apps Using MS .NET Framework 4 |
Certification Provider: | Microsoft |
Free Question Number: | 155 |
Posted: | Aug 28, 2025 |
You are designing a Windows Presentation Foundation (WPF) application by using
Microsoft .NET Framework 4 and Microsoft Visual Studio 2010.
The application will consist of a user interface (UI) tier and a middle tier. The middle tier will
be implemented by using Windows Communication Foundation (WCF).
You plan to design the exception handling strategy for the application. Each method in the middle tier will contain the following catch block. Catch e AsArgumentNullException.
Throw e
When testing the application, you discover that all ArgumentNullExceptions that occur in
the middle tier do not contain accurate stack trace information.
What should you do?
You are upgrading a stand-alone Windows Presentation Foundation (WPF) application and an XAML browser application (XBAP) to Microsoft .NET Framework 4.
You plan to add .NET 4 types and members to both applications.
Both applications consume a common utility assembly that modifies files on a local file system. The utility assembly requires full trust.
You need to ensure that both applications can use the common utility assembly without any security-related exceptions.
What should you do?
You design a Windows Presentation Foundation (WPF) application that interacts with a Windows Communication Foundation (WCF) Web service. The WCF Web service throws exceptions of type Exception.
The WPF application crashes when the WCF Web service throws an exception.
You need to recommend an error-handling strategy that allows users to submit updated data to the WCF Web service without restarting the WPF application.
What should you recommend?
You are designing a Windows Forms application that allows users to search a product catalog and place orders.
You have the following requirements:
- Display a progress indicator while the application is searching the catalog. - Ensure that users can cancel search operations.
You need to recommend an approach that meets the requirements.
What should you recommend?
You design a Windows Presentation Foundation (WPF) application that connects to a Microsoft SQL Server 2008 database.
The WPF application becomes unresponsive at times. When the WPF application is running, physical memory usage is between 90 percent and 95 percent.
You need to recommend a tool that will identify the memory usage characteristics of the WPF application.
Which tool should you recommend?