OData

Create and consume RESTful APIs in a simple and standard way

Latest posts

May 28, 2008
Post comments count 0
Post likes count 0

Securing Data Services

DB Blogs

We have received a lot of questions lately about how to authenticate calls to an ADO.NET Data Service.  Mike Taulty has created a nice post outlining some of the options for authenticating calls to data services.  Check it out here: https://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2008/05/27/10447.aspx   -Mike Flasko ADO.NET Data Services Framework, Program Manager

May 20, 2008
Post comments count 0
Post likes count 0

Merge vs. Replace Semantics for Update Operations

DB Blogs

So far Astoria has used “merge” semantics for update. That is, an “update” operation (an HTTP PUT request) replaces the values of the properties for the target entity that are specified in the input payload; this applies both to properties and links. If a property or link is not present in a PUT operation, it means “leave it with its current value”. To null-out a property or link it has to be present in the PUT body and has to have a null marker (null attribute for properties, null href for links). While supporting merge is important and will remain part of Astoria, there are scenarios where we need “replace” sem...

May 18, 2008
Post comments count 0
Post likes count 0

Interested in working on the ADO.NET Data Services Framework (aka “Astoria”) or XML?

DB Blogs

Do you want to work on the next generation of data access APIs for the web?  If so, the Astoria and XML teams are hiring.  If you want to get a feel for the types of problems our team thinks about the solutions we build, check out the earlier posts on this blog as well as https://msdn.microsoft.com/data and http://msdn.microsoft.com/xml We have a range of job openings across disciplines (Development, Developer in Test and Program Management) available on the Astoria and XML teams.  If you are interested in any of these positions, please send myself (mike.flasko@microsoft.com) and Andy Conrad (acon...

May 12, 2008
Post comments count 0
Post likes count 0

ADO.NET Data Services Framework Beta 1 is Live!

DB Blogs

We are very excited to announce that .NET 3.5 SP1 Beta 1 and Visual Studio 2008  SP1 Beta 1 are now available!  This beta marks the entry of the ADO.NET Data Services Framework as well as the ADO.NET Entity Framework as part of the overall .NET/Visual Studio product and will be the final beta before the RTM of both technologies. The remainder of this post will cover the changes and additions to the ADO.NET Data Services Framework since the last CTP in Dec 07.  The Since our last CTP in Dec 2007 along with the ASP.NET 3.5 Extensions Preview, there have been a number of changes and added features....

Apr 24, 2008
Post comments count 0
Post likes count 0

Using REST Services in Silverlight 2

DB Blogs

We have received a lot of feedback over the past few weeks asking when will be update the Silverlight library for data services. I thought I'd put up a short post to update everyone on where we are at and what our thinking is.... I'll start by saying we are targeting Beta 2 of the Silverlight SDK (no dates to announce for this just yet) to have a version of the client library for ADO.NET Data Services. Given that we use many of the core pieces of Silverlight to enable data service interaction, we've waited for those to come into the platform so that we can start to round out our Silverlight experience.  The...

Apr 22, 2008
Post comments count 0
Post likes count 0

Optimistic Concurrency & Data Services

DB Blogs

Different applications have different requirements around consistency and how concurrent modifications are handled. I’ll oversimplify and put all these applications in two buckets: either you care about controlling concurrent changes or you don’t. If you’re creating a REST interface to your data and don’t care about concurrency (e.g. no deep consistency rules, or nice units of change that change in whole consistent ways), then you can use the basic HTTP methods to retrieve (GET) and manipulate (POST, PUT, DELETE) resources directly without any more context than the representations of your resources. You get “last...

Apr 14, 2008
Post comments count 0
Post likes count 0

Astoria Online Service –> SQL Server Data Services

DB Blogs

Around a year ago in the Mix 2007 conference we announced Project Astoria, an overall initiative to understand how data is used on the web and what frameworks, tools and services could we create to enable new and better applications in this space. Several things resulted from that effort already. One of these results is a unified pattern for exposing and manipulating data across various data-centric services using the Atom format and the AtomPub protocol, plus a set of common conventions for constructing URLs to point to resources. This pattern is shared by some Windows Live services as announced here and articu...

Apr 10, 2008
Post comments count 0
Post likes count 0

IUpdatable & ADO.NET Data Services Framework

DB Blogs

Astoria service allows reading/querying of data via the already-established IQueryable interface – this helps in abstracting Astoria from the underlying data source. But there is no existing interface for the update operations (CUD – create, update, delete operations). Hence we came up with IUpdatable interface to support CUD operations and support read-write services. One of the main design goals while designing the IUpdatable interface was to make it resource independent. In other words, the methods that return objects representing resources can return anything – for Astoria, the returned object is a opaque o...

Apr 7, 2008
Post comments count 0
Post likes count 0

Batching Data Service Requests

DB Blogs

We have received a fair amount of feedback regarding a number of use cases where it would be beneficial to enable a client of a data service to “batch” up a group of operations and send them to the data service in a single HTTP request.  This reduces the number of roundtrips to the data service for apps that need to make numerous requests to the data service to perform a given action and allows a set of operations to be logically grouped together.  Below is the design we have landed on.  Note: We will have something close to this design in our next CTP/Beta release of Astoria, but its not quite th...