070-515 무료 덤프문제 온라인 액세스
| 시험코드: | 070-515 |
| 시험이름: | TS: Web Applications Development with Microsoft .NET Framework 4 |
| 인증사: | Microsoft |
| 무료 덤프 문항수: | 186 |
| 업로드 날짜: | 2025-12-13 |
You are implementing an ASP.NET page.
You add and configure the following ObjectDataSource.
<asp:ObjectDataSource SelectMethod="GetProductByProductId" ID="odc" runat="server" TypeName="ProductDAL"> <SelectParameters> <asp:Parameter Name="productId" Type="Int32" /> </SelectParameters> </asp:ObjectDataSource>
The page will be called with a query string field named pid.
You need to configure the ObjectDataSource control to pass the value of the pid field to
GetProductsByProductId method.
What should you do?
You create a Web page that contains the following div.
<div id="target">
</div>
You have a JavaScript array named imageurls that contains a list of image URLs.
You need to write a JavaScript function that will insert images from the URLs into target.
Which code segment should you use?
You create a Visual Studio 2010 solution that includes a WCF service project and an ASP.NET project.
The service includes a method named GetPeople that takes no arguments and returns an array of Person
objects.
The ASP.NET application uses a proxy class to access the service.
You use the Add Service Reference wizard to generate the class.
After you create the proxy, you move the service endpoint to a different port.
You need to configure the client to use the new service address.
In addition, you must change the implementation so that calls to the client proxy will return a List<Person>
instead of an array.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
Which class provides paging functionality for data-bound controls that implement the IPageableItemContainer interface?
You are implementing an ASP.NET page that hosts a user control named CachedControl.
You need to ensure that the content of the user control is cached for 10 seconds and that it is regenerated
when fetched after the 10 seconds elapse.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)