azure-mobile-apps | Build better mobile applications using Azure Mobile Apps
kandi X-RAY | azure-mobile-apps Summary
kandi X-RAY | azure-mobile-apps Summary
Azure Mobile Apps is a set of client and server libraries for adding authenticated data access and offline synchronization to your mobile applications. UPDATE We are currently updating the Azure Mobile Apps libraries to ASP.NET Core, and will be updating the supported environments soon. To get started, take a look at our documentation. The following libraries have been archived and can be considered deprecated (links take you to the archive). What does deprecation mean? The libraries that have been deprecated are still available in the archive, and documentation is available in the documentation, but no further work will be done on these libraries, and any issues opened on these libraries will be closed as "won't fix". The libraries are open-source, and you are welcome to fork them to adjust as you see fit. In particular, the upcoming ASP.NET Core service will implement ZUMO-API-VERSION 3.0.0 (whereas the Node and ASP.NET Framework implemented ZUMO-API-VERSION 2.0.0). It is unlikely that the deprecated clients will work against the newer server versions.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of azure-mobile-apps
azure-mobile-apps Key Features
azure-mobile-apps Examples and Code Snippets
dotnet new -i
mkdir My.Datasync.Server
cd My.Datasync.Server
dotnet new datasync-server
pip install mkdocs mkdocs-material pymdown-extensions markdown-include
mkdocs serve
Community Discussions
Trending Discussions on azure-mobile-apps
QUESTION
I have been wondering how can I get less than 50 rows of data with azure. Reason being I only need the top 5 rows of data from the database and display onto the android UI.
However, when I am experimenting .top()
, the lowest I can go is 40. Anything lower than that, the return JsonArrayQuery will not be regarded as an Array.
ANSWER
Answered 2020-Apr-07 at 06:51As dated in 2019-early 2020. For now, the
lowest number of rows that I can retrieve is 40.
Any lower than that, the library will not bother trying to retrieve the rows for you. Hence, I just stick with the default (50) when using the top()
function
QUESTION
I have an iOS Mobile App and as a backend data source, I am using the easy table. insert/update script code is written in js files.
But if anything break in my backend code there is no way mobile app knows about it. how to implement exception handling so that I can send the exception to the mobile app?
...ANSWER
Answered 2017-Sep-13 at 09:39When you catch an exception in the middleware, you can try to use this line of code
QUESTION
I'm trying to create an API using nodeJS, express and azure-mobile-apps to do some data synchronisation between an Ionic3 mobile app (which use an SQLite local database) and a Microsoft SQL Database.
My API has to create a synchronisation connection for each mobile application. Each application will be linked to a distant database. For example, if user_01 wants to synchronise his data, he's going to be linked to his client_01 database. So each time it'll have to, the API will create a new process running on a different port.
here is an example : https://zupimages.net/up/19/36/szhu.png
The problem is that i'm not able to create more than one connection with azure-mobile-apps. The first one always works, but the second, third etc are still using the first connection that i have instantiated. I've looked into the app stack and everything seems fine.
Is that an issue with azure-mobile-app, or did I misunderstand something with express ?
Thanks for your responses !
...ANSWER
Answered 2020-Jan-29 at 08:16It's working now. The thing is, it's impossible to do multiple connection with the azure-mobile-apps SDK for nodeJS.
I had to use worker-thread which seems to isolate the memory in a sub-proccess.
Hope it can help somebody one day
QUESTION
I'm trying to implement Azure Mobile Services in my Xamarin.Forms app.
I'm following this link and it works on iOS but not on Android. It throws this exception:
MobileServiceInvalidOperationException - "The server did not provide a response with the expected content."
I have tried switching between HTTP and HTTPS but could not get it working. It works on Android (native) as well, just not on Xamarin.Android
Any help?
...ANSWER
Answered 2019-Oct-09 at 04:15Your issue is tracked here, and seems to be because of the following:
we don't support .Net Core 2.1 in the SDK today. Unfortunately, we don't have a workaround today and like Ela said, the we don't have an ETA for a new release or other SDK to use for .Net Core 2.1 compatibility yet, so your only workaround is to stick with .Net Core 2.0 for now.
There seems to be a temporary work around here, by brendanzagaeski to in the call to new MobileServiceClient():
- Either pass in an HttpClientHandler instance
- Or pass in an instance of AndroidClientHandler
It seems like AndroidClientHandler is the one that works the most often.
QUESTION
I have an Azure Function App that is deployed in 2 environments, one for Development and one Production, each with their own URL.
In both environments, the functions are configured to enable users to authenticate using their Facebook account. I actually configured 2 different Facebook applications: one for Development environment and one for the Production environment.
Here is the code of one Azure Function which simply logs in Application Insights all the headers of the HTTP request as well as all the claims of the injected ClaimsPrincipal
instance:
ANSWER
Answered 2019-Apr-20 at 16:59The issue is caused by a breaking change that happened in summer '18, as specified in the GitHub thread.
Here is the workaround to fix it:
Summary
The App Service Authentication/Authorization feature made a breaking change for
X-ZUMO-AUTH
token behavior for apps that enabled EasyAuth after mid-2018. That breaking change is being reverted in the next few weeks.Workaround
In the meantime, if you want your dev application behavior to match your production application's behavior, you can do so by deleting the "runtimeVersion" property in your site auth settings. You can do so with the following.
- Navigate to https://resources.azure.com/
- Via the drop down menus on the side, navigate to
subscriptions > (subName) > resourceGroups > (resourceGroupName) > providers > Microsoft.Web > sites > (siteName) > config > authSettings
.- Edit the
json
object under properties and setruntimeVersion
to "".- Use the PUT operation to make those changes.
- If these steps were successful you should see
runtimeVersion
no longer present in your application.NOTE: If you disable and then reenable Authentication/Authorization at any point, it will add a value for "
runtimeVersion
", and you will have to follow the above steps again to remove it.
QUESTION
I'm working with Microsoft Azure portal offline sync using Xamarin Android. And I created an Easy Table in Azure portal and I tried to synchronize data with the Azure Mobile Apps instance with following line of code.
...ANSWER
Answered 2017-Mar-02 at 07:16The "userdata" which I have given as a parameter to PullAsync() didn't match with Azure's EasyTable. Fixed it by giving the same name to the EasyTable name in azure portal.
Hope It helps for you also! :)
QUESTION
I need import WindowsAzure to use in my project ionic.
import { WindowsAzure } from 'cordova-plugin-ms-azure-mobile-apps';
Not working import.
...ANSWER
Answered 2018-Nov-29 at 19:53try this:
QUESTION
I have implemented the Azure - Offline Sync based on the documentation / Sample provided by Microsoft Sample in my Xamarin Forms Application.
In the sample / documentation provided, they are using the default Service Handler.
// Simple error/conflict handling. A real application would handle the various errors like network conditions,server conflicts and others via the IMobileServiceSyncHandler.
Since I need to implement a retry logic for 3 times if the Pull / Push fails. As per the documentation I have created a custom Service Handler(IMobileServiceSyncHandler).
Please find my code logic here.
...ANSWER
Answered 2018-Sep-12 at 15:57The exception carries with it a copy of the server version. In my implementation of IMobileServiceSyncHandler
I therefore just return error.Value
and this seems to work.
A more extensive example of this kind of logic can be found in this MSDN blog.
The same author has another example where he shows how you can resolve the conflict in favour of the server copy or the client copy, here.
QUESTION
I follow this guide to install sendgrid on my azure web service: https://docs.microsoft.com/en-us/azure/store-sendgrid-nodejs-how-to-send-email
The question is regarding the npm install sendgrid
command.
When i run it on my console I get the following error, and the sendgrid do not get installed.
...ANSWER
Answered 2018-Jul-05 at 14:00Looks like the sendgrid package which you are using is deprecated. Please try uninstalling this one and install the one below -
QUESTION
I am trying to insert a row in the table. here are steps what I did :
I run Create table Statement in database to create table test
...ANSWER
Answered 2018-Jun-11 at 07:58error Error: Invalid data type provided
From the statement you provided to create the table:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install azure-mobile-apps
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page