Xamarin Tools, Part 1 of 3: Solutions and File Linking
Interactive

Xamarin Tools, Part 1 of 3: Solutions and File Linking

LearnNow Online
Updated Aug 23, 2018

Course description

In this training course, we will look at the background on mobile, what is happening in the marketplace, why cross platform development makes sense, and some general strategies for cross platform development with iOS, Android, and Windows. These platforms all have one thing in common; the platforms can all be targeted with the C# language. Next we will examine file linking, general abstraction, the observer pattern, partial classes, and conditional compilation. In file linking, we can use cross platform language features, such as calling web services, LINQ, XML, and JSON to handle the communication with a remote data source on both android and iPhone.

Each LearnNowOnline training course is made up of Modules (typically an hour in length). Within each module there are Topics (typically 15-30 minutes each) and Subtopics (typically 2-5 minutes each). There is a Post Exam for each Module that must be passed with a score of 70% or higher to successfully and fully complete the course.


Prerequisites

This course assumes that students have some programming background and experience using Visual Studio and Xcode. In addition, this course assumes knowledge of Visual C# and Mono for Android, as well as Objective C and Mono Touch. An understanding of XML is also required.


Meet the expert

Wallace McClure

Wallace McClure specializes in building applications that have large numbers of users and large amounts of data as well as user interface specific technologies such as AJAX, iPhone, and Android. He is a Microsoft MVP, ASPInsider, and a partner in Scalable Development, Inc. Wally has authored books on iPhone Programming with Mono/MonoTouch, Android Programming with Mono for Android, application architecture, ADO.NET and SQL Server, and finally AJAX.

Video Runtime

80 Minutes

Time to complete

160 Minutes

Course Outline

Current Mobile Marketplace

Market Place Vendor Directed (15:16)

  • Introduction (00:20)
  • Mobile Marketplace (02:21)
  • Other Mobile Operating Systems (01:26)
  • What Are Users Doing? (02:35)
  • Options for Building Apps (01:35)
  • Vendor Directed Native Apps (01:31)
  • Native Languages and IDEs (00:47)
  • Java Options (00:56)
  • Objective C Options (01:02)
  • .NET/C# Options (02:22)
  • Summary (00:15)

Solutions (20:06)

  • Introduction (00:14)
  • Write One, Run Everywhere (02:44)
  • Marketplace (01:54)
  • Why Cross Platform? (01:14)
  • What is Needed? (01:31)
  • MonoTouch and Mono for Android (01:38)
  • MonoTouch Solution (01:20)
  • Mono for Android Solution (02:21)
  • Typical Cost Advantage (02:31)
  • Amount of Reuse (03:30)
  • Resources (00:48)
  • Summary (00:17)
Code Sharing Techniques

File Linking (16:42)

  • Introduction (00:15)
  • Agenda (00:46)
  • Code That Can Be Shared (02:24)
  • Compile Problem (01:34)
  • File Setup (01:56)
  • Setup Projects (02:29)
  • Result in iOS and Android (00:42)
  • Demo: Mono for Android (06:23)
  • Summary (00:09)

Abstraction & Observer Pattern (16:13)

  • Introduction (00:21)
  • Abstraction (01:07)
  • Interface (02:50)
  • Observer Pattern (01:15)
  • .NET Observer Pattern (00:47)
  • Demo: Interface (04:30)
  • Demo: .NET Observer Pattern (05:09)
  • Summary (00:11)

Conditional Compilation (12:03)

  • Introduction (00:20)
  • Partial Classes (01:13)
  • Conditional Compilation (00:43)
  • Platform Compiler Symbols (00:55)
  • Visual Studio Options (00:29)
  • MonoDevelop Options (00:25)
  • MonoTouch Results (00:33)
  • Demo: Partial Class (03:14)
  • Demo: Conditional Compilation (01:51)
  • Portable Class Libraries (01:59)
  • Summary (00:15)
;