azure-mobile-apps-net-server | The .NET server SDK for Azure Mobile Apps | Azure library
kandi X-RAY | azure-mobile-apps-net-server Summary
kandi X-RAY | azure-mobile-apps-net-server Summary
This repo contains the .NET backend for Azure Mobile Apps. The Mobile Apps .NET backend is a peer to the Node.js backend, giving users a choice in backend platform.
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-net-server
azure-mobile-apps-net-server Key Features
azure-mobile-apps-net-server Examples and Code Snippets
Community Discussions
Trending Discussions on azure-mobile-apps-net-server
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
We are currently running Azure Mobile App backend + Xamarin app as client and it works fine. Soon, we will be creating new mobile backend.
However, it would seem that, according to this https://github.com/Azure/azure-mobile-apps-net-server/issues/227
azure mobile apps is abandoned? Even Adrian Hall has moved to AWS? This begs the question, should I create mobile backend using WebApi 2 and deploy it as usual Azure Web App, use Azure Web App Mobile App?
Namechanging from Azure Mobile Service to Azure mobile app was confusing enough,there is also complete lack of up to date documentation for Azure mobile app SDK except from couple of examples.
...ANSWER
Answered 2018-Mar-23 at 16:17I'm a PM in App Center team at Microsoft. I'd like to share our continued commitment to Azure Mobile Apps as our team own it. We are doing user research right now to understand the evolving needs for these services and plan to build the next generation of Azure Mobile Apps as part of Visual Studio App Center.
While we're working on the roadmap, we are fully committed to supporting Azure Mobile Apps including support for the latest OS releases, bug fixes, and documentation updates.
This is a similar pattern to what we are doing with HockeyApp and Xamarin Test Cloud. App Center is the next generation for those services and as we roll their functionality into App Center, we are re-imagining key developer workflows and adding new features, as well as integrating them into an end-to-end CI/CD solution that helps developers ship better apps faster.
QUESTION
I'm building a mobile app and I intend to build its backend with Azure Mobile app backend, but according to this issue azure mobile app is obsolet, and I fell on Mobile app center recently, My question is should I build the back-end as a normal service and include push notifications using Mobile app center or should I use Azure Mobile Service, Please I need clarification on this.
...ANSWER
Answered 2018-Mar-19 at 16:47I'm a PM in App Center team at Microsoft. We are doing user research right now to understand the evolving needs for these services and plan to build the next generation of Azure Mobile Apps as part of Visual Studio App Center. While we're working on the roadmap, we are fully committed to supporting Azure Mobile Apps including support for the latest OS releases, bug fixes, and documentation updates.
To answer your question, Push Notification service in App Center is in "Preview" right now which means that there could be changes in the service while we are working to make it production ready. We don't recommend to not use this service for your "production apps". You can use Azure Mobile Apps as it stands currently but there won't any new features added to it. Based on your needs, you can make a decision on what service would be best suited for application.
Hope this helps.
QUESTION
I had just updated to falls creators update, I was working fine with Creators update before but when i got the new update.
My local environment got misconfigured, now I can't test my app locally. I don't understand why I get this error message:
Unable to start debugging on the Web server, The remote server returned an error[503] service unavailable.
I found on this page this: (503) Server Unavailable. The Application Pool may have stopped due to an error or configuration change. Restart the Application Pool.
Now I don't now how to restart it, and I had follow up this tutorial to set again my local environment but apparently, everything looks fine.
Hopefully someone can help me out with this problem.
...ANSWER
Answered 2017-Nov-18 at 21:10Well I was able to solve it. I had configured my local server correctly since anniversary update at windows 10, when I updated to Creator Update it still worked fine, but recently here in Mexico i was offered to update to Fall Creators Update so I decided to update it.
after the update IIS Manager was uninstall from my OS, so I used WEB Plataform Installer from windows and reinstall it after it I could notice that my app user DefaultAppPool stopped even after I used at command prompt with administrator privileges so I create a new Application Pool with .NET CLR Version v4.0.30319 and Managed Pipeline mode: Integrated.
after that i used Microsoft SQL Server Management Studio I logged in to my local database and created a new user for my app, using as a user the App pool i just created and that did the trick.
After it I was able to made my backend work in debug mode in my local server and my client make its queries to my local server getting everything to as it was before.
Hopefully if somebody suffers the same experience as i did, this serves you as a solution for your local development enviroment.
QUESTION
Im trying to implement push notifications on Xamarin iOS project using Azure App Service Push, and I'm having problems with device failing to register.
The confusing part is this:
I've read https://adrianhall.github.io/develop-mobile-apps-with-csharp-and-azure/chapter5/concepts/ and it basically says that
The /push/installations endpoint is part of App Service Push - a feature of the Azure App Service resource. This exists on your .azurewebsites.net domain. It is not part of Notification Hubs.
However, according to this post: https://blogs.msdn.microsoft.com/appserviceteam/2017/01/10/azure-mobile-apps-net-sdk-releases/
.AddPushNotifications() (which actually adds /push/installations endpoint)is now deprecated:
You should use the App Service Push endpoint instead. In your ASP.NET Owin Startup class, you can remove the reference to .AddPushNotifications() from the configuration.
Details here: https://github.com/Azure/azure-mobile-apps-net-server/wiki/What-is-a-Default-Configuration%3F
If I understand correctly my App Service Mobile App, once connected to Push via Notification hub should expose some kind of endpoint for device registration but I find it unclear what that endpoint is and do i need to manually create it in mobile backend app?
...ANSWER
Answered 2017-Oct-23 at 09:57.AddPushNotifications()
is used to support the Azure Notification Hubs push registration endpoint via the Microsoft.Azure.Mobile.Server.Notifications package, you could check the NotificationInstallationsController.cs under the previous package. And at this point, you need to specific the Microsoft.Azure.NotificationHubs.ConnectionString
app setting with the value for the connection string to your notification hub.
While the App Service Push is a feature provided by Azure Portal, and you need to go to your app service and click "Settings > Push", then choose your notification hub for your app, more details you could refer to here.
For your mobile client, you could leverage the extension method GetPush
for IMobileServiceClient
under MobileServiceClientExtensions.cs and the PushHttpClient.cs to send requests against push/installations
for you. For more detailed code snippet, you could refer to here. Also, you could refer to adrian hall's book about using the .InvokeApiAsync()
method.
QUESTION
Since a few days the new Azure Server and Client SDK are available. I had that issue with the App Service Push https://github.com/Azure/azure-mobile-apps-net-server/issues/170#issuecomment-262656329 in last November 2016.
After reading the release blog https://blogs.msdn.microsoft.com/appserviceteam/2017/01/10/azure-mobile-apps-net-sdk-releases/ I can now see that the current way to register for push notification is deprecated.
Can you please give me detailed instructions what I have to change to use the new App Service Push?
The previous problem was that the
_UserId (SID)
Tag was not properly included in the push notification installation. The _UserId had the MD5 hash of the NameIdentifier instead of the clients unique Id I passed to the CustomAuthController. But I need my clients unique Id afterwards for targeted push notifications to clients utilizing the
_UserId=client-unique-id
Here is my current code in Android:
...ANSWER
Answered 2017-Jan-12 at 18:29You don't need to unregister and then register - a simple register will do it.
Check out chapter 5 of the book - http://aka.ms/zumobook - there is code within the chapter for each type of push registration that covers the Installation method (where you specify tags and templates together). You can then specify the SID explicitly by constructing a tag that is suitable for your needs.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install azure-mobile-apps-net-server
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