├── ComposeTestMessage ├── ComposeTestMessage.sln ├── ComposeTextMessage │ ├── 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 │ ├── ComposeTextMessage.csproj │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── Package.appxmanifest │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ └── Default.rd.xml │ ├── project.json │ └── project.lock.json └── README.md ├── LICENSE ├── README.md ├── UniversalAppLaunchingWPFApp ├── README.md ├── SolutionItems │ └── InstallWin32ProtocolHandler.reg ├── UniversalAppLaunchingWPFApp.sln ├── WPFProtocolHandler │ ├── App.config │ ├── App.xaml │ ├── App.xaml.cs │ ├── MainWindow.xaml │ ├── MainWindow.xaml.cs │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ ├── Settings.Designer.cs │ │ └── Settings.settings │ └── WPFProtocolHandler.csproj └── Windows10Launcher │ ├── 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 │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── Package.appxmanifest │ ├── Properties │ ├── AssemblyInfo.cs │ └── Default.rd.xml │ ├── Windows10Launcher.csproj │ └── project.json ├── WPFAppLaunchingUniversalApp ├── README.md ├── UniversalTargetApp │ ├── 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 │ ├── Package.appxmanifest │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ └── Default.rd.xml │ ├── ProtocolActivationPage.xaml │ ├── ProtocolActivationPage.xaml.cs │ ├── UniversalTargetApp.csproj │ └── project.json ├── WPFAppLaunchingUniversalApp.sln └── WPFLauncherApp │ ├── App.config │ ├── App.xaml │ ├── App.xaml.cs │ ├── MainWindow.xaml │ ├── MainWindow.xaml.cs │ ├── Properties │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ ├── Resources.resx │ ├── Settings.Designer.cs │ └── Settings.settings │ └── WPFLauncherApp.csproj └── Win32AppServiceClient ├── AppServicesProvider ├── App.xaml ├── App.xaml.cs ├── AppServicesProvider.csproj ├── ApplicationInsights.config ├── Assets │ ├── Logo.scale-100.png │ ├── SmallLogo.scale-100.png │ ├── SplashScreen.scale-100.png │ ├── StoreLogo.scale-100.png │ └── WideLogo.scale-100.png ├── MainPage.xaml ├── MainPage.xaml.cs ├── Package.appxmanifest ├── Properties │ ├── AssemblyInfo.cs │ └── Default.rd.xml └── packages.config ├── README.md ├── RandomNumberService ├── Properties │ └── AssemblyInfo.cs ├── RandomNumberGeneratorTask.cs ├── RandomNumberService.csproj └── packages.config ├── Win32AppServiceClient.sln └── Win32AppServiceClient ├── App.config ├── App.xaml ├── App.xaml.cs ├── MainWindow.xaml ├── MainWindow.xaml.cs ├── Properties ├── AssemblyInfo.cs ├── Resources.Designer.cs ├── Resources.resx ├── Settings.Designer.cs └── Settings.settings └── Win32AppServiceClient.csproj /ComposeTestMessage/ComposeTestMessage.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}") = "ComposeTextMessage", "ComposeTextMessage\ComposeTextMessage.csproj", "{4ADC2FB7-D12B-4C1F-A838-49950E2964F7}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|ARM = Debug|ARM 11 | Debug|x64 = Debug|x64 12 | Debug|x86 = Debug|x86 13 | Release|ARM = Release|ARM 14 | Release|x64 = Release|x64 15 | Release|x86 = Release|x86 16 | EndGlobalSection 17 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 18 | {4ADC2FB7-D12B-4C1F-A838-49950E2964F7}.Debug|ARM.ActiveCfg = Debug|ARM 19 | {4ADC2FB7-D12B-4C1F-A838-49950E2964F7}.Debug|ARM.Build.0 = Debug|ARM 20 | {4ADC2FB7-D12B-4C1F-A838-49950E2964F7}.Debug|ARM.Deploy.0 = Debug|ARM 21 | {4ADC2FB7-D12B-4C1F-A838-49950E2964F7}.Debug|x64.ActiveCfg = Debug|x64 22 | {4ADC2FB7-D12B-4C1F-A838-49950E2964F7}.Debug|x64.Build.0 = Debug|x64 23 | {4ADC2FB7-D12B-4C1F-A838-49950E2964F7}.Debug|x64.Deploy.0 = Debug|x64 24 | {4ADC2FB7-D12B-4C1F-A838-49950E2964F7}.Debug|x86.ActiveCfg = Debug|x86 25 | {4ADC2FB7-D12B-4C1F-A838-49950E2964F7}.Debug|x86.Build.0 = Debug|x86 26 | {4ADC2FB7-D12B-4C1F-A838-49950E2964F7}.Debug|x86.Deploy.0 = Debug|x86 27 | {4ADC2FB7-D12B-4C1F-A838-49950E2964F7}.Release|ARM.ActiveCfg = Release|ARM 28 | {4ADC2FB7-D12B-4C1F-A838-49950E2964F7}.Release|ARM.Build.0 = Release|ARM 29 | {4ADC2FB7-D12B-4C1F-A838-49950E2964F7}.Release|ARM.Deploy.0 = Release|ARM 30 | {4ADC2FB7-D12B-4C1F-A838-49950E2964F7}.Release|x64.ActiveCfg = Release|x64 31 | {4ADC2FB7-D12B-4C1F-A838-49950E2964F7}.Release|x64.Build.0 = Release|x64 32 | {4ADC2FB7-D12B-4C1F-A838-49950E2964F7}.Release|x64.Deploy.0 = Release|x64 33 | {4ADC2FB7-D12B-4C1F-A838-49950E2964F7}.Release|x86.ActiveCfg = Release|x86 34 | {4ADC2FB7-D12B-4C1F-A838-49950E2964F7}.Release|x86.Build.0 = Release|x86 35 | {4ADC2FB7-D12B-4C1F-A838-49950E2964F7}.Release|x86.Deploy.0 = Release|x86 36 | EndGlobalSection 37 | GlobalSection(SolutionProperties) = preSolution 38 | HideSolutionNode = FALSE 39 | EndGlobalSection 40 | EndGlobal 41 | -------------------------------------------------------------------------------- /ComposeTestMessage/ComposeTextMessage/App.xaml: -------------------------------------------------------------------------------- 1 |  7 | 8 | 9 | -------------------------------------------------------------------------------- /ComposeTestMessage/ComposeTextMessage/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 ComposeTextMessage 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 | this.InitializeComponent(); 32 | this.Suspending += OnSuspending; 33 | } 34 | 35 | /// 36 | /// Invoked when the application is launched normally by the end user. Other entry points 37 | /// will be used such as when the application is launched to open a specific file. 38 | /// 39 | /// Details about the launch request and process. 40 | protected override void OnLaunched(LaunchActivatedEventArgs e) 41 | { 42 | 43 | #if DEBUG 44 | if (System.Diagnostics.Debugger.IsAttached) 45 | { 46 | this.DebugSettings.EnableFrameRateCounter = true; 47 | } 48 | #endif 49 | 50 | Frame rootFrame = Window.Current.Content as Frame; 51 | 52 | // Do not repeat app initialization when the Window already has content, 53 | // just ensure that the window is active 54 | if (rootFrame == null) 55 | { 56 | // Create a Frame to act as the navigation context and navigate to the first page 57 | rootFrame = new Frame(); 58 | 59 | rootFrame.NavigationFailed += OnNavigationFailed; 60 | 61 | if (e.PreviousExecutionState == ApplicationExecutionState.Terminated) 62 | { 63 | //TODO: Load state from previously suspended application 64 | } 65 | 66 | // Place the frame in the current Window 67 | Window.Current.Content = rootFrame; 68 | } 69 | 70 | if (rootFrame.Content == null) 71 | { 72 | // When the navigation stack isn't restored navigate to the first page, 73 | // configuring the new page by passing required information as a navigation 74 | // parameter 75 | rootFrame.Navigate(typeof(MainPage), e.Arguments); 76 | } 77 | // Ensure the current window is active 78 | Window.Current.Activate(); 79 | } 80 | 81 | /// 82 | /// Invoked when Navigation to a certain page fails 83 | /// 84 | /// The Frame which failed navigation 85 | /// Details about the navigation failure 86 | void OnNavigationFailed(object sender, NavigationFailedEventArgs e) 87 | { 88 | throw new Exception("Failed to load Page " + e.SourcePageType.FullName); 89 | } 90 | 91 | /// 92 | /// Invoked when application execution is being suspended. Application state is saved 93 | /// without knowing whether the application will be terminated or resumed with the contents 94 | /// of memory still intact. 95 | /// 96 | /// The source of the suspend request. 97 | /// Details about the suspend request. 98 | private void OnSuspending(object sender, SuspendingEventArgs e) 99 | { 100 | var deferral = e.SuspendingOperation.GetDeferral(); 101 | //TODO: Save application state and stop any background activity 102 | deferral.Complete(); 103 | } 104 | } 105 | } 106 | -------------------------------------------------------------------------------- /ComposeTestMessage/ComposeTextMessage/ApplicationInsights.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /ComposeTestMessage/ComposeTextMessage/Assets/LockScreenLogo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arunjeetsingh/SampleCode/434a48e215fbc0ece7e0b83c6fbee4ea1c44338d/ComposeTestMessage/ComposeTextMessage/Assets/LockScreenLogo.scale-200.png -------------------------------------------------------------------------------- /ComposeTestMessage/ComposeTextMessage/Assets/SplashScreen.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arunjeetsingh/SampleCode/434a48e215fbc0ece7e0b83c6fbee4ea1c44338d/ComposeTestMessage/ComposeTextMessage/Assets/SplashScreen.scale-200.png -------------------------------------------------------------------------------- /ComposeTestMessage/ComposeTextMessage/Assets/Square150x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arunjeetsingh/SampleCode/434a48e215fbc0ece7e0b83c6fbee4ea1c44338d/ComposeTestMessage/ComposeTextMessage/Assets/Square150x150Logo.scale-200.png -------------------------------------------------------------------------------- /ComposeTestMessage/ComposeTextMessage/Assets/Square44x44Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arunjeetsingh/SampleCode/434a48e215fbc0ece7e0b83c6fbee4ea1c44338d/ComposeTestMessage/ComposeTextMessage/Assets/Square44x44Logo.scale-200.png -------------------------------------------------------------------------------- /ComposeTestMessage/ComposeTextMessage/Assets/Square44x44Logo.targetsize-24_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arunjeetsingh/SampleCode/434a48e215fbc0ece7e0b83c6fbee4ea1c44338d/ComposeTestMessage/ComposeTextMessage/Assets/Square44x44Logo.targetsize-24_altform-unplated.png -------------------------------------------------------------------------------- /ComposeTestMessage/ComposeTextMessage/Assets/StoreLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arunjeetsingh/SampleCode/434a48e215fbc0ece7e0b83c6fbee4ea1c44338d/ComposeTestMessage/ComposeTextMessage/Assets/StoreLogo.png -------------------------------------------------------------------------------- /ComposeTestMessage/ComposeTextMessage/Assets/Wide310x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arunjeetsingh/SampleCode/434a48e215fbc0ece7e0b83c6fbee4ea1c44338d/ComposeTestMessage/ComposeTextMessage/Assets/Wide310x150Logo.scale-200.png -------------------------------------------------------------------------------- /ComposeTestMessage/ComposeTextMessage/ComposeTextMessage.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | x86 7 | {4ADC2FB7-D12B-4C1F-A838-49950E2964F7} 8 | AppContainerExe 9 | Properties 10 | ComposeTextMessage 11 | ComposeTextMessage 12 | en-US 13 | UAP 14 | 10.0.10166.0 15 | 10.0.10166.0 16 | 14 17 | true 18 | 512 19 | {A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} 20 | ComposeTextMessage_TemporaryKey.pfx 21 | 22 | 23 | true 24 | bin\ARM\Debug\ 25 | DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP 26 | ;2008 27 | full 28 | ARM 29 | false 30 | prompt 31 | true 32 | 33 | 34 | bin\ARM\Release\ 35 | TRACE;NETFX_CORE;WINDOWS_UWP 36 | true 37 | ;2008 38 | pdbonly 39 | ARM 40 | false 41 | prompt 42 | true 43 | true 44 | 45 | 46 | true 47 | bin\x64\Debug\ 48 | DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP 49 | ;2008 50 | full 51 | x64 52 | false 53 | prompt 54 | true 55 | 56 | 57 | bin\x64\Release\ 58 | TRACE;NETFX_CORE;WINDOWS_UWP 59 | true 60 | ;2008 61 | pdbonly 62 | x64 63 | false 64 | prompt 65 | true 66 | true 67 | 68 | 69 | true 70 | bin\x86\Debug\ 71 | DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP 72 | ;2008 73 | full 74 | x86 75 | false 76 | prompt 77 | true 78 | 79 | 80 | bin\x86\Release\ 81 | TRACE;NETFX_CORE;WINDOWS_UWP 82 | true 83 | ;2008 84 | pdbonly 85 | x86 86 | false 87 | prompt 88 | true 89 | true 90 | 91 | 92 | 93 | 94 | PreserveNewest 95 | 96 | 97 | 98 | 99 | 100 | App.xaml 101 | 102 | 103 | MainPage.xaml 104 | 105 | 106 | 107 | 108 | 109 | Designer 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | MSBuild:Compile 125 | Designer 126 | 127 | 128 | MSBuild:Compile 129 | Designer 130 | 131 | 132 | 133 | 134 | 135 | 136 | 14.0 137 | 138 | 139 | 146 | -------------------------------------------------------------------------------- /ComposeTestMessage/ComposeTextMessage/MainPage.xaml: -------------------------------------------------------------------------------- 1 |  9 | 10 | 11 | 12 | 13 |