Which state management technique to use:
State management You have to store user data of 200 KB in an object. Which state management
technique to use:
which subfolder within the Views folder should you add the view?
You are developing an ASP.NET MVC 2 application.
You create a view that will be returned by action methods in multiple controllers.
You need to place the view in the appropriate folder.
To which subfolder within the Views folder should you add the view?
You need to ensure that users can successfully move Web Parts from one zone to another
You develop an ASP.NET Web page that includes multiple WebPartZone controls, an EditorZone.
Users report that they cannot customize the layout of the page by moving WebParts from one … You
need to ensure that users can successfully move Web Parts from one zone to another. What should
you do?
Wich @ Page directive should you use?
You are implementing an ASP.NET Web page The page includes several controls, but only a GridView
requires view state. You set the GridView… You need to ensure that the page will omit unneeded
view state. Wich @ Page directive should you use?
You need to break execution where the exception is thrown
You are debugging an ASP.NET Web application by using the Visual Studio debugger. The application
is incorrectly handling a SQL Exception on the login page. You need to break execution where the
exception is thrown . What should you do?
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.
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, and the 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 when the button is clicked, both update panels update the tim without generating a pos
You need to ensure that when the button is clicked, both update panels update the tim without
generating a postback. What should 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?
Which code segment should you use?
You are developing an ASP.NET MVC 2 Web Application. You need to implement an asynchronous
controller named AccountingController, and you must ensure that the export action required proper
authorization. Which code segment should you use?