Azure.Mobile | rapidly creating iOS & Android apps | Azure library
kandi X-RAY | Azure.Mobile Summary
kandi X-RAY | Azure.Mobile Summary
This project is in active development and will change.
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
Azure.Mobile Key Features
Azure.Mobile Examples and Code Snippets
Community Discussions
Trending Discussions on Azure.Mobile
QUESTION
I have ASP.NET Web Application (.NET Framework) based on Visual Studio 2019 template with custom authentication with individual user accounts.
...ANSWER
Answered 2020-Apr-19 at 07:18I've found an answer here https://devblogs.microsoft.com/xamarin/personalized-experiences-with-azure-mobile-apps-authentication/
It's necessary to send a token in the header "Authorization". I've create a class used for HttpMessageHandler
QUESTION
I am new to Azure web authentication and was wondering what I am doing incorrectly?
Home/index is default route.
I have this function capturing the /.auth/me info:
...ANSWER
Answered 2020-Jan-16 at 20:47So it was a lot simpler than expected. Not sure why there isn't documentation for this, maybe because it was an obvious answer lol.
Here is what I did to grab the .auth/me json on the redirect from Azure Authentication.
Made an ajax call.
QUESTION
I am working on xamarin forms and using azure mobile services. When I try to update a record the UpdateAsync does not work and gives me a 404 error.
While debugging I noticed the following line from the debugger:
...ANSWER
Answered 2019-Jun-24 at 12:13I found the solution but I ran into another problem .
I had this line on top of customer controller
QUESTION
my question is about a Xamarin forms application. To log my user in, I've followed the following tutorial :
In order to use the user identity later in my application, I need to get my user e-mail address after connection.
The method I actually use returns me a 401 error. Does someone know how to fix my problem ?
the login method used to connect the user (in the android app):
...ANSWER
Answered 2019-May-13 at 11:46I finally found a way to retrieve all the informations I needed
QUESTION
I am integrating Azure Easy Tables with my Xamarin.Forms application and thus far it is working. I can do GET and POST on my Azure table without any issues. However, how do I update an existing item in my local MobileServiceSyncTable
and push this to the cloud?
I have for testing purposes created a simple Model
named Person
which has a few standard properties like FirstName
and so on. Now, what I want to do is, quite simply, update a persons FirstName
property. So far, this is my - obviously failed - attempt:
ANSWER
Answered 2019-May-23 at 17:49Ok, so I found a way to get around it.
I implemented a new method
QUESTION
I'm getting this error when I add a reference to the .Net Standard project in the Andoid Project.
Severity Code Description Project File Line Suppression State Error Can not resolve reference:
System.Threading.Tasks.Extensions
, referenced byDotNetty.Transport
. Please add a NuGet package or assembly reference forSystem.Threading.Tasks.Extensions
, or remove the reference toDotNetty.Transport
. VFMApp.Droid
I tried:
Neither NuGet packages (System.Threading.Tasks.Extensions / DotNetty.Transport), clean solution, compiled project successfully, reference project, compile: ERROR
NuGet package for DotNetty.Transport, clean solution, compiled project successfully, reference project, compile: ERROR
NuGet package for System.Threading.Tasks.Extensions, clean solution, compile project successfully, reference project, compile: ERROR
Both NuGet packages (System.Threading.Tasks.Extensions / DotNetty.Transport), clean solution, compile project successfully, reference project, compile: ERROR
Packages in .Net Standard project:
- Acr.UserDialogs 7.0.1
- Humanizer 2.5.16
- Microsoft.Azure.Devices.Client 1.18.1
- Microsoft.Azure.Mobile.Client 4.1.1
- Microsoft.Azure.Mobile.Client.SQLiteStore 4.1.1
- NETStandard.Library 2.0.3
- Plugin.Share 7.1.1
- Refractored.MvvmHelpers 1.4.1-beta
- Xam.Plugin.Connectivity 4.0.0.190-beta
- Xam.Plugin.DeviceInfo 4.1.0-beta
- Xam.Plugin.Geolocator 4.5.4-beta
- Xam.Plugin.Media 4.1.1-beta
- Xam.Plugins.Settings 4.0.0.10-beta
Packages in Android project:
- Xamarin.Android.Support.Compat 28.0.0
- Xamarin.Android.Support.Design 28.0.0
- Xamarin.GooglePlayServices.Maps 60.1142.1
ANSWER
Answered 2019-Jan-07 at 02:45I was able to get the same error as you when I referenced DotNetty.Transport from a Xamarin.Android project compiling/targeting against API Level 28. It seems to be an issue with System.Threading.Tasks.Extensions v4.5.1 that DotNetty.Transport is referencing. Here is a link to a similar problem from another project:
https://github.com/dotnet/reactive/issues/803
To sum up the issue, it looks like that Systems.Threading.Tasks.Extensions
v4.5.1 has an empty profile for MonoAndroid10. Because the profile is empty, it can not resolve the System.Threading.Tasks.Extensions.dll
file, thus the error.
To fix this, you have to update your android *.csproj file and redirect the reference to use the System.Threading.Tasks.Extensions.dll
that is defined in the netstandard2.0
profile.
I performed the following steps:
- Add the System.Threading.Tasks.Extensions v4.5.1 nuget package to your Xamarin.Android project.
- Add the System.Runtime.CompilerServices.Unsafe v4.5.2 nuget package to your Xamarin.Android project
- Close Visual Studio.
- Open your Xamarin.Android *.csproj file with a Text Editor.
- Add another
to tell your project to use the
.netstandard2.0
profile instead of theMonoAndroid10
profile
QUESTION
I can create a MobileServiceClient and GetTable()
to InsertAsync
, and see how my model gets inserted in the Easy Table table in Azure. But when I ReadAsync()
from the table I get the following error:
Microsoft.WindowsAzure.MobileSerices.MobileServiceInvalidOperation: The server did not provide a response with the expected content.
This is when I mobileServiceClient.GetTable.ReadAsync()
What could be the problem?
This was when running from an MsTest project with no Microsoft.WindowsAzure.MobileServices.CurrentPlatform.Init();
call. The read worked when running the app
ANSWER
Answered 2018-Dec-17 at 13:12I had the same problem.
According to GitHub Issue:
As @elamalani pointed out above, 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.
And I was also had SDK version 2.1
After changing SDK to version 2.0 all going to work fine. Please try to making the same, hope it will help you
QUESTION
Consider, TableController is a class exists one of the nuget package library (Microsoft.Azure.Mobile.Server.Tables). In order to create own Controller, we need to inherit the class and write our methods like GetAll, GetSingle etc.,
...ANSWER
Answered 2018-Dec-05 at 17:11This should be as simple as:
QUESTION
So, I followed this documentation and what I am trying to do is simple. Create a client connection to Azure Database and simply read the contents in the page. I followed the quickstart document to the letter and downloaded a pre-made zip file containing an already made cordova app that connects to Azure. The project connects to Azure and it reads a table called todoitem. So the next thing I wanted to do was create a simple table within that database, so I created a simple table with an ID and a string. The problem? When I change the tableName var to the name of the table, for some reason, it dosen't do ANYTHING! It works for the already-made table but not the one I made! This is the code I am using...
...ANSWER
Answered 2018-Oct-31 at 21:11For those having trouble creating tables in Azure Database using Visual Studios, I found the problem. Apparently, you have to create the table via Easy Table in Azure Database website. Creating it in Visual Studios (despite being connected to the database) does not do anything. The table might be created and is shown in the Azure Database, but the database doesn't recognize that table because it lacks permission. So, when you log into your Azure Database and go find your Database, go to easy tables, there is where you can create your tables and gives permission to use it. To edit the data within the tables, such as inserting it, you can still use Visual Studios to enter data, but for some reason you can't add more columns/rows. Its recommended to do it in easy tables.
QUESTION
I am using Azure Mobile App Services and in the PATCH method I receive as body an object of type Delta (see MSDN).
I receive some fields with null values that I would like to remove from the Delta input object: how can I do this action?
e.g. I have a JSON input like
...ANSWER
Answered 2018-Oct-19 at 22:00If you are using the Newtonsoft.Json to serialize the Entity then you can use conditional serialization of a property.
To conditionally serialize a property, add a method that returns boolean with the same name as the property and then prefix the method name with ShouldSerialize. The result of the method determines whether the property is serialized. If the method returns true then the property will be serialized, if it returns false then the property will be skipped.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Azure.Mobile
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