![]() Therefore it is critical that you reference “MicrosoftAjax.js” before you reference any web services. Web service proxies in JScript are an ASP.NET AJAX feature. If the “path” attribute points to a web service (either WCF or ASP.NET), any objects or functions defined in the generated proxy for that service will show up in IntelliSense. Thus, don’t be surprised if more scripts show up to the party than you invited! ![]() The intent was to reduce the number of references you would need on any given file. If the “path” attribute points to another JS file, any objects or functions defined inside that file- or in a file referenced by that file-will show up in IntelliSense. I’ve gotten quite a few questions about this feature so, I wanted to provide a reference for when and how to use it. The “reference” comment allows you to “see” functions and objects outside of your current file in the completion list. Perhaps the most useful of these comments is the “reference” comment. It should be no surprise that JScript Documentation Comments power much of what you see in JScript IntelliSense in VS2008. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |