which process should you attach the debugger?
You create a sandboxed solution that contains a Web Part.
You need to debug the Web Part by using Microsoft Visual Studio 2010.
To which process should you attach the debugger?
Which code segment should you insert at line 08?
You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You write the following code segment. (Line numbers are included for reference only.)
01 [ServiceContract(Namespace=”http://uri.contoso.com”)] 02 public interface IMyService
03 {
04 [OperationContract]
05 string ProcessDetails(string s);
06 [OperationContract(Action=”UpdateStatus”)]
07 void UpdateStatus();
09 }
If the existing operation contract is unable to process a request made to the service, a generic operation contract must attempt to process the request. You need to create the generic operation contract. Which code segment should you insert at line 08?
Which method should you use?
You need to connect two Web Parts by using the IWebPartRow interface.
Which method should you use?
What should you do?
You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5. The application will be used by multiple types of users. The application will also interact with external applications. You need to design the interaction among the application, the users of the application, and the external applications. What should you do?
Which interface should you use?
You need to send a single value from a consumer Web Part to a provider Web Part.
Which interface should you use?
What should you do?
You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5. The component will return custom business objects. You plan to develop a design strategy that meets the following requirements:
The component can be accessed by the .NET Windows applications and JavaScript-based Web applications. The component can be consumed by the client applications by using the minimum amount of code. The least amount of network bandwidth is consumed. You need to implement the design strategy by using the minimum amount of development effort. What should you do?
What should you implement in WPMaster?
You are creating two Web Parts named WPMaster and WPDetails.
You need to ensure that when an item is selected from WPMaster, the details of the item are displayed in WPDetails.
What should you implement in WPMaster?
What should you do?
You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5. The application stores human resources data in a Microsoft SQL Server 2008 database. A partial database schema is as shown in the exhibit. (Refer to the Exhibit.) Each time a row is added, modified, or deleted from the Employee table, a corresponding entry must be recorded in the EmployeeChangeLog table. You need to implement the data change logging. What should you do?
What should you do?
You plan to create a Web Part for a SharePoint site.
You need to ensure that the Web Part can send data to other Web Parts in the site.
What should you do?
Which code segment should you add?
You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You have successfully defined a service contract named IManageOrders. You write the following code segment.
public class OrderImpl : IManageOrders {
public void MarkOrderClosed(int orderId){
try {
…
}
catch (SqlException exc){
throw new FaultException<DataFault>(new DataFault()); }}}
[DataContract]
public class DataFault {
}
You need to create a fault contract for the MarkOrderClosed method on the IManageOrders service contract. Which code segment should you add?