You are developing an ASP.NET MVC 2 Web application that displays product details. The global.asax.cs file contains the following code segment 01 public static void registerRoutes(RouteCollection routes) 02 { 03 routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); 04 routes.MapRoute("Default", "{controller}/{action}/{id}", new {controller = "Home", action =…

You are developing an ASP.NET web application. The application consumes a WCF service that implements a contract named IcontosoService. The service is located on the local network and is exposed using the following endpoint <endpoint name="udpDiscover" kind="udpDiscoveryEndpoint"/> You need to…

You are developing an ASP.NET web page. You need to ensure that content flows from right to left. What should you do? A. In the @Page directive, add an attribute named dir with a value of "RightToLeft" B. In the…

You are implementing an ASP.NET application that uses data-bound GridView controls in multiple pages. You add JavaScript code to periodically update specific types of data items in these GridView controls. You need to ensure that the JavaScript code can locate…

You are developing an ASP.NET Web page. The page uses the MicrosoftAjax.js script file and the MicrosoftAjaxWebForms.js script file. You need to ensure that both scripts are combined into a single script. Which markup should you use? A. B. C.…

You are developing a Asp.net MVC 2 application The following Customer class is rendered by the Html.DisplayForModel helper method. public class Customer { public string FirstName { get; set;} public string LastName { get; set;} public string EmailAddress { get;…

You are updating an ASP.NET Web Application. The application includes the fallowing classes. An application page contains the fallowing markup. You need to ensure that the page displays a list of supervisors with their corresponding employees. What should you do?…

You are implementing an ASP.NET page that includes a text box. You need to validate values that are typed by users to ensure that only numeric values are submitted. Which control markup should you use? A. <asp:TextBox ID="txt1" runat="server" CausesValidation="true"…