I currently want to apply a user authentication system using AAD into a Xamarin.Forms App I have been working on through Visual Studio. I have created an Azure account and the Xamarin support guides are out of date with the Azure WebPortal so just look for some help on implementing Azure Active Directory into my app, as to how to register my app to the AAD on the web portal, the proper NuGet packages, etc. at least to get me started. A lot of the online guides are outdated.
Please use https://www.nuget.org/packages/Microsoft.IdentityModel.Clients.ActiveDirectory/3.13.8
The code samples are available at https://github.com/Azure-Samples?utf8=%E2%9C%93&q=xamarin&type=&language=
Related
I published my ASP .NET Web API 2 project to Azure as an API app. I used Visual Studio 2013 and got this lovely screen after publishing.
But the API app is no where to be found in my Azure portal.
I looked in my Visual Studio Server Explorer and it is there.
I got the same result as yours after publishing the API app, it's just not listed when clicking Browse > API Apps. Although it says "Web, Mobile and API apps are now in one list", it obviously doesn't work as it says.
Anyway, you can alternatively find your API app in the resource group which you specified in the publishing profile:
Or, just right click the API app in Server Explorer and select "Open in Management Portal" option to open it in the portal:
I've been trying to use Azure as Mobile App service and in the tutorial it is given to choose this :
Whilst when i try to follow it shows this :
Can anyone help ? Thank you :)
The Azure Visual Studio tooling, however, should be upgraded to version 2.8.1 or later...
https://azure.microsoft.com/en-us/downloads/
https://azure.microsoft.com/en-us/documentation/articles/app-service-api-whats-changed/
As Thiago suggested, you will have to install the latest Azure SDK to get the option.
If not, then you can select the Import option. This will require you to provide the publishsettings file.
You can download the publishsettings file from the Azure Portal. Here is a sample image: http://i.stack.imgur.com/YV2OQ.jpg
Once you have imported it, the IDE will pick the deployment endpoints from the file and you will be able to publish the App.
NOTE: Mobile Apps have the same deployment as the Web Apps. The IDE doesn't have the tooling to pick Mobile APPS from the subscription. Until then you will have to use the Import option in the VS deployment wizard.
so i created my Azure Mobile App (Preview) project in visual studio, so just like Azure API App (preview) you can publish your project to azure by right clicking the project and click publish and you will see Azure API App Preview then you can now publish it to azure, but not in Azure Mobile app. so anyone who know how to publish it to azure? Please assume that I already created an Azure Mobile App in the portal and i just want to update it.
Found it, I just need to select the Web App and i will see my Mobile App there. i use this reference
https://github.com/Azure/azure-content/blob/master/includes/app-service-mobile-dotnet-backend-publish-service.md
I can't enter a webapp name when I create a new project, as well as after creating the project. I still cant publish to Azure because of the same reason.
I've tried the following available tutorials online but still the same. Both of my VS and Azure's accounts are the same.
This is how it looks like.
Try a workaround instead. Create the webapp in Azure portal. Then publish it again and choose the existing webapp.
I create a small .exe that updates some tables in my database also create in azure, but all the times that I upload the .zip file required shows this error
Reading blogs I realized that some people are using the windows azure web job sdk, to upload their projects, it is worth to point it out that this library doesn't have a version for Visual Studio 2010, so it can't be used.
Is the use of the aforementioned sdk the only way to create and use console application web jobs?
Usually you get the failed to upload job error if the zip file does not have the job exe in the root folder.
This often happens when you zip the Debug/Release folder instead of its contents.
You don't have to use the Azure WebJobs SDK for your job. Any console application will work.
sdk the only way ...
No, WebJobs can run without the cloud SDK. To quote Hanselman
You don't have to use the WebJobs SDK with the WebJobs feature of
Windows Azure Web Sites.
As to what the exact problem is...with VS2010 and Azure that is hard to say with what you have presented.
WebJobs, since it sits on top of the Azure Web Sites service, it supports everything the Web Sites support. Including: python, php, bash, powershell, node.js, .net, cmd, bat, etc...