You are developing an ASP.NET Web application. The application will contain a page that is customized for various browsers. The application will use output caching to optimize performance. You need to ensure that the page is cached by browser type and major version only. Which attribute should you add to the OutputCache directive?
A. VaryByCustom="browser"You are developing an ASP.NET Dynamic Data Web application.
Boolean fields must display as Yes or No instead of as a check box. You replace the markup in the default Boolean field template with the following markup.
You need to implement the code that displays Yes or No.
Which method of the FieldTemplateUserControl class should you override in the BooleanField class?
A. OnLoadYou are implementing an ASP.NET Web site. The Web site contains a Web service named ProductService . The code-behind file for the ProductService class contains the following code segment.
public class ProductService : System.Web.Services.WebService { public List
You need to ensure that the GetProducts method can be called by using AJAX.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
A. Apply the WebService attribute to the ProductService class.You are developing an ASP.NET Web application.
The application will contain a page that is customized for various browsers. The application will use output cache to optimize performance.
You need to ensure that the page is cached by browser type and major version only. Which attribute should you add to the OutputCache directive?
A. varyByCustom= "browser"You are implementing an ASP.NET AJAX page that contains two div elements. You need to ensure that the content of each div element can be refreshed individually, without requiring a page refresh. What should you do?
A. Add two forms to the page.Add a script manager and an update panel to each form.Add a content template to each update panel, and move each div element into a content template.You are developing an ASP.NET website that uses multiple layers of themes. You want to ensure that attributes will be correctly applied to controls when multiple themes specify the same control attribute. What is the order of precedence that defines how ASP.NET applies themes?
Select and Place:

You have created an ASP.NET server control named ShoppingCart for use by other developers. Some developers report that the ShoppingCart control does not function properly with ViewState disabled. You want to ensure that all instances
of the ShoppingCart control work even if ViewState is disabled.
What should you do?
A. Require developers to set EnableViewStateMac to true.You are implementing an ASP.NET MVC 2 Web application that contains the following class.
Public Class DepartmentController
Inherits Controller
Shared departments As List(Of Department) =
New List(Of Department)
Function Index() As ActionResult
Return View(departments)
End Function
Function Details(ByVal id As Integer) As ActionResult
Return View(departments.Find(Function(x) x.ID = id))
End Function
Function ListEmployees(ByVal d As Department) As ActionResult Dim employees As List(Of Employee) = GetEmployees(d)
Return View (employees)
End Function
End Class
You create a strongly typed view that displays details for a Department instance. You want the view to also include a listing of department employees.
You need to write a code segment that will call the ListEmployees action method and output the results in place.
Which code segment should you use?
You are developing an ASP.NET Web application. You create a master page. The master page requires a region where you can add page-specific content by using the ASP.NET page designer. You need to add a control to the master page
to define the region.
Which control should you add?
A. ContentYou work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You create an ASP.NET Web application using .NET Framework 4.0.
You create a Web page in the application.
The Web page will get large sets of data from a data source.
You add a DataPager control to the page.
You are required to display navigation controls that enable you to create a custom paging Ul for the DataPager control.
What will you do?
A. Use NextPreviousPagerField.Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 70-515 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.