What should you do?

You are creating a Windows Presentation Foundation (WPF) application by using Microsoft NET Framework 4.
You creates a photo album-browsing application.
When the user opens an album,pictures in the album are displayed in sets of 10. Pictures are obtained from a Windows Communication Foundation (WCF) service. Most of the memory of the application is allocated in the native heap. The memory usage of the application increases when new albums are opened. You need to ensure that the memory usage of the application remains within a specific range.
What should you do?

You are creating a Windows Presentation Foundation (WPF) application by using Microsoft NET Framework 4.
You creates a photo album-browsing application.
When the user opens an album,pictures in the album are displayed in sets of 10. Pictures are obtained from a Windows Communication Foundation (WCF) service. Most of the memory of the application is allocated in the native heap. The memory usage of the application increases when new albums are opened. You need to ensure that the memory usage of the application remains within a specific range.
What should you do?

A.
Use a reduced colour palette to render pictures

B.
Use the Net Top Binding to communicate with the WCF service.

C.
Load the pictures from the WCF service on a background thread Implement the Disposable interface

D.
Assign the null value to every variable pointing to a picture that is not displayed Implement the Disposable interface



Leave a Reply 0

Your email address will not be published. Required fields are marked *