Which to use MS AL or ADAL in Xamarin forms - xamarin.forms

I need someone to clarify which Api to use, it is MS AL or ADAL for Xamarin forms.
I need the Api to Access AzureAD. So which one is the right one.
Please help as this is important for me to work on Azure AD.
Update:
There are examples, but I really dont know which one is in used for xamarin forms. There is not much info I can find. Please help so that I can start coding and try it out and get back here for the problem encountered.
is ADAL deprecated or no longer supported?

ADAL is for Azure AD's v1 endpoint, and MSAL is for the newer v2 endpoint.
The protocols have had some changes, so that's why the new library.
You can get an idea what is different here: https://learn.microsoft.com/en-us/azure/active-directory/develop/active-directory-v2-compare.
To boil it down:
Do you want to support personal Microsoft accounts (i.e. not organizational Azure AD accounts)? If yes, you must use v2
Do you need to use an API that is not yet supported by v2? Use v1
If you only need to support organizational accounts, v1 works fine.
Remember that at the moment apps registered via the Azure Portal are v1 apps.
V2 apps have a separate portal still, though they are moving it to Azure Portal too.

In regards to which library to choose, the answer #juunas posted is correct. Once you have that figured out, there are a number of samples which use Xamarin.
Here is an MSAL sample using Xamarin.
And an ADAL sample using Xamarin
And a B2C sample using Xamarin and MSAL
Or you can open an issue on the MSAL or ADAL repos to get help, assistance, or questions answered, or use their respective wikis for more information about the libraries and how to use them.

Related

Microsoft Outlook API Costing model

Im working on a small project in my company where I'm using Outlook REST APIs.
https://learn.microsoft.com/en-us/outlook/rest/get-started
So far so good.
The application is also registered in Microsoft Azure Active Directory. As explained here:
https://learn.microsoft.com/en-us/graph/tutorials/angular?context=outlook%2Fcontext
Our application is permanently running and needs to get data every like 1 minute.
This causes a lot of requests.
So are there any costs regarding Microsoft Api that I should know about.
Or is the Calendar Api completely free.
Didn't find any helpful information out there so far.
Thanks in advance for any help.
Check Microsoft Graph API. Which uses all the Office 365 Apps connected with API endpoints.
Microsoft 365 pricing

How to create push notifications using ASP.NET Core 2 web server

First off, my apologies regarding the nature of this question as I am new to the game and trying to help a friend and realized I can't even help myself with this one.
I am having issues creating push notifications and can only use ASP.NET core 2 web server. The issue is sending them from the server, I cannot get that done at all.
Is there anybody who can help me, perhaps send the package or code and if so, if the packages could be live as the ones I have found haven't been committed in over 3 years now.
Any help would be much appreciated, thank you in advance guys.
There are serveral open source NuGet packages available, all with pros and cons. Read the API and sample code before you go with one:
PushSharp is one of the big players, unfortunately it seems no longer maintained. It does not support Apple’s «new» HTTP API and Google’s HTTP V1 API.
dotApns: Perfect support but only nor Apple Push.
Firebase Admin SDK: Far too large, only supports FCM (Android and iOS) but no native/direct iOS support. I didnt like the idea of relaying iOS push messages trough FCM.
So, I went the long way to create my own NuGet package which supports native Android/FCM and Apple/APNS push notifications:
.NET standard library: https://www.nuget.org/packages/PushNotifications.Server
ASP.NET integration: https://www.nuget.org/packages/PushNotifications.Server.AspNetCore

How to integrate reckon account API?

I want to integrated Zoho CRM with Reckon application,
firstly i am trying to integrated Reckon Accounts Hosted and read out Docs and they provide some FTP details and forcing to implement first Reckon Accounts Desktop API.
also i am using Ubuntu 16.04 so is it possible to integrated this on linux machine and does anyhave idea to implement API of Reckon Step by stp.
Thanks.
Reckon api
This is correct. The first step is to learn how to write the XML used by the desktop version - and it is also used with Hosted. The destop version used the qbxmlrp2.dll - Hosted connects initially through the API, but then you embed the xml in post requests that are passed through the qbxmlrp2.dll. Reckon use Version 6.1 of the QuickBooks SDK which is now quite a few versions behind the American SDK. We found the Intuit documentation for the SDK to be quite thorough, but as of may 2017 the Reckon Hosted documentation is not overly helpful and leaves a lot to be figured out.

What is the best way to implement LinkedIn Authentication in MVC6 ASP.NET5 web app

There is no LinkedIn-specific library from Microsoft like Microsoft.AspNet.Authentication.Facebook. The third party libraries I tried are designed for ASP.NET4.5.
I also waiting for middleware for LinkedIn authentication from aspnet team, but look like they have no plans to create it - read LinkedIn Authentication and Will we have a Authentication.LinkedIn.
#Tratcher wrote:
No, but there's a comunity implementation available here: aspnet-contrib/AspNet.Security.OAuth.Providers
You can try this one above and please let me know if it's working well, please.
Also You can create middleware yourself based on generic OAuth middleware...
Check aspnet/Security repo on GitHub, and read LinkedIn Authenticating with OAuth 2.0 article.
As Lukasz pointed out, you can use the LinkedIn provider in the https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers project. I wrote that provider and it is just a thin layer on top of the built-in generic OAuth2 provider.
It you want to use the generic OAuth2 provider directly, you can also look at this blog post which takes you step-by-step through the entire process:
https://auth0.com/blog/2016/06/13/authenticating-a-user-with-linkedin-in-aspnet-core/

Social networking on smart phones?

I have to implement application that can post to the selected network I can select from the application drop down.
There are Objective-C frameworks for Facebook (Three20) and Twitter (Twitter-OAuth-Library & MGTwitterEngine).
A quick trip to Google find facebook-android-sdk for connecting to Facebook on Android.
As far as Twitter goes, you can find a whole list of APIs for various languages/platforms on Twitter's developer website.
EDIT
A second trip to Google finds this on developer.myspace.com for adding MySpace to an iOS app. Also, see this page and this page on LinkedIn's Developer Network.
Basically, LinkedIn is just using a JSON encoded API with OAuth. You should be able to handle that with any OAuth library.
EDIT2:
It seems that I've found another great library. Check out ShareKit, which helps with alot of what you're trying to do.
#appaspect and #moshe, this is an old thread so the question my no longer be relevant, but here's a new open-source SDK and social api service: Socialize http://www.GetSocialize.com . Full feature set at http://go.GetSocialize.com/features
DROdio

Resources