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 in WPF.
The middle tier of the application is implemented by using an existing COM component.
The middle tier contains a long-running method named ProcessData.
You need to ensure that users can continue to use the UI while ProcessData is running.
What should you do?
A. Use an asynchronous worker thread to call ProcessData.You are designing a mission-critical Windows Presentation Foundation (WPF) application that uses .NET Framework 4.
You need to recommend an approach for identifying repair and recovery time.
What should you recommend?
A. Test for buffer overflows.You are reviewing multiple Windows Presentation Foundation (WPF) applications that capture postal addresses. The WPF applications have different appearances and functionality. Each WPF application uses a different control to visualize the captured addresses.
You plan to modify all WPF applications to allow developers to visualize addresses by using a common template. You need to recommend an approach for standardizing the visualization of captured addresses.
What should you recommend?
A. Use a DataTemplate object.You are developing an application by using Windows Forms and Microsoft NET Framework 4. The user interface (UI) of the application can be resized.
You need to ensure that the images in the application scale to the entire height and width of the UI without degradation.
What should you do?
A. Convert the images to PNG format.You are designing a Windows application by using Microsoft .NET Framework 4.
Remote users have limited network connectivity. Users will not have write permissions to the local file system.
You plan to design the error logging strategy for the application.
You need to ensure that the application can collect error information. You also need to ensure that the errors can be analyzed from a centralized location.
What should you do?
A. Use a local log file.You are developing an application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010.
The application contains a grid that displays customer data stored in a database table. Users report that the grid takes a long time to display.
You plan to implement data caching to improve loading time for the grid.
You need to ensure that the cached data expires when the customer data is updated.
What should you do?
A. Use the System.Runtime.Caching.SqlChangeMonitor class.You are designing an n-tier Windows application by using Microsoft .NET Framework 4, Microsoft Visual Studio 2010, and Microsoft SQL Server 2008.
The application will replace an existing client/server application. The existing application was created by using Microsoft Visual Basic 6.0 and consists of a series of COM components that access a SQL Server database.
You plan to move the existing COM components into a Windows Communication Foundation (WCF) tier.
You need to ensure that the COM components can be replaced without impacting the existing user interface (UI) tier. You also need to ensure that the COM components can be replaced separately.
What should you do?
A. Create a common assembly on the UI tier of the new application to interface with the COM components.You are designing a Windows Forms application. The application connects to a Microsoft SQL Server 2008 database.
You need to recommend an approach for retrieving and logging all informational messages and error messages reported by the database.
What should you recommend?
A. Retrieve informational messages in a SqlException object. Retrieve error messages by creating a handler for the InfoMessage event.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 an application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010.
The application is used mostly in a disconnected scenario. The application requires offline data from a Microsoft SQL Server 2008 database. When the application connects to the network, data will be modified and synchronized.
You need to ensure that the application does not access the database server directly to synchronize data when online.
Which technology should you use?
A. WCF Data ServiceNowadays, 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.