Browse by Tags
All Tags »
Visual Studio 2008 »
Ajax (
RSS)
Making Cross-Domain Ajax Requests for a Data Service One problem that exists when using ADO.NET data services is cross-domain requests. For security reasons, XMLHTTP requests don’t allow cross-domain HTTP requests. So what can we do if we want to make an Ajax call for a data service that isn’t located in our domain? this post will try to give a solution to this problem. Making a Cross-Domain Ajax Request for a Data Service As stated early in the post’s start, for security reasons, XMLHTTP requests...
Building ADO.NET Data Services Ajax Queries Using a QueryBuilder In today’s post I’m going to explain how to use the QueryBuilder object of the ASP.NET Ajax client library for building queries to an ADO.NET data service . The QueryBuilder Object In the ASP.NET Ajax client library there is a new namespace – Sys.Data . This namespace hosts the main client side objects to interact with data services. You can recall that I wrote about the ASP.NET Ajax client library in a previous post . The QueryBuilder...
Action Sequences in ADO.NET Data Services In this post I’m going to demonstrate how you can use the action sequence feature of the ADO.NET Data Services AJAX Client Library . What is Action Sequence? As written in my previous post , when we perform a CRUD operation using the AJAX Client Library it is immediately transmitted and performed. In the server side when using the DataServiceContext the operations are cached and only transmitted when we use the SaveChanges method. Action sequence enable us...
ADO.NET Data Services AJAX Client Library in VS2008 SP1 Release In a previous post I showed how to build an Ajax client for a data service . In that post I added to the solution a new ASP.NET 3.5 Extensions Web Application project which came with the the ASP.NET 3.5 Extensions preview. In that preview the ADO.NET data services Ajax client library was embedded in the System.Web.Extensions assembly. In the release of VS2008 SP1 the ADO.NET data services Ajax client library is no longer a part of the...
How to Perform CRUD Operations in ADO.NET Data Services Using Ajax Client In the last post in the ADO.NET data services series I wrote about how you can consume data services using Ajax client . In this post I’m going to explain how to perform CRUD operations on a data service using an Ajax client . DataServiceContext and Sys.Data.DataService Before starting to understand how to perform CRUD operations with Ajax client first I want to discuss the main difference between using DataServiceContext ...
Building an Ajax Client for ADO.NET Data Service The post is another post in the series of posts that I write in the ADO.NET data services subject. You can read the previous posts here . In the post I’m going to explain how to build an Ajax client for a data service . Revisiting Previous Posts Example In the example I’m going to use the same course data context that I used in my previous posts. If you are not familiar with the example, you can go to the following links to update: ADO.NET Data Services...
ADO.NET Data Services Introduction Introduction From the early ages of development, the separation of presentation and data was very necessary and was considered (and is considered) a good practice. As you all know, the current trend in the web development world is building Rich Internet Applications ( RIA ) and buzz words like Ajax and Silverlight are very popular today. The RIA technologies ( Ajax , Silverlight and etc) are built on the concept of separation between the presentation and data in...