What is the best way to add OneDrive support into a universal app?

I've been looking into trying to add OneDrive into a universal app I am developing for the last couple of days and don't seem to be making any headway. There seems to be three different ways of incorporating it and two ways of doing the authorisation and no clear description of the pros and cons of which way.

Firstly the main one drive dev page says to use a REST Api but the api page for universal apps gives code for a onedrive SDK and an example app but no other documentation. While a few blog posts make mention of the live sdk.

There also seems to be a choice between using 0Auth or authorising through the users microsoft account and the store (I forget the exact name for it).

All in all I'm very confused and now have a migraine from searching and trying to wrap my head around some unfamiliar concepts. So if anyone could point me in the right direction that would be appreciated.

by urbeker via /r/csharp

Leave a Reply