What should you do?

You create a solution by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
The solution contains a Microsoft Windows Forms application and a Windows Communication Foundation (WCF) service.
You discover that when the application is run, certain tasks take a very long time to execute. You verify that all CPUs are idle while these tasks are being executed.
You need to design a strategy to identify the methods that cause the tasks to be delayed in the application. What should you do?

You create a solution by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
The solution contains a Microsoft Windows Forms application and a Windows Communication Foundation (WCF) service.
You discover that when the application is run, certain tasks take a very long time to execute. You verify that all CPUs are idle while these tasks are being executed.
You need to design a strategy to identify the methods that cause the tasks to be delayed in the application. What should you do?

A.
Edit the diagnostics element in the Web.config file of the WCF service.

B.
Edit the serviceHostingEnvironment element in the Web.config file of the WCF service.

C.
Create a performance session by using the instrumentation method.
Add the Windows Forms application and the WCF service to the session.

D.
Create a performance session by using the sampling method.
Add the Windows Forms application and the WCF service to the target list of the session.



Leave a Reply 0

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