You are designing a Windows Presentation Foundation (WPF) application.
The application calls methods that perform long-running computational tasks.
You need to recommend an approach for ensuring that the application remains responsive while the tasks are executing.
What are two possible ways to achieve this goal? (Each correct answer presents a complete solution.Choose two.)
A. Use synchronous method calls from a thread other than the thread on which the user interface runs.You are designing Windows Presentation Foundation (WPF) applications by using Microsoft .NET Framework 4.
You need to maintain a common appearance and behavior across all applications in your company. You also need to ensure that the look and feel of the applications can be modified without recompiling them.
What should you create?
A. a merged resource dictionaryYou are designing a Windows Presentation Foundation (WPF) application.
You have the following requirements:
Run client-side validation tests on a large result set from a Microsoft SQL Server 2008 database.
Validate each row of data without storing the entire result set in memory.
You need to recommend a data access technology.
What should you recommend?
A. ADO.NET using SqlDataReader objectsYou are designing a multi-tenant Windows Presentation Foundation (WPF) application that will connect to a Microsoft SQL Server 2008 database. The WPF application will change the structure of database tables and views at runtime based
on the tenant's configuration.
The WPF application must meet the following requirements:
Keep each tenant's data separate.
Allow changes to the structure of the tables and views for each tenant without interfering with other tenants' data.
You need to recommend an approach for managing the database structure.
What should you recommend?
A. Create a Partition Scheme for each tenant.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 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.Web.Caching.CacheDependency class.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 As ArgumentNullException
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?
A. Create an ArgumentNullException handler in the UI tier.You are designing a Windows Presentation Foundation (WPF) application by using Microsoft .NET Framework 4 and Microsoft SQL Server 2008.
The application runs successfully on a local client computer by using your user account. You deploy the database of the application to the production server.
You configure the application connection string to use the Windows Authentication mode.
You deploy the application to several client computers that use other applications on the network. The client computers access different databases on the production server by using the Windows Authentication mode.
Users report that the application is not working and that they receive a database connection exception.
You need to identify the source of the problem.
What is the source of the problem?
A. The database is currently blocked due to locks.You are designing a Windows Presentation Foundation (WPF) application for your company by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010.
The business layer of the application is implemented by using Windows Communication Foundation (WCF).
You plan to support non-repudiation and data integrity for WCF messages.
You need to design the security strategy for the application.
What should you do?
A. Attach a digital signature to the WCF messages.You are designing a Windows Presentation Foundation (WPF) application that uses .NET Framework 4. The WPF application will be deployed to 5,000 users worldwide. You need to recommend an approach for identifying problems that users will experience.
Which testing methodology should you recommend?
A. Acceptance testingNowadays, 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.