Silverlight and Windows Phone applications require async queries

Aug 2, 2013 at 11:32 AM
Edited Aug 2, 2013 at 11:34 AM
I'm getting this exception when querying for a user account:
+       $exception  {System.InvalidOperationException: Silverlight and Windows Phone applications require async queries.
   at LinqToTwitter.TwitterQueryProvider.Execute[TResult](Expression expression)
   at System.Linq.Queryable.SingleOrDefault[TSource](IQueryable`1 source)
   at MyClass.Twitter.TwitterService.GetUserInfo(String userId)
   at MyClass.Twitter.TwitterService.Initialize(User user)
   at MyClass.LoginPage.<Button_LoginWithTwitter_Click>d__3.MoveNext()} System.Exception {System.InvalidOperationException}
Haven't been able to find anyone with a similar problem. Tried looking into turning my methods over to the async model but nothing...

Anyone run into the same issue?
Aug 2, 2013 at 12:00 PM