├── OneDrivePhotoBrowser ├── Assets │ ├── StoreLogo.png │ ├── app │ │ └── folder.png │ ├── SplashScreen.scale-200.png │ ├── LockScreenLogo.scale-200.png │ ├── Square44x44Logo.scale-200.png │ ├── Wide310x150Logo.scale-200.png │ ├── Square150x150Logo.scale-200.png │ └── Square44x44Logo.targetsize-24_altform-unplated.png ├── project.json ├── App.xaml ├── ItemDetail.xaml ├── Properties │ ├── AssemblyInfo.cs │ └── Default.rd.xml ├── ClientInitialization.xaml ├── MainPage.xaml ├── Package.appxmanifest ├── Controllers │ └── ItemsController.cs ├── ClientInitialization.xaml.cs ├── MainPage.xaml.cs ├── Models │ └── ItemModel.cs ├── AuthenticationHelper.cs ├── ItemDetail.xaml.cs ├── App.xaml.cs └── OneDrivePhotoBrowser.csproj ├── .gitignore ├── LICENSE.txt ├── OneDrivePhotoBrowser.sln └── readme.md /OneDrivePhotoBrowser/Assets/StoreLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OneDrive/graph-sample-photobrowser-uwp/HEAD/OneDrivePhotoBrowser/Assets/StoreLogo.png -------------------------------------------------------------------------------- /OneDrivePhotoBrowser/Assets/app/folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OneDrive/graph-sample-photobrowser-uwp/HEAD/OneDrivePhotoBrowser/Assets/app/folder.png -------------------------------------------------------------------------------- /OneDrivePhotoBrowser/Assets/SplashScreen.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OneDrive/graph-sample-photobrowser-uwp/HEAD/OneDrivePhotoBrowser/Assets/SplashScreen.scale-200.png -------------------------------------------------------------------------------- /OneDrivePhotoBrowser/Assets/LockScreenLogo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OneDrive/graph-sample-photobrowser-uwp/HEAD/OneDrivePhotoBrowser/Assets/LockScreenLogo.scale-200.png -------------------------------------------------------------------------------- /OneDrivePhotoBrowser/Assets/Square44x44Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OneDrive/graph-sample-photobrowser-uwp/HEAD/OneDrivePhotoBrowser/Assets/Square44x44Logo.scale-200.png -------------------------------------------------------------------------------- /OneDrivePhotoBrowser/Assets/Wide310x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OneDrive/graph-sample-photobrowser-uwp/HEAD/OneDrivePhotoBrowser/Assets/Wide310x150Logo.scale-200.png -------------------------------------------------------------------------------- /OneDrivePhotoBrowser/Assets/Square150x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OneDrive/graph-sample-photobrowser-uwp/HEAD/OneDrivePhotoBrowser/Assets/Square150x150Logo.scale-200.png -------------------------------------------------------------------------------- /OneDrivePhotoBrowser/Assets/Square44x44Logo.targetsize-24_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OneDrive/graph-sample-photobrowser-uwp/HEAD/OneDrivePhotoBrowser/Assets/Square44x44Logo.targetsize-24_altform-unplated.png -------------------------------------------------------------------------------- /OneDrivePhotoBrowser/project.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "Microsoft.Graph": "1.2.0", 4 | "Microsoft.Identity.Client": "1.0.304142221-alpha", 5 | "Microsoft.NETCore.UniversalWindowsPlatform": "5.0.0", 6 | "Newtonsoft.Json": "9.0.1" 7 | }, 8 | "frameworks": { 9 | "uap10.0": {} 10 | }, 11 | "runtimes": { 12 | "win10-arm": {}, 13 | "win10-arm-aot": {}, 14 | "win10-x86": {}, 15 | "win10-x86-aot": {}, 16 | "win10-x64": {}, 17 | "win10-x64-aot": {} 18 | } 19 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.sln.docstates 2 | *.suo 3 | *.user 4 | *.userosscache 5 | *.sln.ide 6 | TestResults/* 7 | .vs/* 8 | 9 | # UWP project files 10 | project.lock.json 11 | *StoreKey.pfx 12 | Package.StoreAssociation.xml 13 | 14 | # Build results 15 | **/[Dd]ebug/ 16 | **/[Dd]ebugPublic/ 17 | **/[Rr]elease/ 18 | **/[Rr]eleases/ 19 | **/x64/ 20 | **/x86/ 21 | **/build/ 22 | **/bld/ 23 | **/[Bb]in/ 24 | **/[Oo]bj/ 25 | 26 | # NuGet 27 | *.nupkg 28 | **/packages/* 29 | !**/packages/build/ 30 | 31 | # VS project upgrade files 32 | _UpgradeReport_Files/ 33 | Backup*/ 34 | UpgradeLog*.XML 35 | UpgradeLog*.htm -------------------------------------------------------------------------------- /OneDrivePhotoBrowser/App.xaml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | 11 | your Client Id 12 | urn:ietf:wg:oauth:2.0:oob 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /OneDrivePhotoBrowser/ItemDetail.xaml: -------------------------------------------------------------------------------- 1 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /OneDrivePhotoBrowser/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("OneDrivePhotoBrowser")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("OneDrivePhotoBrowser")] 13 | [assembly: AssemblyCopyright("Copyright © 2015")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Version information for an assembly consists of the following four values: 18 | // 19 | // Major Version 20 | // Minor Version 21 | // Build Number 22 | // Revision 23 | // 24 | // You can specify all the values or you can default the Build and Revision Numbers 25 | // by using the '*' as shown below: 26 | // [assembly: AssemblyVersion("1.0.*")] 27 | [assembly: AssemblyVersion("1.0.0")] 28 | [assembly: AssemblyFileVersion("1.0.0")] 29 | [assembly: ComVisible(false)] -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | Microsoft Graph SDK for CSharp 2 | 3 | Copyright 2017 Microsoft Corporation 4 | 5 | All right reserved. 6 | 7 | MIT License 8 | 9 | Permission is hereby granted, free of charge, to any person obtaining a copy 10 | of this software and associated documentation files (the "Software"), to deal 11 | in the Software without restriction, including without limitation the rights 12 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 13 | copies of the Software, and to permit persons to whom the Software is 14 | furnished to do so, subject to the following conditions: 15 | 16 | The above copyright notice and this permission notice shall be included in 17 | all copies or substantial portions of the Software. 18 | 19 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 20 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 21 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 22 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 23 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 24 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 25 | THE SOFTWARE. 26 | -------------------------------------------------------------------------------- /OneDrivePhotoBrowser/ClientInitialization.xaml: -------------------------------------------------------------------------------- 1 | 9 | 10 | 11 | 12 | OneDrive 13 |