Tip 44 – How to navigate an OData compliant service

I recently did a crash course in Data Services and OData. While doing so I realized my notes might be useful for you guys. So here is my little cheat sheet to quickly get up to speed with OData Urls. Note: OData Services may not necessarily support all of the following features: but if they…

7

Tip 4 – Conceptual Schema Definition Language Rules

The first version of the Entity Framework was released a while back ago now with .NET 3.5 SP1. One of the most glaring holes in the Entity Framework documentation was the lack of a formal document describing the Conceptual Schema Definition Language or CSDL. The CSDL for those who are wondering is the concrete format…

2

Side effects of first class Associations

You’ve probably all heard someone say that Entity Data Model (EDM) and more specifically the Entity Framework (EF) treat associations as first class concepts. This sentence, seems reasonably benign, but it has a profound effect on the Entity Framework’s behavior. Allow me to illustrate by way of an example: Imagine you want to model a…

9

Nullable=”False”… but when exactly?

If you look at the EDM and in particular the metadata it considers important, one thing is clear: Persistence is the Priority. For example this: <Property Name=”Firstname” Type=”String” Nullable=”False”/> Tells us that the Firstname property can’t be null when persisted. If however the EDM Type System is used to describe the signature of a function,…

5

MEST – What is it and how does it work?

MEST stands for Multiple EntitySets per Type. It is one of the features of the Entity Framework that is typically missing from ORM stacks. The idea is that you can store the same EntityType in multiple EntitySets. For the purposes of this discussion you can think of EntitySets as analogous to Tables. Now MEST works…

9

Fantasy Soccer – Part 4 – Architectural Overview

Okay this Fantasy Soccer thing has got me thinking. What is this thing going to look like from about 100,000 feet? I.e. what are the big bits? Well being a pure geek, I really want to play with new shiny stuff (i.e. the new ASP.NET MVC Framework) but that has to be balanced against a…

1

Fantasy Soccer – Part 2 – an overview of the rules

Yes, yes I know the real name of Soccer is Football, but I don’t want there to be any confusion for any Americans, Australians or New Zealanders who might be reading this 😉 So what are the basic rules of Fantasy Soccer? The Basic idea is that you get some fantasy money, lets say $100,000,000…

1

Real world App – Part 1 – Choosing an Application

Okay so it has been a while since I posted my Statement of Intent. Time to get on with things. The main problem has been trying to come up with a good application. I gave myself three key requirements: Well suited to the web. Ability to grow uncontrollably in scope: so as to include hooks…

4