What should you do?

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?

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?

A.
In the <%@ ServiceHost %> header for /Services/Contoso.svc, set the Debug attribute to true.

B.
In the <%@ Page %> header, set the Debug attribute to true.

C.
In the script tag, add a debug attribute and set its value to true.

D.
In the script tag, append debug to the src attribute.



Leave a Reply 1

Your email address will not be published. Required fields are marked *