Online Access Free 70-515 Practice Test
| Exam Code: | 70-515 |
| Exam Name: | TS: Web Applications Development with Microsoft .NET Framework 4 |
| Certification Provider: | Microsoft |
| Free Question Number: | 186 |
| Posted: | Aug 18, 2026 |
Migration .net 3.5 to 4.0
You have migrated a web application from .net 3.5 to 4.0. the application hat to render same as in .net 3.5.
Which property of the ListView class is used to get\set the name of the data field whose value exclusively identifes every data row of a ListView when the ClientIDMode property is set to Predictable?
You create a Web page that contains the span shown in the following line of code.
<span id="span1">Text</span>
You need replace the contents of the span with HTML that you download from a URL specified by a global
variable named localURL.
Which code segment should you use?
You're developing an ASP web page. the pages requires access to types that are defined in an assembly
named Contoso.businessobjects.dll.
You need to ensure that the page can access these types.
You are updating an ASP.NET Web Application. The application includes the fallowing classes.
public class Supervisor
{ public string FirstName { get; set; } public string LastName { get; set; } public List<Employee> Employees { get; set; }
}
public class Employee
{ public String FirstName { get; set; } public String LastName { get; set; }
}
An application page contains the fallowing markup.
<asp:Repeater ID="rptSupervisor" runat="server" DataSourceID="odsEmployees"> <ItemTemplate> <%#Eval("FirstName") %> <%#Eval("LastName") %><br /> Employees:<br />
<asp:Repeater ID="rptEmployees" runat="server">
<ItemTemplate>
<%#Eval("FirstName") %> <%#Eval("LastName") %>
<br />
</ItemTemplate>
</asp:Repeater>
</ItemTemplate> </asp:Repeater> <asp:ObjectDataSource ID="odsEmployees" runat="server" SelectMethod="GetSupervisorWithEmployees"
TypeName="BusinessLayer"> </asp:ObjectDataSource>
You need to ensure that the page displays a list of supervisors with their corresponding employees.
What should you do?