OData Roadmap: Exposing Any Data Source as an OData service
- Date: April 14, 2011 from 3:00PM to 4:00PM
- Day 3
- FRM16
- Speakers: Jonathan Carter
- 25,876 Views
- 9 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
Already have a Channel 9 account? Please sign in
Follow the Discussion
This video often fails to download or play!
Same here...its not playing for me. refreshed many times
I get no sound.
I call shenanigans!! I've done everything in his demo up to the first time he runs the project with one difference. I used the .net framework 4.0 System.Data.Services and System.Data.Services.Client. He mentioned that you could use those instead of the CTP versions. He used the CTP versions which I tried also but the toolkit references the .net 4.0 versions of those assemblies and causes a namespace collision and thus won't compile. When I run the project with the .net 4.0 assemblies reference, I get a 500 server error that indicates I should go to weblogs for more information. I have set all of my unhandled exceptions of stop to gain some kind of insight on the problem. Has any body gotten this to work!!
@Michael
Sorry to hear you're having some issues. First off: the toolkit assemblies that are publically available are built against .NET 4. They can be used with the new CTP (as I did at MIX), but you'd have to download the source from Codeplex and rebuild them against those assemblies. I didn't actually use any OData v3 features in the session, so my use of the CTP was pretty superflous.
The 500 error you're getting is a generic WCF error and could be from anything, and it's vague nature isn't because of the toolkit, that's a behavior of WCF. If you add the following attribute to your service, you should see a better error message:
[ServiceBehavior(IncludeExceptionDetailInFaults=true)]
Feel free to ping me if you continue having issues.
/JC
OK ... I un-call shenanigans!!
I'm hugh WCF newby!! I was really excited by you presentation and wanted to try this out.
The problem was in the step where you set [DataServiceKey("Id")]. You were saying you like to override with a lower case id. I unfortunately typed "id".
Your ServiceBehavior yielded a message that pointed to the problem!!
Thanks!!
Anyone get this to work ? Paging doesn't work like it does in the video (my ODataQueryOperation SkipCount and TopCount are always 0) and if I get source from the codeplex and use that assembly I don't get v3. Interesting. Perhaps a link to a working demo project? That would be excellent!
@CmdrTallen
Did you set a page size for the entity set you want to page? Without doing that, SkipCount and TopCount won't be enabled. It's a bug that needs to be fixed.
As far as the v3 part, that is because I was using the CTP version of WCF Data Services in the demo, while the toolkit code on Codeplex isn't.
I am downloading the video, looks like it will take 2 hours.
Remove this comment
Remove this thread
close