Microsoft
70-513 · Question #169
A class named TestService implements the following interface. TestService is hosted in an ASP.NET applicator. You need to modify the application to allow the GetServiceTime method to return the data…
The correct answer is C. Add this attribute to the GetServiceTime method. See the full explanation below for the reasoning.
Question
A class named TestService implements the following interface. TestService is hosted in an ASP.NET applicator. You need to modify the application to allow the GetServiceTime method to return the data formatted as JSON. It must do this only when the request URL ends in lServiceTime. What should you do?
Exhibit
Options
- AAdd this attribute to the GetServiceTime method
- BAdd this attribute to the GetServiceTime method
- CAdd this attribute to the GetServiceTime method
- DAdd this attribute to the GetServiceTime method
How the community answered
(46 responses)- A4% (2)
- B15% (7)
- C76% (35)
- D4% (2)
Community Discussion
No community discussion yet for this question.
