PrepAway - Latest Free Exam Questions & Answers

Category: 70-515 (v.3)

Exam 70-515: TS: Web Applications Development with Microsoft .NET Framework 4 (update October 26th, 2015)

You need to apply the General theme to all pages, and you must ensure that the page-specific customizations ar

You are developing an ASP.NET web application. Your designer creates a theme named General for
general use in the application. The designer also makes page-specific changes to the default
properties of certain controls. You need to apply the General theme to all pages, and you must
ensure that the page-specific customizations are preserved. What should you do?

Which code segment should you add at line 03?

You are developing an ASP.NET Web application. The application includes a Icomparer<string>
implementation named CaseInsensitiveComparer that compares strings without case sensitivity You
add the following method.(Line numbers are included for reference only.)
01 public IEnumerable<string>SortWords(string[] words)
02 {
03

04 }
You need to sort the array by word length and then by alphabetic order, ignoring case. Which code
segment should you add at line 03?

Wich code segment should you use?

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=”John.Doe@contoso.com”/>
<Address AlternativeEmail=”John.Doe@contoso.com”/>
<Address MSNInstanceMessenger=”John.Doe@contoso.com”/>
</Person>

…..
</Persons>
You need to generate the XML. Wich code segment should you use?


Page 23 of 26« First...10...2122232425...Last »