wcf data service

Sep 10, 2011 at 5:26 AM

Should I be able to call a wcf data service DataServiceCollection.LoadAsync(Uri) from a ViewModel with Caliburn Micro?

I would have assumed yes, but it doesn't seem to work, yet if I take the same lines of code and put into a new wp7 project (without cliburn) the code runs when placed in codebehind on the page.

If it "should" work then I'll start pulling apart my project and find out what I'm doing wrong.

Sep 10, 2011 at 12:08 PM

I'll answer my own question because I'm an idiot and someone may find this useful. I was swallowing an exception so it appeared my LoadAsync call wasn't working.

It all works fine.