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 attribute should you set in the Web Part?
You create a custom Web Part.
You need to ensure that a custom property is visible in Edit mode.
Which attribute should you set in the Web Part?
Which code fragment should you use?
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.
The application uses ASP.NET AJAX, and you plan to deploy it in a Web farm environment.
You need to configure SessionState for the application.
Which code fragment should you use?
Which configuration settings should you use?
You are creating a distributed client application by using Microsoft .NET Framework 3.5. You use Windows Communication Foundation (WCF) to create the application. You specify the following configuration settings for the service application.
<serviceCredentials>
<userNameAuthentication
userNamePasswordValidationMode=”MembershipProvider” membershipProviderName=”SqlMembershipProvider”/>
</serviceCredentials>
You need to authenticate the client application by using the Microsoft ASP.NET membership provider. Which configuration settings should you use?
Which event should you use to render the Web control?
You need to create a Web control that displays an ASCX control.
Which event should you use to render the Web control?
What are three possible reasons that could cause this increase?
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.
When you review the application performance counters, you discover that there is an unexpected increase in the value of the Application Restarts counter.
You need to identify the reasons for this increase.
What are three possible reasons that could cause this increase? (Each correct answer presents a complete solution. Choose three.)
Which code fragment should you insert at line 03?
You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You write the following code fragment for the configuration setting. (Line numbers are included for reference only.)
01 <wsHttpBinding>
02 <binding name=”simple”>
04 </binding>
05 </wsHttpBinding>
You need to ensure that the service uses transport security and allows access to anonymous client applications. Which code fragment should you insert at line 03?
Which method should you override in the Web control?
You need to create a Web control that displays HTML content during the last stage of the page processing lifecycle.
Which method should you override in the Web control?
Which method should you use?
You are creating an ASP.NET application by using the .NET Framework 3.5.
You create an AJAX Web form in the application.
You create an ASP.NET AJAX client-component class in the Web form.
The class will be used in a JavaScript function in the Web form.
You plan to debug the JavaScript function.
You need to display all the fields of the AJAX client-component object in the trace console in the Web form by using the minimum amount of code.
Which method should you use?
What should you do?
You create an application by using the Microsoft .NET Framework 3.5 and Microsoft
ADO.NET.The application contains a DataSet object that has a table. The DataSet object is
as shown in the following exhibit.
You need to ensure that the application meets the following requirements without creating another table:
The DataSet can be extended by using the designer.
The application displays all product records.
The product records can be filtered by ProductID.
What should you do?