What should you do?
You are troubleshooting an ASP.NET Web application. System administrators have recently expanded your web farm from one to two servers. Users are periodically reporting an error message about invalid view state.
You need to fix the problem.
What should you do?
which attribute should you set to true?
You are testing an existing ASP.NET page. The page includes a text You are able to execute malicious JavaScript code by typing it in the text box and submitting. You need to configure the page to prevent JavaScript code from being submitted by the text box. In the @ Page directive, which attribute should you set to true?
Which two actions should you perform?
You are implementing an ASP. NET MVC 2 Web application. You add a controller named CompanyController.
You need to modify the application to handle the URL path /company/info.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
What should you do?
You are implementing an ASP.NET Dynamic Data Web site.
The Web site includes a data context that enables automatic scaffolding for all tables in the data model. The Global.asax.cs file contains the following code segment. public static void RegisterRoutes(RouteCollection routes) { {
routes.Add(new DynamicDataRoute(“{table}/ListDetails.aspx”) {
Action = PageAction.List,
ViewName = “ListDetails”,
Model = DefaultModel
});
routes.Add(new DynamicDataRoute(“{table}/ListDetails.aspx”) {
Action = PageAction.Details,
ViewName = “ListDetails”,
Model = DefaultModel
});
}
You need to display the items in a table named Products by using a custom layout.
What should you do?
Which event handler should you add?
You are implementing an ASP.NET page in an e-commerce application. Code in a btnAddToCart_Click event handler adds a product to the shopping cart.
The page should check the status of the shopping cart and always show a cart icon when one or more items are in the shopping cart. The page should hide the icon when the shopping cart has no items. You need to add an event handler to implement this requirement.
Which event handler should you add?
Which page event should add an event handler to?
You create an ASP.NET page named TestPage.aspx that contains validation controls. You need to verify that all input values submitted by the user have been validated by testing the Page.IsValid property.
Which page event should add an event handler to?
Which two actions should you perform?
You are developing an ASP.NET application by using Visual Studio 2010. You need to interactively debug the entire application. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
Which source should you recommend?
You are designing an ASP.NET Web application for content management.
You have the following requirements:
Support multiple languages.
Support dynamic changes to site content.
Provide the ability to add content to the site without making changes to files within the application directory.
You need to recommend the applications source for retrieving content.
Which source should you recommend?
Which approach should you recommend?
You are designing a process for deploying an ASP.NET MVC 2 Web application to IIS 6.0.
You need to ensure that the Web application properly handles Web requests.
Which approach should you recommend?
Which approach should you recommend?
You are designing an ASP.NET Web Forms application.
You have the following requirements:
Make use of exclusive features in a newly released Web browser.
Do not change existing code files.
You need to design the application to meet the requirements.
Which approach should you recommend?