Loading WCF Data Services Ajax Script Library

added by gilf
7/5/2010 12:12:14 AM

1 Kicks, 87 Views

Since I’ve given sessions about WCF Data Services in the past (when they were called ADO.NET Data Services) I wanted to reuse some of the Ajax examples I showed for my coming OData session. One of the things that have been changed lately were the scripts to use when you want to make Ajax calls to your Data Service. So I downloaded the new scripts and saw that the names of the objects to use have been changed a little but their functionality remained the same. Moreover we have a new feature which helps to figure what to load and how. In this post I’ll explain how to load the WCF Data Services scripts automatically or manually.