Latest 70-515 Real Exam Download 171-180

EnsurepassQUESTION 171 You are developing an ASP.Net MVC 2 view and controller. The controller includes an action method that retrieves rows from a Product table in Microsoft SQL Server database. You need to cache the data that the action method returns. What should you do? A. Add the following <outputCacheSettings> section to the web.config file. <system.web> <caching> <outputCacheSettings> <outputCacheProfiles> <add name="ProductView" duration="60" Read more [...]

Latest 70-515 Real Exam Download 161-170

EnsurepassQUESTION 161 MVC dotn display a column Using LINQ to SQL class [MetadataType(typeof(ProductMetadata))] public pertial class Product { ... } public class ProductMetadata { ... } A. Add the following attribute to Product class [DisplayColumn("DiscontinueDate","DiscontinueDate",false) B. Add the following attribute to ProductMetadata class [DisplayColumn("DiscontinueDate","DiscontinueDate",false) C. Add the following code segment Read more [...]

Latest 70-515 Real Exam Download 151-160

EnsurepassQUESTION 151 You are implementing an ASP.NET Web page The page includes several controls, but only a GridView requires view state. You set the GridView… You need to ensure that the page will omit unneeded view state. Wich @ Page directive should you use? A. <% Page EnableViewState=”true” ViewStateMode=”Enabled” _ %> B. <% Page EnableViewState=”true” ViewStateMode=”Disabled” _ %> C. <% Page EnableViewState=”false” ViewStateMode=”Disabled” _ Read more [...]

Latest 70-515 Real Exam Download 141-150

EnsurepassQUESTION 141 You 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. Read more [...]

Latest 70-515 Real Exam Download 131-140

EnsurepassQUESTION 131 Which class provides paging functionality for data-bound controls that implement the IPageableItemContainer interface? A. DataPagingField B. DataPagerCollection C. DataPager D. DataPaging Answer: C QUESTION 132 Which method of the Page class searches the page naming container for a server control with a particular identifer? A. FindFieldTemplate B. FindControl C. FindDataSourceControl D. FindDataControl Answer: B QUESTION 133 Which control allows you Read more [...]

Latest 70-515 Real Exam Download 121-130

EnsurepassQUESTION 121 Which of the following is the correct syntax to specify the path to a file that generates the strong type? A. <%@ PreviousPageType VirtualPath ="~/MyPage.aspx"% > B. <%@ PreviousPageType VirtualPath ="/MyPage.aspx/ ~"% > C. <%@ PreviousPageType VirtualPath ="~/MyPage.master"% > D. <%@ PreviousPageType VirtualPath ="~/MyPage"% > Answer: A You create an ASP.NET MVC 2 Web application using .NET Framework 4.0. Read more [...]