PrepAway - Latest Free Exam Questions & Answers

Which two actions should you perform?

You create a Web Form. The Web Form calls a method as part of its processing. The method takes a long time to process. In addition, the other Web Forms in the ASP.NET Web site are now taking longer to process. You need to decrease the page response times by executing the long running method in parallel to other requests. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

PrepAway - Latest Free Exam Questions & Answers

A.
Call the method by using the BeginGetAysncData and EndGetAsyncData delegates.

B.
Call the method within the PreInit and PreRenderComplete page events.

C.
Inside the page directive of the Web Form that calls the method, set the Async attribute to True.

D.
Inside the page directive of the Web Form that calls the method, set the CompilationMode attribute to Always.


Leave a Reply