READ Free Dumps For Microsoft- 70-483
Question ID 17018 | You are developing an application. The application converts a Location object to a string by
using a method named WriteObject. The WriteObject() method accepts two parameters, a
Location object and an XmlObjectSerializer object.
The application includes the following code. (Line numbers are included for reference only.)
You need to serialize the Location object as a JSON object.
Which code segment should you insert at line 20?
|
Option A | New DataContractSerializer(typeof(Location))
|
Option B | New XmlSerializer(typeof(Location))
|
Option C | New NetDataContractSenalizer()
|
Option D | New DataContractJsonSerializer(typeof(Location))
|
Correct Answer | D |
Explanation Explanation: The DataContractJsonSerializer class serializes objects to the JavaScript Object Notation (JSON) and deserializes JSON data to objects. Use the DataContractJsonSerializer class to serialize instances of a type into a JSON document and to deserialize a JSON document into an instance of a type.
Question ID 17019 | You are developing an application by using C#. You provide a public key to the
development team during development.
You need to specify that the assembly is not fully signed when it is built.
Which two assembly attributes should you include in the source code? (Each correct
answer presents part of the solution. Choose two.)
|
Option A | AssemblyFlagsAttribute
|
Option B | AssemblyKeyFileAttribute
|
Option C | AssemblyConfigurationAttribute
|
Option D | AssemblyDelaySignAttribute
|
Correct Answer | B,D |
Explanation