azure-mobile-services

App not retrieving data from Azure mobile service table

偶尔善良 提交于 2019-12-12 03:14:22
问题 Well my android app has trouble getting data from a table in my mobile service. It connects to the azure mobile service server using the MobileserviceClient with no errors what so ever. But when i try to get a table and take the data out of that table that app freezes on that 1 line and gives me a white screen. So some help would be great cause I have no clue what I am doing wrong. Also there is already 50 rows of data in the restaurantdata table. private MobileServiceClient mClient; private

Can't add Microsoft Azure Configuration Manager library for .NET package in Xamarin Studio

泪湿孤枕 提交于 2019-12-12 02:53:48
问题 I need to use the CloudConfigurationManager class that the Microsoft Azure Configuration Manager library for .NET provides to parse a connection string from a configuration file. Skip down to the "Parse the connection string" step of this tutorial to see what I'm doing. I'm following along as close as I can using the Xamarin platform. I'm creating an Android app that I want to save two strings to a table using Azure Storage. When I try to add the Microsoft Azure Configuration Manager Library

Extend Azure Mobile Service: add MVC and new routes

岁酱吖の 提交于 2019-12-12 02:38:46
问题 I had my azure mobile service running for a bit, and now I want to add a website to it, so I can host both a website and backend service from one machine in the azure cloud. I have added MVC and all relevant scaffolding like controller, view, and registered a route. The problem I'm having is that the new route that I added "/Home/Index" somehow is getting rerouted to startup azure web service page These are the parts in the code that I've added. Controller: [RoutePrefix("Home")] public class

Getting “Resource not found error” while using Azure File Sync

五迷三道 提交于 2019-12-12 02:36:41
问题 Facing a very strange issue. Following this guide https://azure.microsoft.com/en-in/documentation/articles/app-service-mobile-xamarin-forms-blob-storage/ to implement File Sync in Xamarin Forms app. The Get method in my service (GetUser, default get method in App service controller) is being called thrice & on the 3rd iteration it gives me a 404 resource not found error. First 2 iterations work fine. This is the client call await userTable.PullAsync( null, userTable.Where(x => x.Email ==

Upload images to Azure Blob Storage from an Android device With Offline Sync

孤街醉人 提交于 2019-12-12 02:28:16
问题 From My android Application want to Capture a Image ,With a Text Field. Text fields Data need to Save In Local Sqlite Database(Like TodoItem Table) ,Image will Save in Sdcard With Offline. When Internet Comes Image Need to Sync in Azure Blob Storage , Text data need to Sync in Azure Todoitem Server Table. I tried Below Links, for Offline Data Sync is Working. But Offline Image Upload to Azure not able to find Any code or Link . Please help me to Find the solution Link I tried for Image Upload

Outputting the number of entities in an Azure table

孤街浪徒 提交于 2019-12-12 02:26:35
问题 I'm having this issue that I've been going crazy over for a few hours now. I've got a table stored in Azure that holds tasks a user wants to accomplish. Each task has a status which can be an integer value of either 1, 2 or 3 corresponding to to do, in progress or completed respectively. I'm trying to create three separate gauges which tell the user how many tasks they have in each of those three categories, but everything I've tried throws a MobileServiceInvalidOperation error and I can't

Azure mobile service doesn't register push notifications tags on Android

倾然丶 夕夏残阳落幕 提交于 2019-12-12 02:25:28
问题 I'm trying to use the following code to send push notifications to specific users with tags (VS Cordova Project using Azure mobile service). var tags = [userid, platform]; // Get the handle returned during registration. var handle = data.registrationId; // Set the device-specific message template. if (platform == "android" || platform == "Android") { // Template registration. var template = '{ "data" : {"message":"$(message)"}}'; // Register for notifications. mobileServiceClient.push.gcm

Enable CORS in Azure Mobile Services - OPTIONS not authorized

泪湿孤枕 提交于 2019-12-12 02:04:01
问题 I am creating .Net web services using Azure Mobile Services. The services themselves work fine, but I want to enable CORS. My Global.asax contains: protected void Application_BeginRequest(object sender, EventArgs e) { HttpContext.Current.Response.AddHeader("Access-Control-Allow-Origin", "*"); if (HttpContext.Current.Request.HttpMethod != "OPTIONS") return; HttpContext.Current.Response.AddHeader("Access-Control-Allow-Methods", "GET,POST"); HttpContext.Current.Response.AddHeader("Access-Control

Create blob container for Azure App Service

Deadly 提交于 2019-12-12 01:56:50
问题 I have had some issues with upgrading a MobileService to Azure App Service. I had the following question Blob storage access from Azure App Service which enabled me to access the blob storage. Now I wanted to save an image to the blob storage, which the updated code is like this: string cloud = ""; CloudStorageAccount storageAccount = CloudStorageAccount.Parse(CloudConfigurationManager.GetSetting("battlecrestimage_AzureStorageConnectionString")); cloud = storageAccount.BlobEndpoint.ToString()

Parameter Passing with Azure Get Service

时光毁灭记忆、已成空白 提交于 2019-12-12 01:43:09
问题 I am not sure how to do this, new with azure, i am using "public interface IMobileServiceSyncTable : IMobileServiceSyncTable" of Azure and to fetch the records from one particular table, i am using below in a method: "query = table.CreateQuery(); await table.PullAsync(typeof(T).Name, query);" this gets me all the records of this particular table, now i wish to pass a parameter viz USERID, so i get only those records that belongs to this user. Can anyone help me with an example for this? Also