James Montemagno 9 жил өмнө
parent
commit
a2edc9be58
26 өөрчлөгдсөн 150 нэмэгдсэн , 137 устгасан
  1. 1 0
      .gitignore
  2. 4 3
      HandsOnLab/Finish/DevDaysSpeakers/DevDaysSpeakers.Droid/DevDaysSpeakers.Droid.csproj
  3. 58 106
      HandsOnLab/Finish/DevDaysSpeakers/DevDaysSpeakers.Droid/Resources/Resource.Designer.cs
  4. 5 1
      HandsOnLab/Finish/DevDaysSpeakers/DevDaysSpeakers.Droid/app.config
  5. 1 1
      HandsOnLab/Finish/DevDaysSpeakers/DevDaysSpeakers.Droid/packages.config
  6. 4 3
      HandsOnLab/Finish/DevDaysSpeakers/DevDaysSpeakers.iOS/DevDaysSpeakers.iOS.csproj
  7. 5 1
      HandsOnLab/Finish/DevDaysSpeakers/DevDaysSpeakers.iOS/app.config
  8. 1 1
      HandsOnLab/Finish/DevDaysSpeakers/DevDaysSpeakers.iOS/packages.config
  9. 7 5
      HandsOnLab/Finish/DevDaysSpeakers/DevDaysSpeakers/App.cs
  10. 4 3
      HandsOnLab/Finish/DevDaysSpeakers/DevDaysSpeakers/DevDaysSpeakers.csproj
  11. 2 2
      HandsOnLab/Finish/DevDaysSpeakers/DevDaysSpeakers/View/SpeakersPage.xaml.cs
  12. 2 3
      HandsOnLab/Finish/DevDaysSpeakers/DevDaysSpeakers/ViewModel/SpeakersViewModel.cs
  13. 5 1
      HandsOnLab/Finish/DevDaysSpeakers/DevDaysSpeakers/app.config
  14. 1 1
      HandsOnLab/Finish/DevDaysSpeakers/DevDaysSpeakers/packages.config
  15. 4 0
      HandsOnLab/Start/DevDaysSpeakers/DevDaysSpeakers.Droid/DevDaysSpeakers.Droid.csproj
  16. 5 1
      HandsOnLab/Start/DevDaysSpeakers/DevDaysSpeakers.Droid/app.config
  17. 1 0
      HandsOnLab/Start/DevDaysSpeakers/DevDaysSpeakers.Droid/packages.config
  18. 4 0
      HandsOnLab/Start/DevDaysSpeakers/DevDaysSpeakers.iOS/DevDaysSpeakers.iOS.csproj
  19. 5 1
      HandsOnLab/Start/DevDaysSpeakers/DevDaysSpeakers.iOS/app.config
  20. 1 0
      HandsOnLab/Start/DevDaysSpeakers/DevDaysSpeakers.iOS/packages.config
  21. 6 0
      HandsOnLab/Start/DevDaysSpeakers/DevDaysSpeakers/App.cs
  22. 2 2
      HandsOnLab/Start/DevDaysSpeakers/DevDaysSpeakers/DevDaysSpeakers.csproj
  23. 2 0
      HandsOnLab/Start/DevDaysSpeakers/DevDaysSpeakers/View/SpeakersPage.xaml.cs
  24. 10 0
      HandsOnLab/Start/DevDaysSpeakers/DevDaysSpeakers/ViewModel/SpeakersViewModel.cs
  25. 9 1
      HandsOnLab/Start/DevDaysSpeakers/DevDaysSpeakers/app.config
  26. 1 1
      HandsOnLab/Start/DevDaysSpeakers/DevDaysSpeakers/packages.config

+ 1 - 0
.gitignore

@@ -12,6 +12,7 @@ TestResults
 *.suo
 *.user
 *.sln.docstates
+.vs/
 
 # Build results
 [Dd]ebug/

+ 4 - 3
HandsOnLab/Finish/DevDaysSpeakers/DevDaysSpeakers.Droid/DevDaysSpeakers.Droid.csproj

@@ -48,6 +48,10 @@
     <AndroidLinkMode>SdkOnly</AndroidLinkMode>
   </PropertyGroup>
   <ItemGroup>
+    <Reference Include="Azure.Mobile, Version=1.0.6036.40637, Culture=neutral, processorArchitecture=MSIL">
+      <HintPath>..\..\packages\AppService.Helpers.1.0.4\lib\Azure.Mobile.dll</HintPath>
+      <Private>True</Private>
+    </Reference>
     <Reference Include="FormsViewGroup, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
       <HintPath>..\..\packages\Xamarin.Forms.2.3.0.107\lib\MonoAndroid10\FormsViewGroup.dll</HintPath>
       <Private>True</Private>
@@ -148,9 +152,6 @@
       <HintPath>..\..\packages\Xamarin.Forms.2.3.0.107\lib\MonoAndroid10\Xamarin.Forms.Xaml.dll</HintPath>
       <Private>True</Private>
     </Reference>
