nerdexam
Microsoft

70-515 · Question #117

You are implementing an ASP.NET application that will use session state in out-of-proc mode. You add the following code. Public Class Person Public Property FirstName As String Public Property…

The correct answer is B. Serializable. See the full explanation below for the reasoning.

Question

You are implementing an ASP.NET application that will use session state in out-of-proc mode. You add the following code. Public Class Person Public Property FirstName As String Public Property LastName As String End Class You need to add an attribute to the Person class to ensure that you can save an instance to session state. Which attribute should you use?

Options

  • ABindable
  • BSerializable
  • CDataContract

How the community answered

(19 responses)
  • A
    5% (1)
  • B
    79% (15)
  • C
    16% (3)

Community Discussion

No community discussion yet for this question.

Full 70-515 Practice