Exam 70-562 : Microsoft .NET Framework 3.5, ASP.NET Application Development – 5

Question: You work as an application developer at Company.com. You are in the process of creating an ASP.NET application using .NET Framework 3.5. Your application contains a Web Page with a DataSourceControl. This control is named KingProducts. This control is bound to a Microsoft SQL Server 2005 table. The primary key of this table is the SKU column. In the FormView control you write the following code. (The line numbers is included for reference purposes) 1 <tr> 2 <td align=”right”><strong>Products:</strong></td> 3 <td><asp:DropDownList ID=”DropDownList1″ Runat=”server” 4 5 DataSourceID=”ds1″ DataTextField=”SKU” DataValueField=”ProdID” /> 9 </td> 10 </tr> You receive an instruction from management … Click here to continue…..

Exam 70-562 : Microsoft .NET Framework 3.5, ASP.NET Application Development – 4

Question: You work as an application developer at Company.com. You are in the process of creating an ASP.NET application that uses Microsoft .NET Framework 3.5. You receive an instruction from management to create a custom-templated server control. To ensure productivity you need to make sure that the child controls of the newly created server control are identified within the hierarchy of the page. You thus need to identify the interface that will accomplish this. What should you do? You should consider implementing the IRequiresSessionState interface. You should consider implementing the ITemplatable interface. You should consider implementing the IPostBackDataHandler interface. You … Click here to continue…..

Exam 70-562 : Microsoft .NET Framework 3.5, ASP.NET Application Development – 3

Question: You work as an application developer at Company.com. You are in the process of creating an ASP.NET application in .NET Framework 3.5. The application is configured to use Form Authentication. You activate the ASP.NET AJAX authentication service in the application’s Web.config file. Your application contains a Web form with the code segment shown below:

You add a script to authenticate the user when the user clicks the btnLogin button. The script is shown below:

You need to add the authentication logic to the script. The authentication logic must ensure that either the onLoginPassed function is called to … Click here to continue…..

Exam 70-562 : Microsoft .NET Framework 3.5, ASP.NET Application Development – 2

Question: You work as an application developer at Company.com. You decide to create an ASP.NET Web application on the companies’ network in Microsoft .NET Framework 3.5. Your application must not allow access to anonymous users but must support users from untrusted domains. What should you do? Your best choice would be to add the code below to the Web.config file: <system.web> <authentication mode=”Windows”> </authentication> <authorization> <deny users=”?” /> </authorization> </system.web> Your best choice would be to add the code below to the Web.config file: <system.web> <authentication mode=”Forms”> <forms loginUrl=”login.aspx” /> </authentication> <authorization> <deny users=”*” /> </authorization> </system.web> Your best choice … Click here to continue…..

Exam 70-562 : Microsoft .NET Framework 3.5, ASP.NET Application Development – 1

Question: You work as a Web Developer at Company.com. Company.com makes use of Microsoft ASP.NET 3.5. You use this application to create a Web site. The following code exists in a file in the App_Code folder:

You want to make sure that the SiteMapDataSource controls use the SessionSiteMapProvider class by default. What should you use do? You should add the following to the Web.config file:

You should add the following to the Web.config file:

You should add the following to the Web.config file:<siteMap defaultProvider=”Company.Providers.SessionSiteMapProvider, App_Code” /> You should add the following to the Web.config file:

Correct … Click here to continue…..