Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
UPDATE: This post was updated on May 29th 2013 to reflect changes to simplify the SelectExpandClause...
Date: 05/10/2013
Next week we will release an official RC of the Microsoft ASP.NET WebAPI OData assembly. This marks...
Date: 12/07/2012
Background and Plans For a while now we’ve been shipping an early pre-release version of an...
Date: 12/06/2012
Since my last set of blog posts on OData support in WebAPI (see parts 1 & 2) we’ve been busy...
Date: 11/02/2012
The recent preview release of OData support in Web API is very exciting (see the new nuget package...
Date: 08/20/2012
I love the Actions feature in OData – which is hardly surprising given I was one of its...
Date: 02/03/2012
In my last post I blithely said 'This is where judgment comes in...'. Unfortunately judgment isn't...
Date: 06/06/2011
For a while now I've been thinking that the best way to get better at API & protocol design is...
Date: 06/03/2011
If you didn't get to TechEd - no problem - videos of all the sessions are available here. Including...
Date: 06/12/2010
Yesterday I promised to share all the code from my Best Practices – Creating an OData Service...
Date: 06/10/2010
Background info: This post builds on Parts 1 thru 8 which teach you how to create a typed Data...
Date: 03/02/2010
Over the last couple of years I’ve found myself in lots of situations where I’ve wanted to get...
Date: 03/01/2010
In parts 1 thru 7 we made a Read / Write typed data service provider, although it was a little...
Date: 02/23/2010
There are many good arguments for hiding away the lower layers in your stack – essentially the...
Date: 02/22/2010
Background: While writing the update post in my Data Service Provider series I ended up writing this...
Date: 02/13/2010
If you are trying to use POCO classes in EF 4.0, it is relatively easy to run into problems with the...
Date: 02/11/2010
In Parts 1 thru 6 we created a custom Read/Only provider over an in memory list of Products. Now...
Date: 02/11/2010
By default when you add a Data Service Service Reference you get automatic code-generation, which...
Date: 01/27/2010
In Tip 45 I showed you how to build a connection string at runtime, which is pretty nifty. The...
Date: 01/26/2010
Whenever I find myself implementing a series of interfaces to plug into a framework or server, I...
Date: 01/25/2010
In Part 4 of our series showing how to implement a Custom Data Service Provider we hooked up an...
Date: 01/19/2010
Recently I’ve been spending some of my time playing with JQuery. And because Data Services can...
Date: 01/18/2010
This is Part 4 of my ongoing series of posts showing how to create an Custom Data Service Provider....
Date: 01/14/2010
UPDATE: I’ve made a few updates to the code / write-up to reflect refactors I’ve made as I’ve...
Date: 01/07/2010
Introduction Data Services sits above a Data Service Provider, which is responsible for interacting...
Date: 01/07/2010
To create a read-only Data Service Provider (or DSP) you need to implement two Data Services...
Date: 01/07/2010
One of the the coolest things about Data Services is its provider model. Any data-source can be...
Date: 01/04/2010
I’ve been playing around with creating a custom Astoria Data Service Provider, aka DSP, for a while...
Date: 12/11/2009
Every wonder if you can host an Astoria Data Service in WCF? Well turns out the answer is yes, in...
Date: 12/10/2009
Problem: Take this code: Category oldCategory = ctx.Categories .Include("Products") .First(c =>...
Date: 12/01/2009
This time a real simple one prompted by this question on StackOverflow. Problem: If you tell the...
Date: 11/29/2009
Background By default the Entity Framework embeds its metadata inside your assembly as a resource....
Date: 11/29/2009
I recently did a crash course in Data Services and OData. While doing so I realized my notes might...
Date: 11/18/2009
Problem: When writing code against a Data Service, like say SharePoint, the client application must...
Date: 11/13/2009
Daniel Wertheim left a couple of comments on Tip 42, that point to a series of posts he has written...
Date: 11/13/2009
Background: When we give examples of how to use Code-Only we always start with a strongly typed...
Date: 11/09/2009
Problem: Imagine that you have these entities public class Product { public int ID { get; set; }...
Date: 11/07/2009
Scenario: In EF 4 we have FK relationships, available for the first time in .NET 4.0 Beta 2, so it...
Date: 11/01/2009
The normal way that you create an ADO.NET Data Services (aka Astoria) Service is by creating a class...
Date: 10/14/2009
There have been lots of posts on the EFDesign blog talking about how the features in Code Only have...
Date: 10/13/2009
Problem Someone asked how to do a Conditional Include a couple of days ago on StackOverflow. They...
Date: 10/12/2009
I had an interesting in passing conversation with someone today about tagging file systems… which...
Date: 10/09/2009
While writing my tips series and writing EF controllers for MVC I found that I regularly wanted to...
Date: 09/23/2009
If you write a LINQ to Entities query like this: var results = from c in...
Date: 09/17/2009
UPDATE: thanks Zeeshan for pointing out that by default only non-nullable columns end up in the key...
Date: 09/01/2009
Imagine that in your database you have a cascade delete on an FK relationship. Something like this:...
Date: 08/18/2009
We recently released a CTP that extends EF 4 Beta 1 which included Code Only. You can read more...
Date: 08/11/2009
Please sign in to use this experience.
Sign in