├── .gitattributes ├── .gitignore ├── AppServices ├── AppServices.sln ├── GroceryShop.Background │ ├── Grocery.cs │ ├── GroceryShop.Background.csproj │ └── Properties │ │ └── AssemblyInfo.cs ├── GroceryShop │ ├── App.xaml │ ├── App.xaml.cs │ ├── ApplicationInsights.config │ ├── Assets │ │ ├── LockScreenLogo.scale-200.png │ │ ├── SplashScreen.scale-200.png │ │ ├── Square150x150Logo.scale-200.png │ │ ├── Square44x44Logo.scale-200.png │ │ ├── Square44x44Logo.targetsize-24_altform-unplated.png │ │ ├── StoreLogo.png │ │ └── Wide310x150Logo.scale-200.png │ ├── GroceryShop.csproj │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── Package.appxmanifest │ └── Properties │ │ ├── AssemblyInfo.cs │ │ └── Default.rd.xml └── Notes │ ├── App.xaml │ ├── App.xaml.cs │ ├── ApplicationInsights.config │ ├── Assets │ ├── LockScreenLogo.scale-200.png │ ├── SplashScreen.scale-200.png │ ├── Square150x150Logo.scale-200.png │ ├── Square44x44Logo.scale-200.png │ ├── Square44x44Logo.targetsize-24_altform-unplated.png │ ├── StoreLogo.png │ └── Wide310x150Logo.scale-200.png │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── Notes.csproj │ ├── Package.appxmanifest │ ├── Properties │ ├── AssemblyInfo.cs │ └── Default.rd.xml │ └── ShoppingItem.cs ├── Battery ├── Battery.sln └── Battery │ ├── App.xaml │ ├── App.xaml.cs │ ├── ApplicationInsights.config │ ├── Assets │ ├── LockScreenLogo.scale-200.png │ ├── SplashScreen.scale-200.png │ ├── Square150x150Logo.scale-200.png │ ├── Square44x44Logo.scale-200.png │ ├── Square44x44Logo.targetsize-24_altform-unplated.png │ ├── StoreLogo.png │ └── Wide310x150Logo.scale-200.png │ ├── Battery.csproj │ ├── BatteryTrigger.cs │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── Package.appxmanifest │ ├── Properties │ ├── AssemblyInfo.cs │ └── Default.rd.xml │ └── project.json ├── Beacons ├── Beacons.sln └── Beacons │ ├── App.xaml │ ├── App.xaml.cs │ ├── ApplicationInsights.config │ ├── Assets │ ├── LockScreenLogo.scale-200.png │ ├── SplashScreen.scale-200.png │ ├── Square150x150Logo.scale-200.png │ ├── Square44x44Logo.scale-200.png │ ├── Square44x44Logo.targetsize-24_altform-unplated.png │ ├── StoreLogo.png │ └── Wide310x150Logo.scale-200.png │ ├── Beacons.csproj │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── Package.appxmanifest │ ├── Properties │ ├── AssemblyInfo.cs │ └── Default.rd.xml │ ├── Publish.xaml │ ├── Publish.xaml.cs │ ├── Watch.xaml │ ├── Watch.xaml.cs │ └── project.json ├── DragAndDrop ├── DragAndDrop.sln └── DragAndDrop │ ├── App.xaml │ ├── App.xaml.cs │ ├── ApplicationInsights.config │ ├── Assets │ ├── LockScreenLogo.scale-200.png │ ├── SplashScreen.scale-200.png │ ├── Square150x150Logo.scale-200.png │ ├── Square44x44Logo.scale-200.png │ ├── Square44x44Logo.targetsize-24_altform-unplated.png │ ├── StoreLogo.png │ └── Wide310x150Logo.scale-200.png │ ├── DragAndDrop.csproj │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── MyItem.cs │ ├── Package.appxmanifest │ ├── Properties │ ├── AssemblyInfo.cs │ └── Default.rd.xml │ └── project.json ├── Inking ├── Inking.sln └── Inking │ ├── App.xaml │ ├── App.xaml.cs │ ├── ApplicationInsights.config │ ├── Assets │ ├── LockScreenLogo.scale-200.png │ ├── SplashScreen.scale-200.png │ ├── Square150x150Logo.scale-200.png │ ├── Square44x44Logo.scale-200.png │ ├── Square44x44Logo.targetsize-24_altform-unplated.png │ ├── StoreLogo.png │ └── Wide310x150Logo.scale-200.png │ ├── Inking.csproj │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── Package.appxmanifest │ ├── Properties │ ├── AssemblyInfo.cs │ └── Default.rd.xml │ └── project.json ├── NetworkConnectionTriggerExample ├── NetworkConnectionTriggerExample.sln └── NetworkConnectionTriggerExample │ ├── App.xaml │ ├── App.xaml.cs │ ├── ApplicationInsights.config │ ├── Assets │ ├── LockScreenLogo.scale-200.png │ ├── SplashScreen.scale-200.png │ ├── Square150x150Logo.scale-200.png │ ├── Square44x44Logo.scale-200.png │ ├── Square44x44Logo.targetsize-24_altform-unplated.png │ ├── StoreLogo.png │ └── Wide310x150Logo.scale-200.png │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── NetworkConnectionTrigger.cs │ ├── NetworkConnectionTriggerExample.csproj │ ├── Package.appxmanifest │ ├── Properties │ ├── AssemblyInfo.cs │ └── Default.rd.xml │ └── project.json ├── README.md ├── SQLite ├── SQLite.sln └── SQLite │ ├── App.xaml │ ├── App.xaml.cs │ ├── Assets │ ├── LockScreenLogo.scale-200.png │ ├── SplashScreen.scale-200.png │ ├── Square150x150Logo.scale-200.png │ ├── Square44x44Logo.scale-200.png │ ├── Square44x44Logo.targetsize-24_altform-unplated.png │ ├── StoreLogo.png │ └── Wide310x150Logo.scale-200.png │ ├── FodyWeavers.xml │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── Package.appxmanifest │ ├── Properties │ ├── AssemblyInfo.cs │ └── Default.rd.xml │ ├── SQLite.csproj │ ├── SQLite.nuget.targets │ ├── User.cs │ └── project.json └── SplitViewOptions ├── SplitViewOptions.sln └── SplitViewOptions ├── App.xaml ├── App.xaml.cs ├── ApplicationInsights.config ├── Assets ├── LockScreenLogo.scale-200.png ├── SplashScreen.scale-200.png ├── Square150x150Logo.scale-200.png ├── Square44x44Logo.scale-200.png ├── Square44x44Logo.targetsize-24_altform-unplated.png ├── StoreLogo.png ├── Wide310x150Logo.scale-200.png ├── img0.jpg ├── img0_2560x1600.jpg └── img4.jpg ├── MainPage.xaml ├── MainPage.xaml.cs ├── MapPage.xaml ├── MapPage.xaml.cs ├── Package.appxmanifest ├── Properties ├── AssemblyInfo.cs └── Default.rd.xml ├── SplitViewOptions.csproj └── project.json /.gitattributes: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # Set default behavior to automatically normalize line endings. 3 | ############################################################################### 4 | * text=auto 5 | 6 | ############################################################################### 7 | # Set default behavior for command prompt diff. 8 | # 9 | # This is need for earlier builds of msysgit that does not have it on by 10 | # default for csharp files. 11 | # Note: This is only used by command line 12 | ############################################################################### 13 | #*.cs diff=csharp 14 | 15 | ############################################################################### 16 | # Set the merge driver for project and solution files 17 | # 18 | # Merging from the command prompt will add diff markers to the files if there 19 | # are conflicts (Merging from VS is not affected by the settings below, in VS 20 | # the diff markers are never inserted). Diff markers may cause the following 21 | # file extensions to fail to load in VS. An alternative would be to treat 22 | # these files as binary and thus will always conflict and require user 23 | # intervention with every merge. To do so, just uncomment the entries below 24 | ############################################################################### 25 | #*.sln merge=binary 26 | #*.csproj merge=binary 27 | #*.vbproj merge=binary 28 | #*.vcxproj merge=binary 29 | #*.vcproj merge=binary 30 | #*.dbproj merge=binary 31 | #*.fsproj merge=binary 32 | #*.lsproj merge=binary 33 | #*.wixproj merge=binary 34 | #*.modelproj merge=binary 35 | #*.sqlproj merge=binary 36 | #*.wwaproj merge=binary 37 | 38 | ############################################################################### 39 | # behavior for image files 40 | # 41 | # image files are treated as binary by default. 42 | ############################################################################### 43 | #*.jpg binary 44 | #*.png binary 45 | #*.gif binary 46 | 47 | ############################################################################### 48 | # diff behavior for common document formats 49 | # 50 | # Convert binary document formats to text before diffing them. This feature 51 | # is only available from the command line. Turn it on by uncommenting the 52 | # entries below. 53 | ############################################################################### 54 | #*.doc diff=astextplain 55 | #*.DOC diff=astextplain 56 | #*.docx diff=astextplain 57 | #*.DOCX diff=astextplain 58 | #*.dot diff=astextplain 59 | #*.DOT diff=astextplain 60 | #*.pdf diff=astextplain 61 | #*.PDF diff=astextplain 62 | #*.rtf diff=astextplain 63 | #*.RTF diff=astextplain 64 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ## Ignore Visual Studio temporary files, build results, and 2 | ## files generated by popular Visual Studio add-ons. 3 | 4 | # User-specific files 5 | *.suo 6 | *.user 7 | *.userosscache 8 | *.sln.docstates 9 | 10 | # User-specific files (MonoDevelop/Xamarin Studio) 11 | *.userprefs 12 | 13 | # Build results 14 | [Dd]ebug/ 15 | [Dd]ebugPublic/ 16 | [Rr]elease/ 17 | [Rr]eleases/ 18 | x64/ 19 | x86/ 20 | build/ 21 | bld/ 22 | [Bb]in/ 23 | [Oo]bj/ 24 | 25 | # Visual Studio 2015 cache/options directory 26 | .vs/ 27 | 28 | # MSTest test Results 29 | [Tt]est[Rr]esult*/ 30 | [Bb]uild[Ll]og.* 31 | 32 | # NUNIT 33 | *.VisualState.xml 34 | TestResult.xml 35 | 36 | # Build Results of an ATL Project 37 | [Dd]ebugPS/ 38 | [Rr]eleasePS/ 39 | dlldata.c 40 | 41 | # DNX 42 | project.lock.json 43 | artifacts/ 44 | 45 | *_i.c 46 | *_p.c 47 | *_i.h 48 | *.ilk 49 | *.meta 50 | *.obj 51 | *.pch 52 | *.pdb 53 | *.pgc 54 | *.pgd 55 | *.rsp 56 | *.sbr 57 | *.tlb 58 | *.tli 59 | *.tlh 60 | *.tmp 61 | *.tmp_proj 62 | *.log 63 | *.vspscc 64 | *.vssscc 65 | .builds 66 | *.pidb 67 | *.svclog 68 | *.scc 69 | 70 | # Chutzpah Test files 71 | _Chutzpah* 72 | 73 | # Visual C++ cache files 74 | ipch/ 75 | *.aps 76 | *.ncb 77 | *.opensdf 78 | *.sdf 79 | *.cachefile 80 | 81 | # Visual Studio profiler 82 | *.psess 83 | *.vsp 84 | *.vspx 85 | 86 | # TFS 2012 Local Workspace 87 | $tf/ 88 | 89 | # Guidance Automation Toolkit 90 | *.gpState 91 | 92 | # ReSharper is a .NET coding add-in 93 | _ReSharper*/ 94 | *.[Rr]e[Ss]harper 95 | *.DotSettings.user 96 | 97 | # JustCode is a .NET coding add-in 98 | .JustCode 99 | 100 | # TeamCity is a build add-in 101 | _TeamCity* 102 | 103 | # DotCover is a Code Coverage Tool 104 | *.dotCover 105 | 106 | # NCrunch 107 | _NCrunch_* 108 | .*crunch*.local.xml 109 | 110 | # MightyMoose 111 | *.mm.* 112 | AutoTest.Net/ 113 | 114 | # Web workbench (sass) 115 | .sass-cache/ 116 | 117 | # Installshield output folder 118 | [Ee]xpress/ 119 | 120 | # DocProject is a documentation generator add-in 121 | DocProject/buildhelp/ 122 | DocProject/Help/*.HxT 123 | DocProject/Help/*.HxC 124 | DocProject/Help/*.hhc 125 | DocProject/Help/*.hhk 126 | DocProject/Help/*.hhp 127 | DocProject/Help/Html2 128 | DocProject/Help/html 129 | 130 | # Click-Once directory 131 | publish/ 132 | 133 | # Publish Web Output 134 | *.[Pp]ublish.xml 135 | *.azurePubxml 136 | ## TODO: Comment the next line if you want to checkin your 137 | ## web deploy settings but do note that will include unencrypted 138 | ## passwords 139 | #*.pubxml 140 | 141 | *.publishproj 142 | 143 | # NuGet Packages 144 | *.nupkg 145 | # The packages folder can be ignored because of Package Restore 146 | **/packages/* 147 | # except build/, which is used as an MSBuild target. 148 | !**/packages/build/ 149 | # Uncomment if necessary however generally it will be regenerated when needed 150 | #!**/packages/repositories.config 151 | 152 | # Windows Azure Build Output 153 | csx/ 154 | *.build.csdef 155 | 156 | # Windows Store app package directory 157 | AppPackages/ 158 | 159 | # Visual Studio cache files 160 | # files ending in .cache can be ignored 161 | *.[Cc]ache 162 | # but keep track of directories ending in .cache 163 | !*.[Cc]ache/ 164 | 165 | # Others 166 | ClientBin/ 167 | [Ss]tyle[Cc]op.* 168 | ~$* 169 | *~ 170 | *.dbmdl 171 | *.dbproj.schemaview 172 | *.pfx 173 | *.publishsettings 174 | node_modules/ 175 | orleans.codegen.cs 176 | 177 | # RIA/Silverlight projects 178 | Generated_Code/ 179 | 180 | # Backup & report files from converting an old project file 181 | # to a newer Visual Studio version. Backup files are not needed, 182 | # because we have git ;-) 183 | _UpgradeReport_Files/ 184 | Backup*/ 185 | UpgradeLog*.XML 186 | UpgradeLog*.htm 187 | 188 | # SQL Server files 189 | *.mdf 190 | *.ldf 191 | 192 | # Business Intelligence projects 193 | *.rdl.data 194 | *.bim.layout 195 | *.bim_*.settings 196 | 197 | # Microsoft Fakes 198 | FakesAssemblies/ 199 | 200 | # Node.js Tools for Visual Studio 201 | .ntvs_analysis.dat 202 | 203 | # Visual Studio 6 build log 204 | *.plg 205 | 206 | # Visual Studio 6 workspace options file 207 | *.opt 208 | 209 | # LightSwitch generated files 210 | GeneratedArtifacts/ 211 | _Pvt_Extensions/ 212 | ModelManifest.xml 213 | -------------------------------------------------------------------------------- /AppServices/AppServices.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.23107.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GroceryShop", "GroceryShop\GroceryShop.csproj", "{CBBAD078-B07B-4AAE-9E17-23C56E97D442}" 7 | EndProject 8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Notes", "Notes\Notes.csproj", "{1318C850-A1BE-42AC-81B8-B3EAD634F9C4}" 9 | EndProject 10 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GroceryShop.Background", "GroceryShop.Background\GroceryShop.Background.csproj", "{DB4A19D5-C53A-45DD-900B-3D4EB423AA10}" 11 | EndProject 12 | Global 13 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 14 | Debug|Any CPU = Debug|Any CPU 15 | Debug|ARM = Debug|ARM 16 | Debug|x64 = Debug|x64 17 | Debug|x86 = Debug|x86 18 | Release|Any CPU = Release|Any CPU 19 | Release|ARM = Release|ARM 20 | Release|x64 = Release|x64 21 | Release|x86 = Release|x86 22 | EndGlobalSection 23 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 24 | {CBBAD078-B07B-4AAE-9E17-23C56E97D442}.Debug|Any CPU.ActiveCfg = Debug|x86 25 | {CBBAD078-B07B-4AAE-9E17-23C56E97D442}.Debug|ARM.ActiveCfg = Debug|ARM 26 | {CBBAD078-B07B-4AAE-9E17-23C56E97D442}.Debug|ARM.Build.0 = Debug|ARM 27 | {CBBAD078-B07B-4AAE-9E17-23C56E97D442}.Debug|ARM.Deploy.0 = Debug|ARM 28 | {CBBAD078-B07B-4AAE-9E17-23C56E97D442}.Debug|x64.ActiveCfg = Debug|x64 29 | {CBBAD078-B07B-4AAE-9E17-23C56E97D442}.Debug|x64.Build.0 = Debug|x64 30 | {CBBAD078-B07B-4AAE-9E17-23C56E97D442}.Debug|x64.Deploy.0 = Debug|x64 31 | {CBBAD078-B07B-4AAE-9E17-23C56E97D442}.Debug|x86.ActiveCfg = Debug|x86 32 | {CBBAD078-B07B-4AAE-9E17-23C56E97D442}.Debug|x86.Build.0 = Debug|x86 33 | {CBBAD078-B07B-4AAE-9E17-23C56E97D442}.Debug|x86.Deploy.0 = Debug|x86 34 | {CBBAD078-B07B-4AAE-9E17-23C56E97D442}.Release|Any CPU.ActiveCfg = Release|x86 35 | {CBBAD078-B07B-4AAE-9E17-23C56E97D442}.Release|ARM.ActiveCfg = Release|ARM 36 | {CBBAD078-B07B-4AAE-9E17-23C56E97D442}.Release|ARM.Build.0 = Release|ARM 37 | {CBBAD078-B07B-4AAE-9E17-23C56E97D442}.Release|ARM.Deploy.0 = Release|ARM 38 | {CBBAD078-B07B-4AAE-9E17-23C56E97D442}.Release|x64.ActiveCfg = Release|x64 39 | {CBBAD078-B07B-4AAE-9E17-23C56E97D442}.Release|x64.Build.0 = Release|x64 40 | {CBBAD078-B07B-4AAE-9E17-23C56E97D442}.Release|x64.Deploy.0 = Release|x64 41 | {CBBAD078-B07B-4AAE-9E17-23C56E97D442}.Release|x86.ActiveCfg = Release|x86 42 | {CBBAD078-B07B-4AAE-9E17-23C56E97D442}.Release|x86.Build.0 = Release|x86 43 | {CBBAD078-B07B-4AAE-9E17-23C56E97D442}.Release|x86.Deploy.0 = Release|x86 44 | {1318C850-A1BE-42AC-81B8-B3EAD634F9C4}.Debug|Any CPU.ActiveCfg = Debug|x86 45 | {1318C850-A1BE-42AC-81B8-B3EAD634F9C4}.Debug|ARM.ActiveCfg = Debug|ARM 46 | {1318C850-A1BE-42AC-81B8-B3EAD634F9C4}.Debug|ARM.Build.0 = Debug|ARM 47 | {1318C850-A1BE-42AC-81B8-B3EAD634F9C4}.Debug|ARM.Deploy.0 = Debug|ARM 48 | {1318C850-A1BE-42AC-81B8-B3EAD634F9C4}.Debug|x64.ActiveCfg = Debug|x64 49 | {1318C850-A1BE-42AC-81B8-B3EAD634F9C4}.Debug|x64.Build.0 = Debug|x64 50 | {1318C850-A1BE-42AC-81B8-B3EAD634F9C4}.Debug|x64.Deploy.0 = Debug|x64 51 | {1318C850-A1BE-42AC-81B8-B3EAD634F9C4}.Debug|x86.ActiveCfg = Debug|x86 52 | {1318C850-A1BE-42AC-81B8-B3EAD634F9C4}.Debug|x86.Build.0 = Debug|x86 53 | {1318C850-A1BE-42AC-81B8-B3EAD634F9C4}.Debug|x86.Deploy.0 = Debug|x86 54 | {1318C850-A1BE-42AC-81B8-B3EAD634F9C4}.Release|Any CPU.ActiveCfg = Release|x86 55 | {1318C850-A1BE-42AC-81B8-B3EAD634F9C4}.Release|ARM.ActiveCfg = Release|ARM 56 | {1318C850-A1BE-42AC-81B8-B3EAD634F9C4}.Release|ARM.Build.0 = Release|ARM 57 | {1318C850-A1BE-42AC-81B8-B3EAD634F9C4}.Release|ARM.Deploy.0 = Release|ARM 58 | {1318C850-A1BE-42AC-81B8-B3EAD634F9C4}.Release|x64.ActiveCfg = Release|x64 59 | {1318C850-A1BE-42AC-81B8-B3EAD634F9C4}.Release|x64.Build.0 = Release|x64 60 | {1318C850-A1BE-42AC-81B8-B3EAD634F9C4}.Release|x64.Deploy.0 = Release|x64 61 | {1318C850-A1BE-42AC-81B8-B3EAD634F9C4}.Release|x86.ActiveCfg = Release|x86 62 | {1318C850-A1BE-42AC-81B8-B3EAD634F9C4}.Release|x86.Build.0 = Release|x86 63 | {1318C850-A1BE-42AC-81B8-B3EAD634F9C4}.Release|x86.Deploy.0 = Release|x86 64 | {DB4A19D5-C53A-45DD-900B-3D4EB423AA10}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 65 | {DB4A19D5-C53A-45DD-900B-3D4EB423AA10}.Debug|Any CPU.Build.0 = Debug|Any CPU 66 | {DB4A19D5-C53A-45DD-900B-3D4EB423AA10}.Debug|ARM.ActiveCfg = Debug|ARM 67 | {DB4A19D5-C53A-45DD-900B-3D4EB423AA10}.Debug|ARM.Build.0 = Debug|ARM 68 | {DB4A19D5-C53A-45DD-900B-3D4EB423AA10}.Debug|x64.ActiveCfg = Debug|x64 69 | {DB4A19D5-C53A-45DD-900B-3D4EB423AA10}.Debug|x64.Build.0 = Debug|x64 70 | {DB4A19D5-C53A-45DD-900B-3D4EB423AA10}.Debug|x86.ActiveCfg = Debug|x86 71 | {DB4A19D5-C53A-45DD-900B-3D4EB423AA10}.Debug|x86.Build.0 = Debug|x86 72 | {DB4A19D5-C53A-45DD-900B-3D4EB423AA10}.Release|Any CPU.ActiveCfg = Release|Any CPU 73 | {DB4A19D5-C53A-45DD-900B-3D4EB423AA10}.Release|Any CPU.Build.0 = Release|Any CPU 74 | {DB4A19D5-C53A-45DD-900B-3D4EB423AA10}.Release|ARM.ActiveCfg = Release|ARM 75 | {DB4A19D5-C53A-45DD-900B-3D4EB423AA10}.Release|ARM.Build.0 = Release|ARM 76 | {DB4A19D5-C53A-45DD-900B-3D4EB423AA10}.Release|x64.ActiveCfg = Release|x64 77 | {DB4A19D5-C53A-45DD-900B-3D4EB423AA10}.Release|x64.Build.0 = Release|x64 78 | {DB4A19D5-C53A-45DD-900B-3D4EB423AA10}.Release|x86.ActiveCfg = Release|x86 79 | {DB4A19D5-C53A-45DD-900B-3D4EB423AA10}.Release|x86.Build.0 = Release|x86 80 | EndGlobalSection 81 | GlobalSection(SolutionProperties) = preSolution 82 | HideSolutionNode = FALSE 83 | EndGlobalSection 84 | EndGlobal 85 | -------------------------------------------------------------------------------- /AppServices/GroceryShop.Background/Grocery.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using Windows.ApplicationModel.AppService; 7 | using Windows.ApplicationModel.Background; 8 | using Windows.Foundation.Collections; 9 | 10 | namespace GroceryShop.Background 11 | { 12 | public sealed class Grocery : IBackgroundTask 13 | { 14 | private BackgroundTaskDeferral deferral; 15 | private AppServiceConnection appServiceConnection; 16 | private Dictionary groceries = new Dictionary { { "Apples", "$0.79" }, { "Oranges", "$1" }, { "Bananas", "$1.99" }, { "Pears", "$0.50" } }; 17 | 18 | public void Run(IBackgroundTaskInstance taskInstance) 19 | { 20 | this.deferral = taskInstance.GetDeferral(); 21 | 22 | taskInstance.Canceled += TaskInstance_Canceled; 23 | 24 | var trigger = taskInstance.TriggerDetails as AppServiceTriggerDetails; 25 | this.appServiceConnection = trigger.AppServiceConnection; 26 | this.appServiceConnection.RequestReceived += AppServiceConnection_RequestReceived; 27 | } 28 | 29 | private async void AppServiceConnection_RequestReceived(AppServiceConnection sender, AppServiceRequestReceivedEventArgs args) 30 | { 31 | var deferral = args.GetDeferral(); 32 | var requestMessage = args.Request.Message; 33 | var responseMessage = new ValueSet(); 34 | 35 | foreach (var item in requestMessage) 36 | { 37 | if (groceries.ContainsKey(item.Value.ToString())) 38 | { 39 | responseMessage.Add(item.Value.ToString(), groceries[item.Value.ToString()]); 40 | } 41 | } 42 | 43 | await args.Request.SendResponseAsync(responseMessage); 44 | 45 | deferral.Complete(); 46 | } 47 | 48 | private void TaskInstance_Canceled(IBackgroundTaskInstance sender, BackgroundTaskCancellationReason reason) 49 | { 50 | if (this.deferral != null) 51 | { 52 | this.deferral.Complete(); 53 | } 54 | } 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /AppServices/GroceryShop.Background/GroceryShop.Background.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {DB4A19D5-C53A-45DD-900B-3D4EB423AA10} 8 | winmdobj 9 | Properties 10 | GroceryShop.Background 11 | GroceryShop.Background 12 | en-US 13 | UAP 14 | 10.0.16299.0 15 | 10.0.10240.0 16 | 14 17 | 512 18 | {A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} 19 | false 20 | win10-arm;win10-arm-aot;win10-x86;win10-x86-aot;win10-x64;win10-x64-aot 21 | 22 | 23 | AnyCPU 24 | true 25 | full 26 | false 27 | bin\Debug\ 28 | DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP 29 | prompt 30 | 4 31 | 32 | 33 | AnyCPU 34 | pdbonly 35 | true 36 | bin\Release\ 37 | TRACE;NETFX_CORE;WINDOWS_UWP 38 | prompt 39 | 4 40 | 41 | 42 | ARM 43 | true 44 | bin\ARM\Debug\ 45 | DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP 46 | ;2008 47 | full 48 | ARM 49 | false 50 | prompt 51 | true 52 | 53 | 54 | ARM 55 | bin\ARM\Release\ 56 | TRACE;NETFX_CORE;WINDOWS_UWP 57 | true 58 | ;2008 59 | pdbonly 60 | ARM 61 | false 62 | prompt 63 | true 64 | 65 | 66 | x64 67 | true 68 | bin\x64\Debug\ 69 | DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP 70 | ;2008 71 | full 72 | x64 73 | false 74 | prompt 75 | true 76 | 77 | 78 | x64 79 | bin\x64\Release\ 80 | TRACE;NETFX_CORE;WINDOWS_UWP 81 | true 82 | ;2008 83 | pdbonly 84 | x64 85 | false 86 | prompt 87 | true 88 | 89 | 90 | x86 91 | true 92 | bin\x86\Debug\ 93 | DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP 94 | ;2008 95 | full 96 | x86 97 | false 98 | prompt 99 | true 100 | 101 | 102 | x86 103 | bin\x86\Release\ 104 | TRACE;NETFX_CORE;WINDOWS_UWP 105 | true 106 | ;2008 107 | pdbonly 108 | x86 109 | false 110 | prompt 111 | true 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 5.0.0 120 | 121 | 122 | 123 | 14.0 124 | 125 | 126 | 133 | -------------------------------------------------------------------------------- /AppServices/GroceryShop.Background/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("GroceryShop.Background")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("GroceryShop.Background")] 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.0")] 28 | [assembly: AssemblyFileVersion("1.0.0.0")] 29 | [assembly: ComVisible(false)] -------------------------------------------------------------------------------- /AppServices/GroceryShop/App.xaml: -------------------------------------------------------------------------------- 1 |  7 | 8 | 9 | -------------------------------------------------------------------------------- /AppServices/GroceryShop/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using System.Runtime.InteropServices.WindowsRuntime; 6 | using Windows.ApplicationModel; 7 | using Windows.ApplicationModel.Activation; 8 | using Windows.Foundation; 9 | using Windows.Foundation.Collections; 10 | using Windows.UI.Xaml; 11 | using Windows.UI.Xaml.Controls; 12 | using Windows.UI.Xaml.Controls.Primitives; 13 | using Windows.UI.Xaml.Data; 14 | using Windows.UI.Xaml.Input; 15 | using Windows.UI.Xaml.Media; 16 | using Windows.UI.Xaml.Navigation; 17 | 18 | namespace GroceryShop 19 | { 20 | /// 21 | /// Provides application-specific behavior to supplement the default Application class. 22 | /// 23 | sealed partial class App : Application 24 | { 25 | /// 26 | /// Initializes the singleton application object. This is the first line of authored code 27 | /// executed, and as such is the logical equivalent of main() or WinMain(). 28 | /// 29 | public App() 30 | { 31 | Microsoft.ApplicationInsights.WindowsAppInitializer.InitializeAsync( 32 | Microsoft.ApplicationInsights.WindowsCollectors.Metadata | 33 | Microsoft.ApplicationInsights.WindowsCollectors.Session); 34 | this.InitializeComponent(); 35 | this.Suspending += OnSuspending; 36 | } 37 | 38 | /// 39 | /// Invoked when the application is launched normally by the end user. Other entry points 40 | /// will be used such as when the application is launched to open a specific file. 41 | /// 42 | /// Details about the launch request and process. 43 | protected override void OnLaunched(LaunchActivatedEventArgs e) 44 | { 45 | 46 | #if DEBUG 47 | if (System.Diagnostics.Debugger.IsAttached) 48 | { 49 | var packageId = Windows.ApplicationModel.Package.Current.Id; 50 | //this.DebugSettings.EnableFrameRateCounter = true; 51 | } 52 | #endif 53 | 54 | Frame rootFrame = Window.Current.Content as Frame; 55 | 56 | // Do not repeat app initialization when the Window already has content, 57 | // just ensure that the window is active 58 | if (rootFrame == null) 59 | { 60 | // Create a Frame to act as the navigation context and navigate to the first page 61 | rootFrame = new Frame(); 62 | 63 | rootFrame.NavigationFailed += OnNavigationFailed; 64 | 65 | if (e.PreviousExecutionState == ApplicationExecutionState.Terminated) 66 | { 67 | //TODO: Load state from previously suspended application 68 | } 69 | 70 | // Place the frame in the current Window 71 | Window.Current.Content = rootFrame; 72 | } 73 | 74 | if (rootFrame.Content == null) 75 | { 76 | // When the navigation stack isn't restored navigate to the first page, 77 | // configuring the new page by passing required information as a navigation 78 | // parameter 79 | rootFrame.Navigate(typeof(MainPage), e.Arguments); 80 | } 81 | // Ensure the current window is active 82 | Window.Current.Activate(); 83 | } 84 | 85 | /// 86 | /// Invoked when Navigation to a certain page fails 87 | /// 88 | /// The Frame which failed navigation 89 | /// Details about the navigation failure 90 | void OnNavigationFailed(object sender, NavigationFailedEventArgs e) 91 | { 92 | throw new Exception("Failed to load Page " + e.SourcePageType.FullName); 93 | } 94 | 95 | /// 96 | /// Invoked when application execution is being suspended. Application state is saved 97 | /// without knowing whether the application will be terminated or resumed with the contents 98 | /// of memory still intact. 99 | /// 100 | /// The source of the suspend request. 101 | /// Details about the suspend request. 102 | private void OnSuspending(object sender, SuspendingEventArgs e) 103 | { 104 | var deferral = e.SuspendingOperation.GetDeferral(); 105 | //TODO: Save application state and stop any background activity 106 | deferral.Complete(); 107 | } 108 | } 109 | } 110 | -------------------------------------------------------------------------------- /AppServices/GroceryShop/ApplicationInsights.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /AppServices/GroceryShop/Assets/LockScreenLogo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenchauhan/blog/533261daa301dcb7dff3fd9ecafcea22d288eb37/AppServices/GroceryShop/Assets/LockScreenLogo.scale-200.png -------------------------------------------------------------------------------- /AppServices/GroceryShop/Assets/SplashScreen.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenchauhan/blog/533261daa301dcb7dff3fd9ecafcea22d288eb37/AppServices/GroceryShop/Assets/SplashScreen.scale-200.png -------------------------------------------------------------------------------- /AppServices/GroceryShop/Assets/Square150x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenchauhan/blog/533261daa301dcb7dff3fd9ecafcea22d288eb37/AppServices/GroceryShop/Assets/Square150x150Logo.scale-200.png -------------------------------------------------------------------------------- /AppServices/GroceryShop/Assets/Square44x44Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenchauhan/blog/533261daa301dcb7dff3fd9ecafcea22d288eb37/AppServices/GroceryShop/Assets/Square44x44Logo.scale-200.png -------------------------------------------------------------------------------- /AppServices/GroceryShop/Assets/Square44x44Logo.targetsize-24_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenchauhan/blog/533261daa301dcb7dff3fd9ecafcea22d288eb37/AppServices/GroceryShop/Assets/Square44x44Logo.targetsize-24_altform-unplated.png -------------------------------------------------------------------------------- /AppServices/GroceryShop/Assets/StoreLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenchauhan/blog/533261daa301dcb7dff3fd9ecafcea22d288eb37/AppServices/GroceryShop/Assets/StoreLogo.png -------------------------------------------------------------------------------- /AppServices/GroceryShop/Assets/Wide310x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenchauhan/blog/533261daa301dcb7dff3fd9ecafcea22d288eb37/AppServices/GroceryShop/Assets/Wide310x150Logo.scale-200.png -------------------------------------------------------------------------------- /AppServices/GroceryShop/MainPage.xaml: -------------------------------------------------------------------------------- 1 |  9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /AppServices/GroceryShop/MainPage.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using System.Runtime.InteropServices.WindowsRuntime; 6 | using Windows.Foundation; 7 | using Windows.Foundation.Collections; 8 | using Windows.UI.Xaml; 9 | using Windows.UI.Xaml.Controls; 10 | using Windows.UI.Xaml.Controls.Primitives; 11 | using Windows.UI.Xaml.Data; 12 | using Windows.UI.Xaml.Input; 13 | using Windows.UI.Xaml.Media; 14 | using Windows.UI.Xaml.Navigation; 15 | 16 | // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409 17 | 18 | namespace GroceryShop 19 | { 20 | /// 21 | /// An empty page that can be used on its own or navigated to within a Frame. 22 | /// 23 | public sealed partial class MainPage : Page 24 | { 25 | public MainPage() 26 | { 27 | this.InitializeComponent(); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /AppServices/GroceryShop/Package.appxmanifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | GroceryShop 7 | shenc 8 | Assets\StoreLogo.png 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /AppServices/GroceryShop/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("GroceryShop")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("GroceryShop")] 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.0")] 28 | [assembly: AssemblyFileVersion("1.0.0.0")] 29 | [assembly: ComVisible(false)] -------------------------------------------------------------------------------- /AppServices/GroceryShop/Properties/Default.rd.xml: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 | 20 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /AppServices/Notes/App.xaml: -------------------------------------------------------------------------------- 1 |  7 | 8 | 9 | -------------------------------------------------------------------------------- /AppServices/Notes/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using System.Runtime.InteropServices.WindowsRuntime; 6 | using Windows.ApplicationModel; 7 | using Windows.ApplicationModel.Activation; 8 | using Windows.Foundation; 9 | using Windows.Foundation.Collections; 10 | using Windows.UI.Xaml; 11 | using Windows.UI.Xaml.Controls; 12 | using Windows.UI.Xaml.Controls.Primitives; 13 | using Windows.UI.Xaml.Data; 14 | using Windows.UI.Xaml.Input; 15 | using Windows.UI.Xaml.Media; 16 | using Windows.UI.Xaml.Navigation; 17 | 18 | namespace Notes 19 | { 20 | /// 21 | /// Provides application-specific behavior to supplement the default Application class. 22 | /// 23 | sealed partial class App : Application 24 | { 25 | /// 26 | /// Initializes the singleton application object. This is the first line of authored code 27 | /// executed, and as such is the logical equivalent of main() or WinMain(). 28 | /// 29 | public App() 30 | { 31 | Microsoft.ApplicationInsights.WindowsAppInitializer.InitializeAsync( 32 | Microsoft.ApplicationInsights.WindowsCollectors.Metadata | 33 | Microsoft.ApplicationInsights.WindowsCollectors.Session); 34 | this.InitializeComponent(); 35 | this.Suspending += OnSuspending; 36 | } 37 | 38 | /// 39 | /// Invoked when the application is launched normally by the end user. Other entry points 40 | /// will be used such as when the application is launched to open a specific file. 41 | /// 42 | /// Details about the launch request and process. 43 | protected override void OnLaunched(LaunchActivatedEventArgs e) 44 | { 45 | 46 | #if DEBUG 47 | if (System.Diagnostics.Debugger.IsAttached) 48 | { 49 | //this.DebugSettings.EnableFrameRateCounter = true; 50 | } 51 | #endif 52 | 53 | Frame rootFrame = Window.Current.Content as Frame; 54 | 55 | // Do not repeat app initialization when the Window already has content, 56 | // just ensure that the window is active 57 | if (rootFrame == null) 58 | { 59 | // Create a Frame to act as the navigation context and navigate to the first page 60 | rootFrame = new Frame(); 61 | 62 | rootFrame.NavigationFailed += OnNavigationFailed; 63 | 64 | if (e.PreviousExecutionState == ApplicationExecutionState.Terminated) 65 | { 66 | //TODO: Load state from previously suspended application 67 | } 68 | 69 | // Place the frame in the current Window 70 | Window.Current.Content = rootFrame; 71 | } 72 | 73 | if (rootFrame.Content == null) 74 | { 75 | // When the navigation stack isn't restored navigate to the first page, 76 | // configuring the new page by passing required information as a navigation 77 | // parameter 78 | rootFrame.Navigate(typeof(MainPage), e.Arguments); 79 | } 80 | // Ensure the current window is active 81 | Window.Current.Activate(); 82 | } 83 | 84 | /// 85 | /// Invoked when Navigation to a certain page fails 86 | /// 87 | /// The Frame which failed navigation 88 | /// Details about the navigation failure 89 | void OnNavigationFailed(object sender, NavigationFailedEventArgs e) 90 | { 91 | throw new Exception("Failed to load Page " + e.SourcePageType.FullName); 92 | } 93 | 94 | /// 95 | /// Invoked when application execution is being suspended. Application state is saved 96 | /// without knowing whether the application will be terminated or resumed with the contents 97 | /// of memory still intact. 98 | /// 99 | /// The source of the suspend request. 100 | /// Details about the suspend request. 101 | private void OnSuspending(object sender, SuspendingEventArgs e) 102 | { 103 | var deferral = e.SuspendingOperation.GetDeferral(); 104 | //TODO: Save application state and stop any background activity 105 | deferral.Complete(); 106 | } 107 | } 108 | } 109 | -------------------------------------------------------------------------------- /AppServices/Notes/ApplicationInsights.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /AppServices/Notes/Assets/LockScreenLogo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenchauhan/blog/533261daa301dcb7dff3fd9ecafcea22d288eb37/AppServices/Notes/Assets/LockScreenLogo.scale-200.png -------------------------------------------------------------------------------- /AppServices/Notes/Assets/SplashScreen.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenchauhan/blog/533261daa301dcb7dff3fd9ecafcea22d288eb37/AppServices/Notes/Assets/SplashScreen.scale-200.png -------------------------------------------------------------------------------- /AppServices/Notes/Assets/Square150x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenchauhan/blog/533261daa301dcb7dff3fd9ecafcea22d288eb37/AppServices/Notes/Assets/Square150x150Logo.scale-200.png -------------------------------------------------------------------------------- /AppServices/Notes/Assets/Square44x44Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenchauhan/blog/533261daa301dcb7dff3fd9ecafcea22d288eb37/AppServices/Notes/Assets/Square44x44Logo.scale-200.png -------------------------------------------------------------------------------- /AppServices/Notes/Assets/Square44x44Logo.targetsize-24_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenchauhan/blog/533261daa301dcb7dff3fd9ecafcea22d288eb37/AppServices/Notes/Assets/Square44x44Logo.targetsize-24_altform-unplated.png -------------------------------------------------------------------------------- /AppServices/Notes/Assets/StoreLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenchauhan/blog/533261daa301dcb7dff3fd9ecafcea22d288eb37/AppServices/Notes/Assets/StoreLogo.png -------------------------------------------------------------------------------- /AppServices/Notes/Assets/Wide310x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenchauhan/blog/533261daa301dcb7dff3fd9ecafcea22d288eb37/AppServices/Notes/Assets/Wide310x150Logo.scale-200.png -------------------------------------------------------------------------------- /AppServices/Notes/MainPage.xaml: -------------------------------------------------------------------------------- 1 |  9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 87 | 88 | 89 | -------------------------------------------------------------------------------- /SplitViewOptions/SplitViewOptions/MainPage.xaml.cs: -------------------------------------------------------------------------------- 1 | using Windows.UI.Xaml; 2 | using Windows.UI.Xaml.Controls; 3 | using Windows.UI.Xaml.Navigation; 4 | 5 | // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409 6 | 7 | namespace SplitViewOptions 8 | { 9 | /// 10 | /// An empty page that can be used on its own or navigated to within a Frame. 11 | /// 12 | public sealed partial class MainPage : Page 13 | { 14 | public MainPage() 15 | { 16 | this.InitializeComponent(); 17 | } 18 | 19 | protected override void OnNavigatedTo(NavigationEventArgs e) 20 | { 21 | base.OnNavigatedTo(e); 22 | } 23 | 24 | private void HamburgerButton_Click(object sender, RoutedEventArgs e) 25 | { 26 | this.MySplitView.IsPaneOpen = this.MySplitView.IsPaneOpen ? false : true; 27 | } 28 | 29 | private void RadioButtonPaneItem_Click(object sender, RoutedEventArgs e) 30 | { 31 | var radioButton = sender as RadioButton; 32 | 33 | if (radioButton != null) 34 | { 35 | switch (radioButton.Tag.ToString()) 36 | { 37 | case "Map": 38 | this.MainFrame.Navigate(typeof(MapPage)); 39 | break; 40 | } 41 | } 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /SplitViewOptions/SplitViewOptions/MapPage.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /SplitViewOptions/SplitViewOptions/MapPage.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using System.Runtime.InteropServices.WindowsRuntime; 6 | using Windows.Foundation; 7 | using Windows.Foundation.Collections; 8 | using Windows.UI.Xaml; 9 | using Windows.UI.Xaml.Controls; 10 | using Windows.UI.Xaml.Controls.Primitives; 11 | using Windows.UI.Xaml.Data; 12 | using Windows.UI.Xaml.Input; 13 | using Windows.UI.Xaml.Media; 14 | using Windows.UI.Xaml.Navigation; 15 | 16 | // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238 17 | 18 | namespace SplitViewOptions 19 | { 20 | /// 21 | /// An empty page that can be used on its own or navigated to within a Frame. 22 | /// 23 | public sealed partial class MapPage : Page 24 | { 25 | public MapPage() 26 | { 27 | this.InitializeComponent(); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /SplitViewOptions/SplitViewOptions/Package.appxmanifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 8 | 9 | 13 | 14 | 15 | 16 | 17 | SplitViewOptions 18 | Shen Chauhan 19 | Assets\StoreLogo.png 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 34 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /SplitViewOptions/SplitViewOptions/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("SplitViewOptions")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("SplitViewOptions")] 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.0")] 28 | [assembly: AssemblyFileVersion("1.0.0.0")] 29 | [assembly: ComVisible(false)] -------------------------------------------------------------------------------- /SplitViewOptions/SplitViewOptions/Properties/Default.rd.xml: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 | 20 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /SplitViewOptions/SplitViewOptions/project.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "Microsoft.ApplicationInsights": "1.0.0", 4 | "Microsoft.ApplicationInsights.PersistenceChannel": "1.0.0", 5 | "Microsoft.ApplicationInsights.WindowsApps": "1.0.0", 6 | "Microsoft.NETCore.UniversalWindowsPlatform": "5.0.0" 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 | } --------------------------------------------------------------------------------