private static void TableSaveCallBack(TableServiceContext context, IAsyncResult asyncResult) { try { var response = context.EndSaveChanges(asyncResult); } catch (Exception exc) { System.Diagnostics.Debug.WriteLine(exc.ToString()); } }
static WebStats() { WazeWP7.App_Start.StorageInitializer.ApplicationStartup(); byte[] deviceIDbyte = (byte[])Microsoft.Phone.Info.DeviceExtendedProperties.GetValue("DeviceUniqueId"); deviceID = Convert.ToBase64String(deviceIDbyte); tableClient = CloudStorageContext.Current.Resolver.CreateCloudTableClient(); context = CloudStorageContext.Current.Resolver.CreateTableServiceContext(); }