This may be a novice question, but goes here ...
We use data Why do * *. D ** When do we need to read data from a jquery to web service call ? D. What is the significance of D?
Is there any support document for this?
Updated: bold
Thanks,
Shashidhar Kokku
". D" is a security feature that Microsoft (and other vendors) ASP.NET AJAX (and other frameworks) of ASP.NET 3.5 Version has been added. By covering JSN response within a parent body, framework "JSON Hacking" helps protect against XSS vulnerabilities.
From the article:
Asp.NET and wcf json service endpoints actually wrap your JSON into an object with "JS" property As I wrote some time ago Although it might seem strange that you want to go through this property to gain access to your data, but this oddity has diminished due to the fact that the client generated for these services should discontinue the proxy "D" property The end user does not need to know that it was ever there.
With ASP.NET MVC (and other similar settings), a significant number of developers are not using client-generated proxy (we do not have them) but instead using jQuery and others To call such libraries in these methods, by making the "d" sort of odd
Comments
Post a Comment