You are designing a .NET Framework 4 solution that contains a Windows Presentation Foundation (WPF) application. The WPF application includes CPU-intensive calculations. The calculations can be run on a separate process and can
effectively be isolated from the rest of the WPF application.
You need to recommend a deployment strategy that maximizes the scalability of the calculations for each user.
What should you recommend?
A. Deploy the calculation logic as a Windows Communication Foundation (WCF) service to servers. Deploy the WPF application to the same servers.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 an application by using Windows Presentation Foundation (WPF), Microsoft .NET Framework 4, and Microsoft SQL Server 2008.
The application will contain several forms that include custom data validators.
You need to ensure that data is validated before the database updates occur. You also need to ensure that the validation logic can be reused.
How should you design the validation?
A. Implement the IDataErrorlnfo interface in the data class of the application.You are designing a Windows Presentation Foundation (WPF) application. The WPF application displays indicators to compare your company's past performance to the current day,s operations data. The WPF application accesses historic
data from your company's data warehouse through a Web service, and accesses current data directly from a Microsoft SQL Server 2008 database.
The WPF application must meet the following requirements:
Retrieve historic data from the data warehouse at application startup and then once per day.
Retrieve current data from the database every five minutes, and then update the indicators.
Cache all retrieved data.
Target the .NET Framework 4 Client Profile.
You need to recommend an approach to data caching.
What should you recommend?
A. Use System.Runtime.Caching with an absolute expiration.You are designing a distributed Windows Presentation Foundation (WPF) application.
You have the following requirements:
Ensure that all errors are logged in a central location.
Ensure that the WPF application logs related errors within a single transaction.
Secure error information during transmission.
You need to recommend a strategy for collecting error information.
What should you recommend?
A. Write the information to the Windows Application log on each client system. Use Windows Error Reporting to collect the results.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?
A. Use a BackgroundWorker component to perform the search.You are modifying an existing Windows Presentation Foundation (WPF) application that uses .NET Framework 4. The WPF application uses a wizard to capture data and insert the data into a database. The database includes one parent
table and many child tables.
Inserting captured data in the database locks many database tables and delays application access.
You have the following requirements:
Reduce delays when saving data.
Ensure that other application users are not blocked from reading data.
Ensure that captured data is available only after all child tables are updated.
You need to recommend an approach for inserting captured data into the database.
What should you recommend?
A. Insert captured data by using optimistic concurrency as the user completes each wizard page.You are designing a Windows Presentation Foundation (WPF) application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010.
The application contains a COM component.
You plan to deploy the application to several client computers by using read-only media.
You need to ensure that the COM component is registered during deployment of the application.
Which deployment technology should you use?
A. XCopyYou are designing a distributed Windows Presentation Foundation (WPF) application.
You have the following requirements:
Ensure that all errors are logged in a central location.
Ensure that the WPF application logs related errors within a single transaction.
Secure error information during transmission.
You need to recommend a strategy for collecting error information.
What should you recommend?
A. Write the information to the Windows Application log on each client system. Use Windows Error Reporting to collect the results.You are designing a Windows Presentation Foundation (WPF) application. The application will be localized into multiple languages.
You need to recommend an approach for preparing the application for localization.
Which two actions should you recommend? (Each correct answer presents part of the solution.Choose two.)
A. Translate the contents of the appropriate XAML elements into each localization language.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.