-    <Reference Include="Azure.Mobile">
-      <HintPath>..\..\packages\AppService.Helpers.1.0.3\lib\Azure.Mobile.dll</HintPath>
-    </Reference>
   </ItemGroup>
   <ItemGroup>
     <Compile Include="MainActivity.cs" />

+ 58 - 106
HandsOnLab/Finish/DevDaysSpeakers/DevDaysSpeakers.Droid/Resources/Resource.Designer.cs

@@ -1,15 +1,15 @@
 #pragma warning disable 1591
-// ------------------------------------------------------------------------------
-//  <autogenerated>
-//      This code was generated by a tool.
-//      Mono Runtime Version: 4.0.30319.42000
-// 
-//      Changes to this file may cause incorrect behavior and will be lost if 
-//      the code is regenerated.
-//  </autogenerated>
-// ------------------------------------------------------------------------------
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
 
-[assembly: Android.Runtime.ResourceDesignerAttribute("DevDaysSpeakers.Droid.Resource", IsApplication=true)]
+[assembly: global::Android.Runtime.ResourceDesignerAttribute("DevDaysSpeakers.Droid.Resource", IsApplication=true)]
 
 namespace DevDaysSpeakers.Droid
 {
@@ -4204,8 +4204,7 @@ namespace DevDaysSpeakers.Droid
 		public partial class Styleable
 		{
 			
-			public static int[] ActionBar = new int[]
-			{
+			public static int[] ActionBar = new int[] {
 					2130772007,
 					2130772009,
 					2130772010,
@@ -4315,15 +4314,13 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 5
 			public const int ActionBar_titleTextStyle = 5;
 			
-			public static int[] ActionBarLayout = new int[]
-			{
+			public static int[] ActionBarLayout = new int[] {
 					16842931};
 			
 			// aapt resource value: 0
 			public const int ActionBarLayout_android_layout_gravity = 0;
 			
-			public static int[] ActionMenuItemView = new int[]
-			{
+			public static int[] ActionMenuItemView = new int[] {
 					16843071};
 			
 			// aapt resource value: 0
@@ -4331,8 +4328,7 @@ namespace DevDaysSpeakers.Droid
 			
 			public static int[] ActionMenuView;
 			
-			public static int[] ActionMode = new int[]
-			{
+			public static int[] ActionMode = new int[] {
 					2130772007,
 					2130772013,
 					2130772014,
@@ -4358,8 +4354,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 1
 			public const int ActionMode_titleTextStyle = 1;
 			
-			public static int[] ActivityChooserView = new int[]
-			{
+			public static int[] ActivityChooserView = new int[] {
 					2130772035,
 					2130772036};
 			
@@ -4369,8 +4364,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 0
 			public const int ActivityChooserView_initialActivityCount = 0;
 			
-			public static int[] AlertDialog = new int[]
-			{
+			public static int[] AlertDialog = new int[] {
 					16842994,
 					2130772037,
 					2130772038,
@@ -4396,8 +4390,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 4
 			public const int AlertDialog_singleChoiceItemLayout = 4;
 			
-			public static int[] AppBarLayout = new int[]
-			{
+			public static int[] AppBarLayout = new int[] {
 					16842964,
 					2130772032,
 					2130772215};
@@ -4411,8 +4404,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 2
 			public const int AppBarLayout_expanded = 2;
 			
-			public static int[] AppBarLayout_LayoutParams = new int[]
-			{
+			public static int[] AppBarLayout_LayoutParams = new int[] {
 					2130772216,
 					2130772217};
 			
@@ -4422,8 +4414,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 1
 			public const int AppBarLayout_LayoutParams_layout_scrollInterpolator = 1;
 			
-			public static int[] AppCompatImageView = new int[]
-			{
+			public static int[] AppCompatImageView = new int[] {
 					16843033,
 					2130772042};
 			
@@ -4433,8 +4424,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 1
 			public const int AppCompatImageView_srcCompat = 1;
 			
-			public static int[] AppCompatTextView = new int[]
-			{
+			public static int[] AppCompatTextView = new int[] {
 					16842804,
 					2130772043};
 			
@@ -4444,8 +4434,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 1
 			public const int AppCompatTextView_textAllCaps = 1;
 			
-			public static int[] AppCompatTheme = new int[]
-			{
+			public static int[] AppCompatTheme = new int[] {
 					16842839,
 					16842926,
 					2130772044,
@@ -4895,8 +4884,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 3
 			public const int AppCompatTheme_windowNoTitle = 3;
 			
-			public static int[] BottomSheetBehavior_Params = new int[]
-			{
+			public static int[] BottomSheetBehavior_Params = new int[] {
 					2130772218,
 					2130772219};
 			
@@ -4906,15 +4894,13 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 0
 			public const int BottomSheetBehavior_Params_behavior_peekHeight = 0;
 			
-			public static int[] ButtonBarLayout = new int[]
-			{
+			public static int[] ButtonBarLayout = new int[] {
 					2130772154};
 			
 			// aapt resource value: 0
 			public const int ButtonBarLayout_allowStacking = 0;
 			
-			public static int[] CardView = new int[]
-			{
+			public static int[] CardView = new int[] {
 					16843071,
 					16843072,
 					2130771995,
@@ -4968,8 +4954,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 11
 			public const int CardView_contentPaddingTop = 11;
 			
-			public static int[] CollapsingAppBarLayout_LayoutParams = new int[]
-			{
+			public static int[] CollapsingAppBarLayout_LayoutParams = new int[] {
 					2130772220,
 					2130772221};
 			
@@ -4979,8 +4964,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 1
 			public const int CollapsingAppBarLayout_LayoutParams_layout_collapseParallaxMultiplier = 1;
 			
-			public static int[] CollapsingToolbarLayout = new int[]
-			{
+			public static int[] CollapsingToolbarLayout = new int[] {
 					2130772009,
 					2130772222,
 					2130772223,
@@ -5038,8 +5022,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 10
 			public const int CollapsingToolbarLayout_toolbarId = 10;
 			
-			public static int[] CompoundButton = new int[]
-			{
+			public static int[] CompoundButton = new int[] {
 					16843015,
 					2130772155,
 					2130772156};
@@ -5053,8 +5036,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 2
 			public const int CompoundButton_buttonTintMode = 2;
 			
-			public static int[] CoordinatorLayout = new int[]
-			{
+			public static int[] CoordinatorLayout = new int[] {
 					2130772235,
 					2130772236};
 			
@@ -5064,8 +5046,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 1
 			public const int CoordinatorLayout_statusBarBackground = 1;
 			
-			public static int[] CoordinatorLayout_LayoutParams = new int[]
-			{
+			public static int[] CoordinatorLayout_LayoutParams = new int[] {
 					16842931,
 					2130772237,
 					2130772238,
@@ -5087,8 +5068,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 3
 			public const int CoordinatorLayout_LayoutParams_layout_keyline = 3;
 			
-			public static int[] DesignTheme = new int[]
-			{
+			public static int[] DesignTheme = new int[] {
 					2130772241,
 					2130772242,
 					2130772243};
@@ -5102,8 +5082,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 2
 			public const int DesignTheme_textColorError = 2;
 			
-			public static int[] DrawerArrowToggle = new int[]
-			{
+			public static int[] DrawerArrowToggle = new int[] {
 					2130772157,
 					2130772158,
 					2130772159,
@@ -5137,8 +5116,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 7
 			public const int DrawerArrowToggle_thickness = 7;
 			
-			public static int[] FloatingActionButton = new int[]
-			{
+			public static int[] FloatingActionButton = new int[] {
 					2130772032,
 					2130772213,
 					2130772214,
@@ -5172,8 +5150,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 7
 			public const int FloatingActionButton_useCompatPadding = 7;
 			
-			public static int[] ForegroundLinearLayout = new int[]
-			{
+			public static int[] ForegroundLinearLayout = new int[] {
 					16843017,
 					16843264,
 					2130772249};
@@ -5187,8 +5164,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 2
 			public const int ForegroundLinearLayout_foregroundInsidePadding = 2;
 			
-			public static int[] LinearLayoutCompat = new int[]
-			{
+			public static int[] LinearLayoutCompat = new int[] {
 					16842927,
 					16842948,
 					16843046,
@@ -5226,8 +5202,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 7
 			public const int LinearLayoutCompat_showDividers = 7;
 			
-			public static int[] LinearLayoutCompat_Layout = new int[]
-			{
+			public static int[] LinearLayoutCompat_Layout = new int[] {
 					16842931,
 					16842996,
 					16842997,
@@ -5245,8 +5220,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 1
 			public const int LinearLayoutCompat_Layout_android_layout_width = 1;
 			
-			public static int[] ListPopupWindow = new int[]
-			{
+			public static int[] ListPopupWindow = new int[] {
 					16843436,
 					16843437};
 			
@@ -5256,8 +5230,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 1
 			public const int ListPopupWindow_android_dropDownVerticalOffset = 1;
 			
-			public static int[] MediaRouteButton = new int[]
-			{
+			public static int[] MediaRouteButton = new int[] {
 					16843071,
 					16843072,
 					2130771994};
@@ -5271,8 +5244,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 2
 			public const int MediaRouteButton_externalRouteEnabledDrawable = 2;
 			
-			public static int[] MenuGroup = new int[]
-			{
+			public static int[] MenuGroup = new int[] {
 					16842766,
 					16842960,
 					16843156,
@@ -5298,8 +5270,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 2
 			public const int MenuGroup_android_visible = 2;
 			
-			public static int[] MenuItem = new int[]
-			{
+			public static int[] MenuItem = new int[] {
 					16842754,
 					16842766,
 					16842960,
@@ -5369,8 +5340,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 13
 			public const int MenuItem_showAsAction = 13;
 			
-			public static int[] MenuView = new int[]
-			{
+			public static int[] MenuView = new int[] {
 					16842926,
 					16843052,
 					16843053,
@@ -5404,8 +5374,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 7
 			public const int MenuView_preserveIconSpacing = 7;
 			
-			public static int[] NavigationView = new int[]
-			{
+			public static int[] NavigationView = new int[] {
 					16842964,
 					16842973,
 					16843039,
@@ -5447,8 +5416,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 4
 			public const int NavigationView_menu = 4;
 			
-			public static int[] PopupWindow = new int[]
-			{
+			public static int[] PopupWindow = new int[] {
 					16843126,
 					2130772173};
 			
@@ -5458,15 +5426,13 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 1
 			public const int PopupWindow_overlapAnchor = 1;
 			
-			public static int[] PopupWindowBackgroundState = new int[]
-			{
+			public static int[] PopupWindowBackgroundState = new int[] {
 					2130772174};
 			
 			// aapt resource value: 0
 			public const int PopupWindowBackgroundState_state_above_anchor = 0;
 			
-			public static int[] RecyclerView = new int[]
-			{
+			public static int[] RecyclerView = new int[] {
 					16842948,
 					2130771968,
 					2130771969,
@@ -5488,22 +5454,19 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 4
 			public const int RecyclerView_stackFromEnd = 4;
 			
-			public static int[] ScrimInsetsFrameLayout = new int[]
-			{
+			public static int[] ScrimInsetsFrameLayout = new int[] {
 					2130772256};
 			
 			// aapt resource value: 0
 			public const int ScrimInsetsFrameLayout_insetForeground = 0;
 			
-			public static int[] ScrollingViewBehavior_Params = new int[]
-			{
+			public static int[] ScrollingViewBehavior_Params = new int[] {
 					2130772257};
 			
 			// aapt resource value: 0
 			public const int ScrollingViewBehavior_Params_behavior_overlapTop = 0;
 			
-			public static int[] SearchView = new int[]
-			{
+			public static int[] SearchView = new int[] {
 					16842970,
 					16843039,
 					16843296,
@@ -5573,8 +5536,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 12
 			public const int SearchView_voiceIcon = 12;
 			
-			public static int[] SnackbarLayout = new int[]
-			{
+			public static int[] SnackbarLayout = new int[] {
 					16843039,
 					2130772032,
 					2130772258};
@@ -5588,8 +5550,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 2
 			public const int SnackbarLayout_maxActionInlineWidth = 2;
 			
-			public static int[] Spinner = new int[]
-			{
+			public static int[] Spinner = new int[] {
 					16842930,
 					16843126,
 					16843131,
@@ -5611,8 +5572,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 4
 			public const int Spinner_popupTheme = 4;
 			
-			public static int[] SwitchCompat = new int[]
-			{
+			public static int[] SwitchCompat = new int[] {
 					16843044,
 					16843045,
 					16843074,
@@ -5654,8 +5614,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 3
 			public const int SwitchCompat_track = 3;
 			
-			public static int[] TabItem = new int[]
-			{
+			public static int[] TabItem = new int[] {
 					16842754,
 					16842994,
 					16843087};
@@ -5669,8 +5628,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 2
 			public const int TabItem_android_text = 2;
 			
-			public static int[] TabLayout = new int[]
-			{
+			public static int[] TabLayout = new int[] {
 					2130772259,
 					2130772260,
 					2130772261,
@@ -5736,8 +5694,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 9
 			public const int TabLayout_tabTextColor = 9;
 			
-			public static int[] TextAppearance = new int[]
-			{
+			public static int[] TextAppearance = new int[] {
 					16842901,
 					16842902,
 					16842903,
@@ -5775,8 +5732,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 8
 			public const int TextAppearance_textAllCaps = 8;
 			
-			public static int[] TextInputLayout = new int[]
-			{
+			public static int[] TextInputLayout = new int[] {
 					16842906,
 					16843088,
 					2130772275,
@@ -5822,8 +5778,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 2
 			public const int TextInputLayout_hintTextAppearance = 2;
 			
-			public static int[] Toolbar = new int[]
-			{
+			public static int[] Toolbar = new int[] {
 					16842927,
 					16843072,
 					2130772009,
@@ -5925,8 +5880,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 23
 			public const int Toolbar_titleTextColor = 23;
 			
-			public static int[] View = new int[]
-			{
+			public static int[] View = new int[] {
 					16842752,
 					16842970,
 					2130772210,
@@ -5948,8 +5902,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 4
 			public const int View_theme = 4;
 			
-			public static int[] ViewBackgroundHelper = new int[]
-			{
+			public static int[] ViewBackgroundHelper = new int[] {
 					16842964,
 					2130772213,
 					2130772214};
@@ -5963,8 +5916,7 @@ namespace DevDaysSpeakers.Droid
 			// aapt resource value: 2
 			public const int ViewBackgroundHelper_backgroundTintMode = 2;
 			
-			public static int[] ViewStubCompat = new int[]
-			{
+			public static int[] ViewStubCompat = new int[] {
 					16842960,
 					16842994,
 					16842995};

+ 5 - 1
HandsOnLab/Finish/DevDaysSpeakers/DevDaysSpeakers.Droid/app.config

@@ -8,12 +8,16 @@
       </dependentAssembly>
       <dependentAssembly>
         <assemblyIdentity name="Microsoft.WindowsAzure.Mobile" publicKeyToken="31bf3856ad364e35" culture="neutral" />
-        <bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
+        <bindingRedirect oldVersion="0.0.0.0-2.1.0.0" newVersion="2.1.0.0" />
       </dependentAssembly>
       <dependentAssembly>
         <assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
         <bindingRedirect oldVersion="0.0.0.0-1.5.0.0" newVersion="1.5.0.0" />
       </dependentAssembly>
+      <dependentAssembly>
+        <assemblyIdentity name="Microsoft.WindowsAzure.Mobile.SQLiteStore" publicKeyToken="31bf3856ad364e35" culture="neutral" />
+        <bindingRedirect oldVersion="0.0.0.0-2.1.0.0" newVersion="2.1.0.0" />
+      </dependentAssembly>
     </assemblyBinding>
   </runtime>
 </configuration>

+ 1 - 1
HandsOnLab/Finish/DevDaysSpeakers/DevDaysSpeakers.Droid/packages.config

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <packages>
-  <package id="AppService.Helpers" version="1.0.3" targetFramework="MonoAndroid60" />
+  <package id="AppService.Helpers" version="1.0.4" targetFramework="monoandroid60" />
   <package id="Microsoft.Azure.Mobile.Client" version="2.1.0" targetFramework="monoandroid60" />
   <package id="Microsoft.Azure.Mobile.Client.SQLiteStore" version="2.1.0" targetFramework="monoandroid60" />
   <package id="Microsoft.Bcl" version="1.1.10" targetFramework="monoandroid60" />

+ 4 - 3
HandsOnLab/Finish/DevDaysSpeakers/DevDaysSpeakers.iOS/DevDaysSpeakers.iOS.csproj

@@ -117,6 +117,10 @@
     <InterfaceDefinition Include="Resources\LaunchScreen.storyboard" />
   </ItemGroup>
   <ItemGroup>
+    <Reference Include="Azure.Mobile, Version=1.0.6036.40637, Culture=neutral, processorArchitecture=MSIL">
+      <HintPath>..\..\packages\AppService.Helpers.1.0.4\lib\Azure.Mobile.dll</HintPath>
+      <Private>True</Private>
+    </Reference>
     <Reference Include="Microsoft.WindowsAzure.Mobile, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
       <HintPath>..\..\packages\Microsoft.Azure.Mobile.Client.2.1.0\lib\Xamarin.iOS10\Microsoft.WindowsAzure.Mobile.dll</HintPath>
       <Private>True</Private>
@@ -177,9 +181,6 @@
       <Private>True</Private>
     </Reference>
     <Reference Include="Xamarin.iOS" />
-    <Reference Include="Azure.Mobile">
-      <HintPath>..\..\packages\AppService.Helpers.1.0.3\lib\Azure.Mobile.dll</HintPath>
-    </Reference>
   </ItemGroup>
   <ItemGroup>
     <ProjectReference Include="..\DevDaysSpeakers\DevDaysSpeakers.csproj">

+ 5 - 1
HandsOnLab/Finish/DevDaysSpeakers/DevDaysSpeakers.iOS/app.config

@@ -8,12 +8,16 @@
       </dependentAssembly>
       <dependentAssembly>
         <assemblyIdentity name="Microsoft.WindowsAzure.Mobile" publicKeyToken="31bf3856ad364e35" culture="neutral" />
-        <bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
+        <bindingRedirect oldVersion="0.0.0.0-2.1.0.0" newVersion="2.1.0.0" />
       </dependentAssembly>
       <dependentAssembly>
         <assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
         <bindingRedirect oldVersion="0.0.0.0-1.5.0.0" newVersion="1.5.0.0" />
       </dependentAssembly>
+      <dependentAssembly>
+        <assemblyIdentity name="Microsoft.WindowsAzure.Mobile.SQLiteStore" publicKeyToken="31bf3856ad364e35" culture="neutral" />
+        <bindingRedirect oldVersion="0.0.0.0-2.1.0.0" newVersion="2.1.0.0" />
+      </dependentAssembly>
     </assemblyBinding>
   </runtime>
 </configuration>

+ 1 - 1
HandsOnLab/Finish/DevDaysSpeakers/DevDaysSpeakers.iOS/packages.config

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <packages>
-  <package id="AppService.Helpers" version="1.0.3" targetFramework="xamarinios10" />
+  <package id="AppService.Helpers" version="1.0.4" targetFramework="xamarinios10" />
   <package id="Microsoft.Azure.Mobile.Client" version="2.1.0" targetFramework="xamarinios10" />
   <package id="Microsoft.Azure.Mobile.Client.SQLiteStore" version="2.1.0" targetFramework="xamarinios10" />
   <package id="Microsoft.Bcl" version="1.1.10" targetFramework="xamarinios10" />

+ 7 - 5
HandsOnLab/Finish/DevDaysSpeakers/DevDaysSpeakers/App.cs

@@ -6,20 +6,22 @@ using System.Linq;
 using System.Text;
 
 using Xamarin.Forms;
+using AppServiceHelpers.Abstractions;
 
 namespace DevDaysSpeakers
 {
     public class App : Application
     {
+        public static IEasyMobileServiceClient AzureClient { get; set; }
         public App()
         {
-            var client = EasyMobileServiceClient.Create();
-            client.Initialize("https://montemagnospeakers.azurewebsites.net");
-            client.RegisterTable<Model.Speaker>();
-            client.FinalizeSchema();
+            AzureClient = EasyMobileServiceClient.Create();
+            AzureClient.Initialize("https://montemagnospeakers.azurewebsites.net");
+            AzureClient.RegisterTable<Model.Speaker>();
+            AzureClient.FinalizeSchema();
 
             // The root page of your application
-            var content = new SpeakersPage(client);
+            var content = new SpeakersPage();
 
             MainPage = new NavigationPage(content);
         }

+ 4 - 3
HandsOnLab/Finish/DevDaysSpeakers/DevDaysSpeakers/DevDaysSpeakers.csproj

@@ -47,6 +47,10 @@
     </Compile>
   </ItemGroup>
   <ItemGroup>
+    <Reference Include="Azure.Mobile, Version=1.0.6036.40637, Culture=neutral, processorArchitecture=MSIL">
+      <HintPath>..\..\packages\AppService.Helpers.1.0.4\lib\Azure.Mobile.dll</HintPath>
+      <Private>True</Private>
+    </Reference>
     <Reference Include="Microsoft.WindowsAzure.Mobile, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
       <HintPath>..\..\packages\Microsoft.Azure.Mobile.Client.2.1.0\lib\portable-win+net45+wp8+wpa81+monotouch+monoandroid\Microsoft.WindowsAzure.Mobile.dll</HintPath>
       <Private>True</Private>
@@ -95,9 +99,6 @@
       <HintPath>..\..\packages\Xamarin.Forms.2.3.0.107\lib\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.Xaml.dll</HintPath>
       <Private>True</Private>
     </Reference>
-    <Reference Include="Azure.Mobile">
-      <HintPath>..\..\packages\AppService.Helpers.1.0.3\lib\Azure.Mobile.dll</HintPath>
-    </Reference>
   </ItemGroup>
   <ItemGroup>
     <None Include="app.config" />

+ 2 - 2
HandsOnLab/Finish/DevDaysSpeakers/DevDaysSpeakers/View/SpeakersPage.xaml.cs

@@ -16,11 +16,11 @@ namespace DevDaysSpeakers.View
     public partial class SpeakersPage : ContentPage
     {
         SpeakersViewModel vm;
-        public SpeakersPage(IEasyMobileServiceClient client)
+        public SpeakersPage()
         {
             InitializeComponent();
 
-            vm = new SpeakersViewModel(client);
+            vm = new SpeakersViewModel();
 
             BindingContext = vm;
             

+ 2 - 3
HandsOnLab/Finish/DevDaysSpeakers/DevDaysSpeakers/ViewModel/SpeakersViewModel.cs

@@ -12,7 +12,6 @@ using System.Net.Http;
 using Newtonsoft.Json;
 using System.Collections.ObjectModel;
 using AppServiceHelpers.Abstractions;
-using AppServiceHelpers;
 using System.Runtime.CompilerServices;
 
 namespace DevDaysSpeakers.ViewModel
@@ -23,9 +22,9 @@ namespace DevDaysSpeakers.ViewModel
         public Command GetSpeakersCommand { get; set; }
 
         ITableDataStore<Speaker> table;
-        public SpeakersViewModel(IEasyMobileServiceClient client)
+        public SpeakersViewModel()
         {
-            table = client.Table<Speaker>();
+            table = App.AzureClient.Table<Speaker>();
 
             Speakers = new ObservableCollection<Speaker>();
             GetSpeakersCommand = new Command(

+ 5 - 1
HandsOnLab/Finish/DevDaysSpeakers/DevDaysSpeakers/app.config

@@ -4,7 +4,11 @@
     <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
       <dependentAssembly>
         <assemblyIdentity name="Microsoft.WindowsAzure.Mobile" publicKeyToken="31bf3856ad364e35" culture="neutral" />
-        <bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
+        <bindingRedirect oldVersion="0.0.0.0-2.1.0.0" newVersion="2.1.0.0" />
+      </dependentAssembly>
+      <dependentAssembly>
+        <assemblyIdentity name="Microsoft.WindowsAzure.Mobile.SQLiteStore" publicKeyToken="31bf3856ad364e35" culture="neutral" />
+        <bindingRedirect oldVersion="0.0.0.0-2.1.0.0" newVersion="2.1.0.0" />
       </dependentAssembly>
     </assemblyBinding>
   </runtime>

+ 1 - 1
HandsOnLab/Finish/DevDaysSpeakers/DevDaysSpeakers/packages.config

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <packages>
-  <package id="AppService.Helpers" version="1.0.3" targetFramework="portable-net45+win+wpa81+wp80+MonoTouch10+MonoAndroid10+xamarinmac20+xamarintvos10+xamarinwatchos10+xamarinios10" />
+  <package id="AppService.Helpers" version="1.0.4" targetFramework="portable45-net45+win8+wp8+wpa81" />
   <package id="Microsoft.Azure.Mobile.Client" version="2.1.0" targetFramework="portable45-net45+win8+wp8+wpa81" />
   <package id="Microsoft.Azure.Mobile.Client.SQLiteStore" version="2.1.0" targetFramework="portable45-net45+win8+wp8+wpa81" />
   <package id="Microsoft.Bcl" version="1.1.10" targetFramework="portable45-net45+win8+wp8+wpa81" />

+ 4 - 0
HandsOnLab/Start/DevDaysSpeakers/DevDaysSpeakers.Droid/DevDaysSpeakers.Droid.csproj

@@ -48,6 +48,10 @@
     <AndroidLinkMode>SdkOnly</AndroidLinkMode>
   </PropertyGroup>
   <ItemGroup>
+    <Reference Include="Azure.Mobile, Version=1.0.6036.40637, Culture=neutral, processorArchitecture=MSIL">
+      <HintPath>..\..\packages\AppService.Helpers.1.0.4\lib\Azure.Mobile.dll</HintPath>
+      <Private>True</Private>
+    </Reference>
     <Reference Include="FormsViewGroup, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
       <HintPath>..\..\packages\Xamarin.Forms.2.3.0.107\lib\MonoAndroid10\FormsViewGroup.dll</HintPath>
       <Private>True</Private>

+ 5 - 1
HandsOnLab/Start/DevDaysSpeakers/DevDaysSpeakers.Droid/app.config

@@ -8,7 +8,7 @@
       </dependentAssembly>
       <dependentAssembly>
         <assemblyIdentity name="Microsoft.WindowsAzure.Mobile" publicKeyToken="31bf3856ad364e35" culture="neutral" />
-        <bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
+        <bindingRedirect oldVersion="0.0.0.0-2.1.0.0" newVersion="2.1.0.0" />
       </dependentAssembly>
       <dependentAssembly>
         <assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
@@ -18,6 +18,10 @@
         <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
         <bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" />
       </dependentAssembly>
+      <dependentAssembly>
+        <assemblyIdentity name="Microsoft.WindowsAzure.Mobile.SQLiteStore" publicKeyToken="31bf3856ad364e35" culture="neutral" />
+        <bindingRedirect oldVersion="0.0.0.0-2.1.0.0" newVersion="2.1.0.0" />
+      </dependentAssembly>
     </assemblyBinding>
   </runtime>
 </configuration>

+ 1 - 0
HandsOnLab/Start/DevDaysSpeakers/DevDaysSpeakers.Droid/packages.config

@@ -1,5 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <packages>
+  <package id="AppService.Helpers" version="1.0.4" targetFramework="monoandroid60" />
   <package id="Microsoft.Azure.Mobile.Client" version="2.1.0" targetFramework="monoandroid60" />
   <package id="Microsoft.Azure.Mobile.Client.SQLiteStore" version="2.1.0" targetFramework="monoandroid60" />
   <package id="Microsoft.Bcl" version="1.1.10" targetFramework="monoandroid60" />

+ 4 - 0
HandsOnLab/Start/DevDaysSpeakers/DevDaysSpeakers.iOS/DevDaysSpeakers.iOS.csproj

@@ -117,6 +117,10 @@
     <InterfaceDefinition Include="Resources\LaunchScreen.storyboard" />
   </ItemGroup>
   <ItemGroup>
+    <Reference Include="Azure.Mobile, Version=1.0.6036.40637, Culture=neutral, processorArchitecture=MSIL">
+      <HintPath>..\..\packages\AppService.Helpers.1.0.4\lib\Azure.Mobile.dll</HintPath>
+      <Private>True</Private>
+    </Reference>
     <Reference Include="Microsoft.WindowsAzure.Mobile, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
       <HintPath>..\..\packages\Microsoft.Azure.Mobile.Client.2.1.0\lib\Xamarin.iOS10\Microsoft.WindowsAzure.Mobile.dll</HintPath>
       <Private>True</Private>

+ 5 - 1
HandsOnLab/Start/DevDaysSpeakers/DevDaysSpeakers.iOS/app.config

@@ -8,7 +8,7 @@
       </dependentAssembly>
       <dependentAssembly>
         <assemblyIdentity name="Microsoft.WindowsAzure.Mobile" publicKeyToken="31bf3856ad364e35" culture="neutral" />
-        <bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
+        <bindingRedirect oldVersion="0.0.0.0-2.1.0.0" newVersion="2.1.0.0" />
       </dependentAssembly>
       <dependentAssembly>
         <assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
@@ -18,6 +18,10 @@
         <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
         <bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" />
       </dependentAssembly>
+      <dependentAssembly>
+        <assemblyIdentity name="Microsoft.WindowsAzure.Mobile.SQLiteStore" publicKeyToken="31bf3856ad364e35" culture="neutral" />
+        <bindingRedirect oldVersion="0.0.0.0-2.1.0.0" newVersion="2.1.0.0" />
+      </dependentAssembly>
     </assemblyBinding>
   </runtime>
 </configuration>

+ 1 - 0
HandsOnLab/Start/DevDaysSpeakers/DevDaysSpeakers.iOS/packages.config

@@ -1,5 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <packages>
+  <package id="AppService.Helpers" version="1.0.4" targetFramework="xamarinios10" />
   <package id="Microsoft.Azure.Mobile.Client" version="2.1.0" targetFramework="xamarinios10" />
   <package id="Microsoft.Azure.Mobile.Client.SQLiteStore" version="2.1.0" targetFramework="xamarinios10" />
   <package id="Microsoft.Bcl" version="1.1.10" targetFramework="xamarinios10" />

+ 6 - 0
HandsOnLab/Start/DevDaysSpeakers/DevDaysSpeakers/App.cs

@@ -1,6 +1,12 @@
 using DevDaysSpeakers.View;
+using AppServiceHelpers;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
 
 using Xamarin.Forms;
+using AppServiceHelpers.Abstractions;
 
 namespace DevDaysSpeakers
 {

+ 2 - 2
HandsOnLab/Start/DevDaysSpeakers/DevDaysSpeakers/DevDaysSpeakers.csproj

@@ -47,8 +47,8 @@
     </Compile>
   </ItemGroup>
   <ItemGroup>
-    <Reference Include="Azure.Mobile.Forms, Version=1.0.6025.25770, Culture=neutral, processorArchitecture=MSIL">
-      <HintPath>..\..\packages\AppService.Helpers.Forms.1.0.1\lib\Azure.Mobile.Forms.dll</HintPath>
+    <Reference Include="Azure.Mobile, Version=1.0.6036.40637, Culture=neutral, processorArchitecture=MSIL">
+      <HintPath>..\..\packages\AppService.Helpers.1.0.4\lib\Azure.Mobile.dll</HintPath>
       <Private>True</Private>
     </Reference>
     <Reference Include="Microsoft.WindowsAzure.Mobile, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">

+ 2 - 0
HandsOnLab/Start/DevDaysSpeakers/DevDaysSpeakers/View/SpeakersPage.xaml.cs

@@ -8,6 +8,8 @@ using Xamarin.Forms;
 
 using DevDaysSpeakers.Model;
 using DevDaysSpeakers.ViewModel;
+using AppServiceHelpers;
+using AppServiceHelpers.Abstractions;
 
 
 namespace DevDaysSpeakers.View

+ 10 - 0
HandsOnLab/Start/DevDaysSpeakers/DevDaysSpeakers/ViewModel/SpeakersViewModel.cs

@@ -1,9 +1,19 @@
 using System;
 using System.Collections.Generic;
+using System.ComponentModel;
+using System.Diagnostics;
 using System.Linq;
 using System.Text;
 using System.Threading.Tasks;
 
+using Xamarin.Forms;
+using DevDaysSpeakers.Model;
+using System.Net.Http;
+using Newtonsoft.Json;
+using System.Collections.ObjectModel;
+using AppServiceHelpers.Abstractions;
+using System.Runtime.CompilerServices;
+
 namespace DevDaysSpeakers.ViewModel
 {
     public class SpeakersViewModel

+ 9 - 1
HandsOnLab/Start/DevDaysSpeakers/DevDaysSpeakers/app.config

@@ -4,7 +4,15 @@
     <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
       <dependentAssembly>
         <assemblyIdentity name="Microsoft.WindowsAzure.Mobile" publicKeyToken="31bf3856ad364e35" culture="neutral" />
-        <bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
+        <bindingRedirect oldVersion="0.0.0.0-2.1.0.0" newVersion="2.1.0.0" />
+      </dependentAssembly>
+      <dependentAssembly>
+        <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
+        <bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" />
+      </dependentAssembly>
+      <dependentAssembly>
+        <assemblyIdentity name="Microsoft.WindowsAzure.Mobile.SQLiteStore" publicKeyToken="31bf3856ad364e35" culture="neutral" />
+        <bindingRedirect oldVersion="0.0.0.0-2.1.0.0" newVersion="2.1.0.0" />
       </dependentAssembly>
     </assemblyBinding>
   </runtime>

+ 1 - 1
HandsOnLab/Start/DevDaysSpeakers/DevDaysSpeakers/packages.config

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <packages>
-  <package id="AppService.Helpers.Forms" version="1.0.1" targetFramework="portable45-net45+win8+wp8+wpa81" />
+  <package id="AppService.Helpers" version="1.0.4" targetFramework="portable45-net45+win8+wp8+wpa81" />
   <package id="Microsoft.Azure.Mobile.Client" version="2.1.0" targetFramework="portable45-net45+win8+wp8+wpa81" />
   <package id="Microsoft.Azure.Mobile.Client.SQLiteStore" version="2.1.0" targetFramework="portable45-net45+win8+wp8+wpa81" />
   <package id="Microsoft.Bcl" version="1.1.10" targetFramework="portable45-net45+win8+wp8+wpa81" />