Web API, DataController, and Key on Id field

Topics: Writing modules
Sep 1, 2012 at 2:16 AM

Hi All,

I'm in the middle of writing a major bit of my app, and I'm not at the point of testing..

I read this blog post, about using Web API without EF, and after looking at the Orchard source, the problem highlighted in this post, namely Upshot.js not knowing about a model identifier without the [Key] annotation, may apply.

Can someone have a read, and tell me if it could be a problem? I can fix it, but it would require a minor modification to the core obviously.

Cheers in advance..