Microsoft
70-513 · Question #101
An ASP.NET application hosts a RESTful Windows Communication Foundation (WCF) service at /Services/Contoso.svc. The service provides a JavaScript resource to clients. You have an explicit reference…
The correct answer is D. In the script tag, append debug to the src attribute. See the full explanation below for the reasoning.
Question
An ASP.NET application hosts a RESTful Windows Communication Foundation (WCF) service at /Services/Contoso.svc. The service provides a JavaScript resource to clients. You have an explicit reference to the JavaScript in your page markup as follows. <script type="text/javaScript" src="/Services/Contoso.svc/js" /> You need to retrieve the debug version of the service JavaScript. What should you do?
Options
- AIn the <%@ ServiceHost %> header for /Services/Contoso.svc, set the Debug attribute to
- BIn the <%@ Page %> header, set the Debug attribute to true.
- CIn the script tag, add a debug attribute and set its value to true.
- DIn the script tag, append debug to the src attribute.
How the community answered
(69 responses)- A3% (2)
- B13% (9)
- C4% (3)
- D80% (55)
Community Discussion
No community discussion yet for this question.