azure-mobile-services

Retrieving data from Azure Mobile Services

浪尽此生 提交于 2019-12-12 01:37:17
问题 I am making a Windows 10 app with an Azure backend which I started to integrate and when I try to retrieve data I am getting the most odd error, please see code below: Code in App.xaml.cs // Setting up a client to retrieve data, using localhost just to try it out public static MobileServiceClient DigestsTrackerClient = new MobileServiceClient("http://localhost:28451/"); Code on WeekItem.cs // Method to get data from Mobile Services public static async void GetWeekItems(List<WeekItem> passer)

Retrieve data from a azure mobile service into a android apllication in java

会有一股神秘感。 提交于 2019-12-11 23:57:25
问题 I have a Azure mobile Service which retrieves data from multiple sources and delivers it for my mobile application to consume . so far I have used it in developing windows mobile application and it works completely fine .Now that I want to extend the same app to android , I want to leverage the data from the same azure mobile service . My C# code for the Windows app to retrieve the data is MobileServiceClient mobileservice = new MobileServiceClient("url", "key"); var aod_return = await

android device specific push notifications by using azure mobile services

做~自己de王妃 提交于 2019-12-11 23:54:03
问题 I have a mobile service in azure and an android application. I want to send push notification on user device who is registering it self. I got success on sending notifications through gcm but it is broadcasting the notifications on all devices. Please help me in this regard. for sending notification I have customized insert query in azure but it is broadcasting the notifications. I have no idea how to send it in specific device. my insert query is- function insert(item, user, request) { var

Azure Mobile Service: Cannot insert any records to table?

左心房为你撑大大i 提交于 2019-12-11 20:22:34
问题 I created an azure mobile service and set up all the database tables properly (tested them). However when I try to insert a record to my SQL table through my android app, the record doesn't get added. (Yes my SQL table is ready for the mobile service as well. Changed the Schema as well) I don't get an error either. Here's my code: @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.login_screen); final String mobileServiceUrl

Azure mobile service asynctask

守給你的承諾、 提交于 2019-12-11 20:09:34
问题 I got some trouble using the asynctask to query in my cloud database. Due the response delay to query I cant get the result correctly. Getting NULL. MainActivity.java @Override protected void onCreate(Bundle savedInstanceState) { this.mBox = new Box(); super.onCreate(savedInstanceState); setContentView(R.layout.novomenu_layout); InicializaAzure(); // init connection to azure mobile service this.mPalletDao = new PalletDAO(this); this.mBoxDao = new BoxDAO(this); mBox = mBoxDao.AzureGetBoxById(1

Need to access my VM Windows 8 Local IIS from my Mac OS X host machine

佐手、 提交于 2019-12-11 19:33:45
问题 I'm doing all my mobile development on my Mac OS X (Xamarin Studio or native languages), and using Parallels to work my Microsoft Azure Mobile Services backend in Visual Studio. I've came to the point I want to test my Azure Mobile API, but I don't want to publish the service for every change and also debug it. My problem is that I deploy to my IIS, express or local, works fine in terms of seeing the land page of the API on my Mac physical hosting machine but as soon as I click try it out I

InHouse authorization on Azure Easy Tables

故事扮演 提交于 2019-12-11 14:36:26
问题 We are using the sync feature of the Azure Easy tables from our iOS App. We have implemented our own Authentication and Authorization in our system. I have done it for Easy APIs. I want to extend the same logic on Easy Tables sync also. I am not sure how to add this logic to easy tables data changes. Any pointers would be highly appreciated. 回答1: Technically, this is just as easy as Easy APIs. Your authentication / authorization mechanism must produce a JWT with a known audience, issuer and

How to combine azure AppServices API, Mobile and Web apps

梦想与她 提交于 2019-12-11 13:54:01
问题 We are are on the start of our project and want to decide what technologies that Azure provides we can utilize. Firstly we are going to have mobile application and later web application. For both of this we need API. I really don't want to create separate api for mobile and web. That's why I guess we need to have a common base API which mobile and web apps will reference and extend with mobile and web specific logic. What we want to be common is user database and authentication (social

Enable CORS on Azure Mobile Serivce .NET Backend

耗尽温柔 提交于 2019-12-11 12:54:10
问题 I modified a ASP.NET Web API 2 project to make use of Microsoft Azure Mobile Servies. I'm developing a Phonegap app and testing it using my Desktop Chrome Browser and a locally running Azure Mobile Service. Before I "converted" my project I handled CORS using this lines of code in my startup code (requires NuGet Package Microsoft.AspNet.WebApi.Cors): #if DEBUG var cors = new EnableCorsAttribute("*", "*", "*"); config.EnableCors(cors); #if DEBUG config.MapHttpAttributeRoutes(); ... This worked

Upload text file to Azure blob Storage returns Internal Server Error

时光总嘲笑我的痴心妄想 提交于 2019-12-11 11:36:38
问题 I want to create an application, where the user can upload a text file to the Azure Blob Storage. I was using this example, but even this can't work for me: link I modified a little bit for my thing: [DataContract] public class WorkoutItem { [JsonProperty(PropertyName = "id")] public string Id { get; set; } [JsonProperty(PropertyName = "containerName")] public string ContainerName { get; set; } [JsonProperty(PropertyName = "resourceName")] public string ResourceName { get; set; }