private async Task<IMobileServiceSyncTable<DerivedDataEntity>> GetTableAsync(MobileServiceSQLiteStore store) { store.DefineTable<DerivedDataEntity>(); MobileServiceClient client = null; #if WIN_APPS client = new MobileServiceClient((string)ApplicationData.Current.LocalSettings.Values["MobileAppUrl"]); #else client = new MobileServiceClient(ConfigurationManager.AppSettings["MobileAppUrl"]); #endif client.InitializeExpressFileSyncContext(store); await client.SyncContext.InitializeAsync(store); return client.GetSyncTable<DerivedDataEntity>(); }