| Exam Code/Number: | 70-515Join the discussion |
| Exam Name: | TS: Web Applications Development with Microsoft .NET Framework 4 |
| Certification: | Microsoft |
| Question Number: | 186 |
| Publish Date: | May 23, 2026 |
|
Rating
100%
|
|
Which class is used to specify a set of features to support on the XmlReader object created by the Create method?
You are testing an existing ASP.NET page.
The page includes a text box.
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?
You are implementing an ASP.NET web application.The application defines the following classes. public class Person {
public String Name{get; set;} publicIList<Address> Addresses{get;set;} }
public class Address
{ public String AddressType{get; set;} public string AddressValue{get;set;}
}
The applicaction must generate XML from personList, wich is a collection of Person instances.The following
XML is an example of the schema than the generated XML must use.
<Persons>
<Person Name="John Doe">
<Address Email="[email protected]"/>
<Address AlternativeEmail="[email protected]"/>
<Address MSNInstanceMessenger="[email protected]"/>
</Person>
.....
</Persons>
You need to generate the XML.
Wich code segment should you use?
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.
The Web application connects to a SQL Server database.
You use the ADO.NET Entity Framework to handle persistence-ignorant entities.
You create an ObjectContext object named ObjContext.
Subsequently, you change properties on numerous entities.
You are required to save the changed entity values in the SQL Server database.
Which of the following code segments will you use?
You are implementing an ASP.NET page.
The page includes a method named GetCustomerOrderDataSet that returns a DataSet.
The DataSet includes a DataTable named CustomerDetailsTable and a DataTable named
OrderDetailsTable.
You need to display the data in OrderDetailsTable in a DetailsView control named dtlView.
Which code segment should you use?