Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

hubcontrol-getting-started blog post

  • Loading branch information...
commit 60daa81bbaf11eed580297f1ba9e8d7ae951441e 1 parent fb1e167
@mikoskinen authored
View
48 hubcontrol-getting-started/hubcontrol-getting-started.sln
@@ -0,0 +1,48 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Express 2013 for Windows
+VisualStudioVersion = 12.0.20617.1 PREVIEW
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "hubcontrol-getting-started", "hubcontrol-getting-started\hubcontrol-getting-started.csproj", "{77E0D604-01FA-4519-90EE-094B835A0B9C}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Debug|ARM = Debug|ARM
+ Debug|x64 = Debug|x64
+ Debug|x86 = Debug|x86
+ Release|Any CPU = Release|Any CPU
+ Release|ARM = Release|ARM
+ Release|x64 = Release|x64
+ Release|x86 = Release|x86
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {77E0D604-01FA-4519-90EE-094B835A0B9C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {77E0D604-01FA-4519-90EE-094B835A0B9C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {77E0D604-01FA-4519-90EE-094B835A0B9C}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
+ {77E0D604-01FA-4519-90EE-094B835A0B9C}.Debug|ARM.ActiveCfg = Debug|ARM
+ {77E0D604-01FA-4519-90EE-094B835A0B9C}.Debug|ARM.Build.0 = Debug|ARM
+ {77E0D604-01FA-4519-90EE-094B835A0B9C}.Debug|ARM.Deploy.0 = Debug|ARM
+ {77E0D604-01FA-4519-90EE-094B835A0B9C}.Debug|x64.ActiveCfg = Debug|x64
+ {77E0D604-01FA-4519-90EE-094B835A0B9C}.Debug|x64.Build.0 = Debug|x64
+ {77E0D604-01FA-4519-90EE-094B835A0B9C}.Debug|x64.Deploy.0 = Debug|x64
+ {77E0D604-01FA-4519-90EE-094B835A0B9C}.Debug|x86.ActiveCfg = Debug|x86
+ {77E0D604-01FA-4519-90EE-094B835A0B9C}.Debug|x86.Build.0 = Debug|x86
+ {77E0D604-01FA-4519-90EE-094B835A0B9C}.Debug|x86.Deploy.0 = Debug|x86
+ {77E0D604-01FA-4519-90EE-094B835A0B9C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {77E0D604-01FA-4519-90EE-094B835A0B9C}.Release|Any CPU.Build.0 = Release|Any CPU
+ {77E0D604-01FA-4519-90EE-094B835A0B9C}.Release|Any CPU.Deploy.0 = Release|Any CPU
+ {77E0D604-01FA-4519-90EE-094B835A0B9C}.Release|ARM.ActiveCfg = Release|ARM
+ {77E0D604-01FA-4519-90EE-094B835A0B9C}.Release|ARM.Build.0 = Release|ARM
+ {77E0D604-01FA-4519-90EE-094B835A0B9C}.Release|ARM.Deploy.0 = Release|ARM
+ {77E0D604-01FA-4519-90EE-094B835A0B9C}.Release|x64.ActiveCfg = Release|x64
+ {77E0D604-01FA-4519-90EE-094B835A0B9C}.Release|x64.Build.0 = Release|x64
+ {77E0D604-01FA-4519-90EE-094B835A0B9C}.Release|x64.Deploy.0 = Release|x64
+ {77E0D604-01FA-4519-90EE-094B835A0B9C}.Release|x86.ActiveCfg = Release|x86
+ {77E0D604-01FA-4519-90EE-094B835A0B9C}.Release|x86.Build.0 = Release|x86
+ {77E0D604-01FA-4519-90EE-094B835A0B9C}.Release|x86.Deploy.0 = Release|x86
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
View
48 hubcontrol-getting-started/hubcontrol-getting-started/App.xaml
@@ -0,0 +1,48 @@
+<Application
+ x:Class="hubcontrol_getting_started.App"
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:local="using:hubcontrol_getting_started">
+
+ <Application.Resources>
+
+ <LinearGradientBrush x:Key="BackgroundBrush"
+ EndPoint="2,2"
+ StartPoint="6,6"
+ SpreadMethod="Repeat"
+ MappingMode="Absolute" Opacity="0.26">
+ <GradientStop Color="Blue" Offset="0"/>
+ <GradientStop Color="#50C4FE" Offset="0.1"/>
+ </LinearGradientBrush>
+
+ <DataTemplate x:Key="Standard130ItemTemplate">
+ <Grid Height="110" Margin="6">
+ <Grid.ColumnDefinitions>
+ <ColumnDefinition Width="Auto"/>
+ <ColumnDefinition Width="*"/>
+ </Grid.ColumnDefinitions>
+ <Border Background="{StaticResource ListViewItemPlaceholderBackgroundThemeBrush}" Width="110" Height="110">
+ <Image Source="{Binding Image}" Stretch="UniformToFill" AutomationProperties.Name="{Binding Title}"/>
+ </Border>
+ <StackPanel Grid.Column="1" VerticalAlignment="Top" Margin="10,0,0,0">
+ <TextBlock Text="{Binding Title}" Style="{StaticResource TitleTextBlockStyle}" TextWrapping="NoWrap"/>
+ <TextBlock Text="{Binding Subtitle}" Style="{StaticResource CaptionTextBlockStyle}" TextWrapping="NoWrap"/>
+ <TextBlock Text="{Binding Description}" Style="{StaticResource BodyTextBlockStyle}" MaxHeight="60" TextWrapping="Wrap"/>
+ </StackPanel>
+ </Grid>
+ </DataTemplate>
+
+ <DataTemplate x:Key="Standard250x250ItemTemplate">
+ <Grid HorizontalAlignment="Left" Width="250" Height="250">
+ <Border Background="{StaticResource ListViewItemPlaceholderBackgroundThemeBrush}">
+ <Image Source="{Binding Image}" Stretch="UniformToFill" AutomationProperties.Name="{Binding Title}"/>
+ </Border>
+ <StackPanel VerticalAlignment="Bottom" Background="{StaticResource ListViewItemOverlayBackgroundThemeBrush}">
+ <TextBlock Text="{Binding Title}" Foreground="{StaticResource ListViewItemOverlayForegroundThemeBrush}" Style="{StaticResource TitleTextBlockStyle}" Height="60" Margin="15,0,15,0"/>
+ <TextBlock Text="{Binding Subtitle}" Foreground="{StaticResource ListViewItemOverlaySecondaryForegroundThemeBrush}" Style="{StaticResource CaptionTextBlockStyle}" TextWrapping="NoWrap" Margin="15,0,15,10"/>
+ </StackPanel>
+ </Grid>
+ </DataTemplate>
+
+ </Application.Resources>
+</Application>
View
98 hubcontrol-getting-started/hubcontrol-getting-started/App.xaml.cs
@@ -0,0 +1,98 @@
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Runtime.InteropServices.WindowsRuntime;
+using Windows.ApplicationModel;
+using Windows.ApplicationModel.Activation;
+using Windows.Foundation;
+using Windows.Foundation.Collections;
+using Windows.UI.Xaml;
+using Windows.UI.Xaml.Controls;
+using Windows.UI.Xaml.Controls.Primitives;
+using Windows.UI.Xaml.Data;
+using Windows.UI.Xaml.Input;
+using Windows.UI.Xaml.Media;
+using Windows.UI.Xaml.Navigation;
+
+// The Blank Application template is documented at http://go.microsoft.com/fwlink/?LinkId=234227
+
+namespace hubcontrol_getting_started
+{
+ /// <summary>
+ /// Provides application-specific behavior to supplement the default Application class.
+ /// </summary>
+ sealed partial class App : Application
+ {
+ /// <summary>
+ /// Initializes the singleton application object. This is the first line of authored code
+ /// executed, and as such is the logical equivalent of main() or WinMain().
+ /// </summary>
+ public App()
+ {
+ this.InitializeComponent();
+ this.Suspending += OnSuspending;
+ }
+
+ /// <summary>
+ /// Invoked when the application is launched normally by the end user. Other entry points
+ /// will be used such as when the application is launched to open a specific file.
+ /// </summary>
+ /// <param name="e">Details about the launch request and process.</param>
+ protected override void OnLaunched(LaunchActivatedEventArgs e)
+ {
+
+#if DEBUG
+ if (System.Diagnostics.Debugger.IsAttached)
+ {
+ //this.DebugSettings.EnableFrameRateCounter = true;
+ }
+#endif
+
+ Frame rootFrame = Window.Current.Content as Frame;
+
+ // Do not repeat app initialization when the Window already has content,
+ // just ensure that the window is active
+ if (rootFrame == null)
+ {
+ // Create a Frame to act as the navigation context and navigate to the first page
+ rootFrame = new Frame();
+
+ if (e.PreviousExecutionState == ApplicationExecutionState.Terminated)
+ {
+ //TODO: Load state from previously suspended application
+ }
+
+ // Place the frame in the current Window
+ Window.Current.Content = rootFrame;
+ }
+
+ if (rootFrame.Content == null)
+ {
+ // When the navigation stack isn't restored navigate to the first page,
+ // configuring the new page by passing required information as a navigation
+ // parameter
+ if (!rootFrame.Navigate(typeof(MainPage), e.Arguments))
+ {
+ throw new Exception("Failed to create initial page");
+ }
+ }
+ // Ensure the current window is active
+ Window.Current.Activate();
+ }
+
+ /// <summary>
+ /// Invoked when application execution is being suspended. Application state is saved
+ /// without knowing whether the application will be terminated or resumed with the contents
+ /// of memory still intact.
+ /// </summary>
+ /// <param name="sender">The source of the suspend request.</param>
+ /// <param name="e">Details about the suspend request.</param>
+ private void OnSuspending(object sender, SuspendingEventArgs e)
+ {
+ var deferral = e.SuspendingOperation.GetDeferral();
+ //TODO: Save application state and stop any background activity
+ deferral.Complete();
+ }
+ }
+}
View
BIN  hubcontrol-getting-started/hubcontrol-getting-started/Assets/Logo.scale-100.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  hubcontrol-getting-started/hubcontrol-getting-started/Assets/SmallLogo.scale-100.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  hubcontrol-getting-started/hubcontrol-getting-started/Assets/SplashScreen.scale-100.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  hubcontrol-getting-started/hubcontrol-getting-started/Assets/StoreLogo.scale-100.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  hubcontrol-getting-started/hubcontrol-getting-started/Assets/poster.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
75 hubcontrol-getting-started/hubcontrol-getting-started/MainPage.xaml
@@ -0,0 +1,75 @@
+<Page
+ x:Class="hubcontrol_getting_started.MainPage"
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:local="using:hubcontrol_getting_started"
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ mc:Ignorable="d">
+
+ <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
+ <SemanticZoom x:Name="Zoom">
+ <SemanticZoom.ZoomedInView>
+ <Hub x:Name="Hub" Header="The Movie App" Background="{StaticResource BackgroundBrush}" SectionHeaderClick="Hub_SectionHeaderClick">
+
+ <HubSection Width="500">
+ <HubSection.Background>
+ <ImageBrush ImageSource="/Assets/poster.jpg" Stretch="UniformToFill"/>
+ </HubSection.Background>
+ </HubSection>
+
+ <HubSection Header="Popular">
+ <DataTemplate>
+ <GridView Loaded="Popular_Loaded" SelectionMode="None" ItemTemplate="{StaticResource Standard250x250ItemTemplate}"/>
+ </DataTemplate>
+ </HubSection>
+
+
+ <HubSection Header="Near You" >
+ <DataTemplate>
+ <GridView Loaded="NearYou_Loaded" SelectionMode="None" ItemTemplate="{StaticResource Standard250x250ItemTemplate}"/>
+ </DataTemplate>
+ </HubSection>
+
+ <HubSection x:Name="TrailersSection" Header="Trailers" Width="550" IsHeaderInteractive="True" >
+ <DataTemplate>
+ <ListView Loaded="MovieTrailers_Loaded"
+ SelectionMode="None"
+ ItemTemplate="{StaticResource Standard130ItemTemplate}"/>
+ </DataTemplate>
+ </HubSection>
+ </Hub>
+ </SemanticZoom.ZoomedInView>
+
+ <SemanticZoom.ZoomedOutView>
+
+ <GridView VerticalAlignment="Center" Margin="200,0,0,0" Loaded="GridView_Loaded">
+ <GridView.ItemTemplate>
+ <DataTemplate>
+ <StackPanel >
+ <TextBlock HorizontalAlignment="Center" Text="{Binding}" Style="{StaticResource SubheaderTextBlockStyle}" />
+ </StackPanel>
+ </DataTemplate>
+ </GridView.ItemTemplate>
+
+ <GridView.ItemContainerStyle>
+ <Style TargetType="GridViewItem">
+ <Setter Property="Margin" Value="4" />
+ <Setter Property="Padding" Value="5" />
+ <Setter Property="HorizontalContentAlignment" Value="Left" />
+ <Setter Property="VerticalContentAlignment" Value="Center" />
+ </Style>
+ </GridView.ItemContainerStyle>
+
+ <GridView.ItemsPanel>
+ <ItemsPanelTemplate>
+ <WrapGrid ItemWidth="400" ItemHeight="70" Orientation="Horizontal" VerticalChildrenAlignment="Center" MaximumRowsOrColumns="3"></WrapGrid>
+ </ItemsPanelTemplate>
+ </GridView.ItemsPanel>
+ </GridView>
+
+ </SemanticZoom.ZoomedOutView>
+
+ </SemanticZoom>
+ </Grid>
+</Page>
View
112 hubcontrol-getting-started/hubcontrol-getting-started/MainPage.xaml.cs
@@ -0,0 +1,112 @@
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Runtime.InteropServices.WindowsRuntime;
+using Windows.Foundation;
+using Windows.Foundation.Collections;
+using Windows.UI.Xaml;
+using Windows.UI.Xaml.Controls;
+using Windows.UI.Xaml.Controls.Primitives;
+using Windows.UI.Xaml.Data;
+using Windows.UI.Xaml.Input;
+using Windows.UI.Xaml.Media;
+using Windows.UI.Xaml.Navigation;
+using System.Collections.ObjectModel;
+using Windows.UI.Popups;
+
+// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
+
+namespace hubcontrol_getting_started
+{
+ /// <summary>
+ /// An empty page that can be used on its own or navigated to within a Frame.
+ /// </summary>
+ public sealed partial class MainPage : Page
+ {
+ private ObservableCollection<Movie> trailers = new ObservableCollection<Movie>();
+ private ObservableCollection<Movie> nearyou = new ObservableCollection<Movie>();
+ private ObservableCollection<Movie> popular = new ObservableCollection<Movie>();
+
+ public MainPage()
+ {
+ this.InitializeComponent();
+ }
+
+ protected override void OnNavigatedTo(NavigationEventArgs e)
+ {
+ }
+
+ private void Popular_Loaded(object sender, RoutedEventArgs e)
+ {
+ popular.Add(new Movie { Image = "http://d3gtl9l2a4fn1j.cloudfront.net/t/p/original/qeUD7msuIMDm3VUxk48AQxdpdy0.jpg", Title = "This is the End", Subtitle = "Comedy", Description = "While attending a party at James Franco's house, Seth Rogen, Jay Baruchel and many other celebrities are faced with the apocalypse." });
+ popular.Add(new Movie { Image = "http://d3gtl9l2a4fn1j.cloudfront.net/t/p/original/gAt1PrsrFY1nX6UzebeiHP8njE9.jpg", Title = "World War Z", Subtitle = "Horror", Description = "A UN representative, writing a report on the great zombie war, interviews survivors in the wake of World War Z." });
+ popular.Add(new Movie { Image = "http://d3gtl9l2a4fn1j.cloudfront.net/t/p/original/xKeaR8RGXJKICgXRAD0bJS2cTYf.jpg", Title = "Monsters University", Subtitle = "Animation", Description = "A look at the relationship between Mike and Sulley during their days at Monsters University -- when they weren't necessarily the best of friends." });
+ popular.Add(new Movie { Image = "http://d3gtl9l2a4fn1j.cloudfront.net/t/p/original/6HQT7R0tiWGxi7CA1zb58j28OTM.jpg", Title = "Man of Steel", Subtitle = "Action", Description = "A young journalist raised by his adoptive parents after he was transported to Earth in infancy from the dying planet of Krypton finds himself in the position to save humankind after Earth is attacked." });
+
+ var listView = (GridView)sender;
+ listView.ItemsSource = popular;
+ }
+
+ private void MovieTrailers_Loaded(object sender, RoutedEventArgs e)
+ {
+ trailers.Add(new Movie { Image = "http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w185/6HQT7R0tiWGxi7CA1zb58j28OTM.jpg", Title = "Man of Steel", Subtitle = "Action", Description = "A young journalist raised by his adoptive parents after he was transported to Earth in infancy from the dying planet of Krypton finds himself in the position to save humankind after Earth is attacked." });
+ trailers.Add(new Movie { Image = "http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w185/gAt1PrsrFY1nX6UzebeiHP8njE9.jpg", Title = "World War Z", Subtitle = "Horror", Description = "A UN representative, writing a report on the great zombie war, interviews survivors in the wake of World War Z." });
+ trailers.Add(new Movie { Image = "http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w185/xKeaR8RGXJKICgXRAD0bJS2cTYf.jpg", Title = "Monsters University", Subtitle = "Animation", Description = "A look at the relationship between Mike and Sulley during their days at Monsters University -- when they weren't necessarily the best of friends." });
+ trailers.Add(new Movie { Image = "http://d3gtl9l2a4fn1j.cloudfront.net/t/p/w185/qeUD7msuIMDm3VUxk48AQxdpdy0.jpg", Title = "This is the End", Subtitle = "Comedy", Description = "While attending a party at James Franco's house, Seth Rogen, Jay Baruchel and many other celebrities are faced with the apocalypse." });
+
+ var listView = (ListView)sender;
+ listView.ItemsSource = trailers;
+ }
+
+ private void NearYou_Loaded(object sender, RoutedEventArgs e)
+ {
+ nearyou.Add(new Movie { Image = "http://d3gtl9l2a4fn1j.cloudfront.net/t/p/original/gAt1PrsrFY1nX6UzebeiHP8njE9.jpg", Title = "World War Z", Subtitle = "Horror", Description = "A UN representative, writing a report on the great zombie war, interviews survivors in the wake of World War Z." });
+ nearyou.Add(new Movie { Image = "http://d3gtl9l2a4fn1j.cloudfront.net/t/p/original/6HQT7R0tiWGxi7CA1zb58j28OTM.jpg", Title = "Man of Steel", Subtitle = "Action", Description = "A young journalist raised by his adoptive parents after he was transported to Earth in infancy from the dying planet of Krypton finds himself in the position to save humankind after Earth is attacked." });
+ nearyou.Add(new Movie { Image = "http://d3gtl9l2a4fn1j.cloudfront.net/t/p/original/xKeaR8RGXJKICgXRAD0bJS2cTYf.jpg", Title = "Monsters University", Subtitle = "Animation", Description = "A look at the relationship between Mike and Sulley during their days at Monsters University -- when they weren't necessarily the best of friends." });
+ nearyou.Add(new Movie { Image = "http://d3gtl9l2a4fn1j.cloudfront.net/t/p/original/qeUD7msuIMDm3VUxk48AQxdpdy0.jpg", Title = "This is the End", Subtitle = "Comedy", Description = "While attending a party at James Franco's house, Seth Rogen, Jay Baruchel and many other celebrities are faced with the apocalypse." });
+ nearyou.Add(new Movie { Image = "http://d3gtl9l2a4fn1j.cloudfront.net/t/p/original/6HQT7R0tiWGxi7CA1zb58j28OTM.jpg", Title = "Man of Steel", Subtitle = "Action", Description = "A young journalist raised by his adoptive parents after he was transported to Earth in infancy from the dying planet of Krypton finds himself in the position to save humankind after Earth is attacked." });
+ nearyou.Add(new Movie { Image = "http://d3gtl9l2a4fn1j.cloudfront.net/t/p/original/gAt1PrsrFY1nX6UzebeiHP8njE9.jpg", Title = "World War Z", Subtitle = "Horror", Description = "A UN representative, writing a report on the great zombie war, interviews survivors in the wake of World War Z." });
+
+ var gridView = (GridView)sender;
+ gridView.ItemsSource = nearyou;
+ }
+
+ private async void Hub_SectionHeaderClick(object sender, HubSectionHeaderClickEventArgs e)
+ {
+ var clickedSection = e.Section;
+ if (clickedSection.Name == "TrailersSection")
+ {
+ // Add navigation logic
+ var dialog = new MessageDialog("The navigation logic can be added in here.");
+ await dialog.ShowAsync();
+ }
+ }
+
+ private void GridView_Loaded(object sender, RoutedEventArgs e)
+ {
+ var sections = this.Hub.Sections;
+ var headers = new List<string>();
+
+ foreach(var item in sections)
+ {
+ var section = (HubSection)item;
+ var header = (string)section.Header;
+ if (string.IsNullOrWhiteSpace(header))
+ continue;
+
+ headers.Add(header);
+ }
+
+ ((GridView)this.Zoom.ZoomedOutView).ItemsSource = headers;
+ }
+ }
+
+ public class Movie
+ {
+ public string Image { get; set; }
+ public string Title { get; set; }
+ public string Subtitle { get; set; }
+ public string Description { get; set; }
+ }
+}
View
41 hubcontrol-getting-started/hubcontrol-getting-started/Package.appxmanifest
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Package xmlns="http://schemas.microsoft.com/appx/2010/manifest" xmlns:m2="http://schemas.microsoft.com/appx/2013/manifest">
+
+ <Identity Name="3150ab06-ea38-4431-8fb5-fa41d0c5e7be"
+ Publisher="CN=Mikael"
+ Version="1.0.0.0" />
+
+ <Properties>
+ <DisplayName>hubcontrol-getting-started</DisplayName>
+ <PublisherDisplayName>Mikael</PublisherDisplayName>
+ <Logo>Assets\StoreLogo.png</Logo>
+ </Properties>
+
+ <Prerequisites>
+ <OSMinVersion>6.3.0</OSMinVersion>
+ <OSMaxVersionTested>6.3.0</OSMaxVersionTested>
+ </Prerequisites>
+
+ <Resources>
+ <Resource Language="x-generate"/>
+ </Resources>
+
+ <Applications>
+ <Application Id="App"
+ Executable="$targetnametoken$.exe"
+ EntryPoint="hubcontrol_getting_started.App">
+ <m2:VisualElements
+ DisplayName="hubcontrol-getting-started"
+ Square150x150Logo="Assets\Logo.png"
+ Square30x30Logo="Assets\SmallLogo.png"
+ Description="hubcontrol-getting-started"
+ ForegroundText="light"
+ BackgroundColor="#464646">
+ <m2:SplashScreen Image="Assets\SplashScreen.png" />
+ </m2:VisualElements>
+ </Application>
+ </Applications>
+ <Capabilities>
+ <Capability Name="internetClient" />
+ </Capabilities>
+</Package>
View
29 hubcontrol-getting-started/hubcontrol-getting-started/Properties/AssemblyInfo.cs
@@ -0,0 +1,29 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("hubcontrol-getting-started")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("hubcontrol-getting-started")]
+[assembly: AssemblyCopyright("Copyright © 2013")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
+[assembly: ComVisible(false)]
View
150 hubcontrol-getting-started/hubcontrol-getting-started/hubcontrol-getting-started.csproj
@@ -0,0 +1,150 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProjectGuid>{77E0D604-01FA-4519-90EE-094B835A0B9C}</ProjectGuid>
+ <OutputType>AppContainerExe</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>hubcontrol_getting_started</RootNamespace>
+ <AssemblyName>hubcontrol-getting-started</AssemblyName>
+ <DefaultLanguage>en-US</DefaultLanguage>
+ <TargetPlatformVersion>8.1</TargetPlatformVersion>
+ <MinimumVisualStudioVersion>12</MinimumVisualStudioVersion>
+ <FileAlignment>512</FileAlignment>
+ <ProjectTypeGuids>{BC8A1FFA-BEE3-4634-8014-F334798102B3};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+ <PackageCertificateKeyFile>hubcontrol-getting-started_TemporaryKey.pfx</PackageCertificateKeyFile>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <PlatformTarget>AnyCPU</PlatformTarget>
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE;NETFX_CORE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <PlatformTarget>AnyCPU</PlatformTarget>
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release\</OutputPath>
+ <DefineConstants>TRACE;NETFX_CORE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">
+ <DebugSymbols>true</DebugSymbols>
+ <OutputPath>bin\ARM\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE;NETFX_CORE</DefineConstants>
+ <NoWarn>;2008</NoWarn>
+ <DebugType>full</DebugType>
+ <PlatformTarget>ARM</PlatformTarget>
+ <UseVSHostingProcess>false</UseVSHostingProcess>
+ <ErrorReport>prompt</ErrorReport>
+ <Prefer32Bit>true</Prefer32Bit>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'">
+ <OutputPath>bin\ARM\Release\</OutputPath>
+ <DefineConstants>TRACE;NETFX_CORE</DefineConstants>
+ <Optimize>true</Optimize>
+ <NoWarn>;2008</NoWarn>
+ <DebugType>pdbonly</DebugType>
+ <PlatformTarget>ARM</PlatformTarget>
+ <UseVSHostingProcess>false</UseVSHostingProcess>
+ <ErrorReport>prompt</ErrorReport>
+ <Prefer32Bit>true</Prefer32Bit>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
+ <DebugSymbols>true</DebugSymbols>
+ <OutputPath>bin\x64\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE;NETFX_CORE</DefineConstants>
+ <NoWarn>;2008</NoWarn>
+ <DebugType>full</DebugType>
+ <PlatformTarget>x64</PlatformTarget>
+ <UseVSHostingProcess>false</UseVSHostingProcess>
+ <ErrorReport>prompt</ErrorReport>
+ <Prefer32Bit>true</Prefer32Bit>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
+ <OutputPath>bin\x64\Release\</OutputPath>
+ <DefineConstants>TRACE;NETFX_CORE</DefineConstants>
+ <Optimize>true</Optimize>
+ <NoWarn>;2008</NoWarn>
+ <DebugType>pdbonly</DebugType>
+ <PlatformTarget>x64</PlatformTarget>
+ <UseVSHostingProcess>false</UseVSHostingProcess>
+ <ErrorReport>prompt</ErrorReport>
+ <Prefer32Bit>true</Prefer32Bit>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
+ <DebugSymbols>true</DebugSymbols>
+ <OutputPath>bin\x86\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE;NETFX_CORE</DefineConstants>
+ <NoWarn>;2008</NoWarn>
+ <DebugType>full</DebugType>
+ <PlatformTarget>x86</PlatformTarget>
+ <UseVSHostingProcess>false</UseVSHostingProcess>
+ <ErrorReport>prompt</ErrorReport>
+ <Prefer32Bit>true</Prefer32Bit>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
+ <OutputPath>bin\x86\Release\</OutputPath>
+ <DefineConstants>TRACE;NETFX_CORE</DefineConstants>
+ <Optimize>true</Optimize>
+ <NoWarn>;2008</NoWarn>
+ <DebugType>pdbonly</DebugType>
+ <PlatformTarget>x86</PlatformTarget>
+ <UseVSHostingProcess>false</UseVSHostingProcess>
+ <ErrorReport>prompt</ErrorReport>
+ <Prefer32Bit>true</Prefer32Bit>
+ </PropertyGroup>
+ <ItemGroup>
+ <!-- A reference to the entire .Net Framework and Windows SDK are automatically included -->
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="App.xaml.cs">
+ <DependentUpon>App.xaml</DependentUpon>
+ </Compile>
+ <Compile Include="MainPage.xaml.cs">
+ <DependentUpon>MainPage.xaml</DependentUpon>
+ </Compile>
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <AppxManifest Include="Package.appxmanifest">
+ <SubType>Designer</SubType>
+ </AppxManifest>
+ <None Include="hubcontrol-getting-started_TemporaryKey.pfx" />
+ </ItemGroup>
+ <ItemGroup>
+ <Content Include="Assets\Logo.scale-100.png" />
+ <Content Include="Assets\poster.jpg" />
+ <Content Include="Assets\SmallLogo.scale-100.png" />
+ <Content Include="Assets\SplashScreen.scale-100.png" />
+ <Content Include="Assets\StoreLogo.scale-100.png" />
+ </ItemGroup>
+ <ItemGroup>
+ <ApplicationDefinition Include="App.xaml">
+ <Generator>MSBuild:Compile</Generator>
+ <SubType>Designer</SubType>
+ </ApplicationDefinition>
+ <Page Include="MainPage.xaml">
+ <Generator>MSBuild:Compile</Generator>
+ <SubType>Designer</SubType>
+ </Page>
+ </ItemGroup>
+ <PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '12.0' ">
+ <VisualStudioVersion>12.0</VisualStudioVersion>
+ </PropertyGroup>
+ <Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+</Project>
View
BIN  hubcontrol-getting-started/hubcontrol-getting-started/hubcontrol-getting-started_TemporaryKey.pfx
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.