PrepAway - Latest Free Exam Questions & Answers

Category: 70-515 (v.1)

Exam 70-515: TS: Web Applications Development with Microsoft .NET Framework 4 (update August 24th, 2013)

We understand that we need a list of supervisors and sublists of their relative students

You have a C# code snippet with 2 classes, one composed by elements of the other.
Something like
public class Student
{
public string Name {get;set;}
}
public class Supervisor
{
public string name {get;set;}
public List<Student> {get;set;}
}
And a markup code snippet, with 2 repeaters imbricated + a ObjectDataSource retrieving a list of Supervisors,
the top level repeater “rptSupervisors” is bound using ObjectDataSourceID to the ObjectDataSource, andthe
inside one “rptStudents” is not bound yet.
We understand that we need a list of supervisors and sublists of their relative students.

You need to enable inspection of the malformed data and prevent message tampering

You create a Windows Communication Foundation (WCF)service and deploy it with wsHttpBinding and
message security enabled. You create an intermediate WCF service for logging messages sent to the primary
service. The intermediate service is called via endpoint behaviour. The primary service is receiving malformed
data from a client application. You need to enable inspection of the malformed data and prevent message
tampering. What do you do?

You need to ensure that the data that is submitted is an Employee instance and that a LastName value is given

You are developing an ASP.NET MVC2 view and controller.
The application includes a class names Employee that has a LastName property. The controller requires an
action method that will insert an Employee
instance into a database.
You need to ensure that the data that is submitted is an Employee instance and that a LastName value is
given.
What should you do?


Page 17 of 19« First...10...1516171819