What should you do to ensure that the following requirement?
You create Windows Forms applications by using the .NET Framework 3.5.
You plan to deploy a new application by using the ClickOnce technology.
During deployment, the application performs the following tasks:
* Modifies registry keysModifies the files located in the %PROGRAM FILES% folder Administrative permissions are not granted to users who install the application.
You need to ensure that the following requirements are met:
* The application can be deployed to Windows Vista client computers that are not part of an Active Directory domain.
* When the application is deployed, users are not prompted to elevate their permissions.
What should you do?
What should you do to improve the performance of the form?
You are creating a Windows Forms application by using the .NET Framework 3.5.
You create a new form in your application. You add 100 controls at run time in the Load event handler of the form.
Users report that the form takes a long time to get displayed. You need to improve the performance of the form.
What should you do?
What should you do to ensure that the following requirements ?
You are creating a Windows Forms application by using the .NET Framework 3.5.
You create a new form in your application. You add a PrintDocument control named pntDoc to the form.
To support the print functionality, you write the following code segment in the application. (Line numbers are included for reference only.)
01 pntDoc.BeginPrint += new PrintEventHandler(PrintDoc_BeginPrint);
02 …
03 bool canPrint = CheckPrintAccessControl();
04 if (!canPrint) {
05
06 }
07
You need to ensure that the following requirements are met:
* When the user has no print access, font and file stream initializations are not executed and the print operation is cancelled.
* Print operations are logged whether or not the user has print access.
What should you do?
What should you do to ensure that the application completes the upload efficiently?
You are creating a Windows component by using the .NET Framework 3.5.
The component will be used in Microsoft Word 2007 by using a ribbon button.
The component uploads large files to a network file share. You find that Word 2007 becomes non-responsive during the upload.
You plan to create your own thread to execute the upload. You need to ensure that the application completes the upload efficiently.
What should you do?
What should you do to ensure that the workflow performs the following tasks?
You create a Windows Workflow Foundation application by using Microsoft .NET Framework 3.5. The application uses a sequential workflow.
You plan to add a workflow to the application.
You need to ensure that the workflow performs the following tasks:
It listens for an event raised by the host application.
It waits only for 30 minutes for the event to be raised.
What should you do?
What should you do to ensure that only users in the Active Directory can access the workflow Web service metho
You create a Windows Workflow Foundation application by using Microsoft .NET Framework 3.5. The application is exposed as a Web service and uses confidential data. You need to ensure that only users in the Active Directory can access the workflow Web service method. What should you do?
What should you do to obtain the execution status of the last execution of the InvokeWebServiceActivity activi
You create a Windows Workflow Foundation application by using Microsoft .NET Framework 3.5. The application uses the InvokeWebServiceActivity activity. You need to obtain the execution status of the last execution of the InvokeWebServiceActivity activity. What should you do?
What should you do to ensure that the tool loads the workflow diagram in the viewer?
You create a Windows Workflow Foundation application by using Microsoft .NET Framework 3.5. The application hosts state machineCbased workflows. The application contains two assemblies. One assembly contains the workflows and the other assembly contains the ExternalDataExchange interfaces. You monitor the application by using the Workflow Monitor tool. You need to ensure that the tool loads the workflow diagram in the viewer. What should you do?
What should you do to configure the tracking service?
You create a Windows Workflow Foundation application by using Microsoft .NET Framework 3.5. The application is a high-volume shopping cart system that processes over 100,000 transactions every day. The application tracks workflows by using the SqlTrackingService class. The application must partition data based on a 24-hour period. You need to configure the tracking service.
What should you do?
What should you do to ensure that the VotingService service informs the custom activity ?
You are creating a Windows Workflow Foundation custom activity by using Microsoft .NET Framework 3.5.
The custom activity has the following features:
It uses a voting process.
It completes execution after the receipt of a Yes or a No vote from an end user.
The voting process is managed by a local service of type VotingService. The voting process can take 15 to 20 days.
You need to ensure that the VotingService service informs the custom activity when a vote is received.
What should you do?