You are designing an application by using Windows Presentation Foundation (WPF) and Microsoft .NET Framework 4.
The application retrieves customer data from an enterprise resource planning (ERP) system.
You need to ensure that the following requirements are met:
Customer data is retrieved only once.
Customer data is available on multiple forms within the application.
Forms can implement Two-Way binding to the customer data.
What should you do?
A. Store the results of the query in a static DataTable object that is used by all the forms.You are creating a Windows Presentation Foundation (WPF) application by using Microsoft .NET Framework 4 and Microsoft SQL Server 2008.
You create a window that allows users to search for products that match a given name. Search results are displayed when the user types each letter of the product name.
You use a method named FindProducts to obtain the list of products.
Users report that when they type a letter of the product name, the window stops responding for a varying amount of time. While the window stops responding, users cannot type more letters. The window stops responding even when the
search generates few results.
You need to ensure that the window responds while users type a name.
What should you do?
A. Cache the results returned by the FindProducts method for each set of criteria.You are designing a Windows Presentation Foundation (WPF) application that displays thumbnail images of photographs. The thumbnails are arranged in rows and columns.
The number of columns must automatically update based on the size of the application window.
You need to recommend a container for displaying all the thumbnail images at the same size.
Which container should you recommend?
A. a WrapPanel controlYou are designing an application by using Windows Presentation Foundation (WPF) and Microsoft .NET Framework 4.
You create a control named HelpViewer to view the Help documentation of the application. The HelpViewer control must be available to al windows in the application.
You need to ensure that the application allows users to perform the following tasks:
Bookmark their location in the documentation and return to the bookmark from any window.
Hide the HelpViewer control.
Dock the HelpViewer control.
You create a main window as a base class. What should you do next?
A. ?Add the HelpViewer control to the window at runtime. ?Inherit all other window classes in the application from the main window base class.You are creating a Windows Presentation Foundation (WPF) application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010. The application will consist of several data entry forms. Each data entry form requires a user to enter phone numbers and addresses. You need to design a solution that promotes code reusability.
What should you do?
A. Add multiple text boxes for each data entry form.You are designing an application by using Windows Presentation Foundation (WPF) and Microsoft NET Framework 4.
The user interface (UI) tier of the application will be implemented by using WPF. The middle tier of the application will be implemented by using Windows Communication Foundation (WCF). The middle tier will contain several methods that
update data in a remote database.
The middle tier will also contain a long-running method named Process Data.
The Process Data method performs database operations and can take several minutes to complete.
You need to ensure that the UI of the application can continue to call other methods while the Process Data method is running
What should you do?
A. Implement the Process Data method by using Windows Workflow Foundation (WF).You are developing a Windows Presentation Foundation (WPF) application by using Microsoft .NET Framework 4.
You need to recommend a testing strategy to identify the additional hardware resources that are necessary to support future projected growth.
Which testing strategy should you recommend?
A. Load testingYou are designing a Windows Presentation Foundation (WPF) application that uses .NET Framework 4. The application uses a subset of the functionality provided by a third-party COM component that will be replaced later.
The application developers must have access to only the required subset of functionality.
You need to recommend a solution that meets the requirements.
Which two actions should you recommend? (Each correct answer presents part of the solution.
Choose two.)
A. Create an adapter assembly that exposes the entire functionality of the COM component.You are designing a .NET Framework 4 solution that includes a Windows Presentation Foundation (WPF) application, a Windows service, and a private assembly shared by the WPF application and by the Windows service. The solution
stores data in a local Microsoft SQL Server Compact 3.5 database. The WPF application and Windows service will each access the database directly. The solution will be installed by using Windows Installer.
You have the following requirements:
The installer must allow users to specify the installation folders for the WPF application and for the database.
The solution must support the deployment of updates to the WPF application without restarting the Windows service.
You need to recommend an approach for installing the solution.
Which two actions should you recommend? (Each correct answer presents part of the solution.Choose two.)
A. Install the Windows service to a different folder from the WPF application.You are designing a Windows Presentation Foundation (WPF) application by using Microsoft .NET Framework 4, Microsoft Visual Studio 2010, and Microsoft SQL Server 2008.
You have designed the application to use the ADO.NET Entity Framework for the Data Access Layer (DAL).
You have designed the user interface (UI) of the application by using the Model-View- ViewModel (M-V- VM) pattern.
The middle tier of the application is designed by using Windows Communication Foundation (WCF).
The database schema changes often. The DAL entity objects are required to be referenced from the middle tier and the ViewModel layer of the UI.
You need to ensure that the DAL entity objects are updated when the database schema changes.
What should you do?
A. Create an observable collection of objects.Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 70-518 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.