Learn your way! Get started

Xamarin Tools, Part 1: Solutions and File Linking

with expert Wallace McClure

Watch trailer

Xamarin Tools, Part 1: Solutions and File Linking Trailer

Course at a glance

Included in these subscriptions:

  • Dev & IT Pro Video
  • Dev & IT Pro Power Pack
  • Power Pack Plus

Release date Release date 12/24/2012
Level Level Advanced
Runtime Runtime 1h 20m
Platform Platform Major browsers on Windows Major browsers on Windows Major browsers on Mac OSX Major browsers on Mac OSX Mobile Devices Mobile Devices
Closed captioning Closed captioning N/A
Transcript Transcript N/A
eBooks / courseware eBooks / courseware N/A
Hands-on labs Hands-on labs N/A
Sample code Sample code Included
Exams Exams Included

Enterprise Solutions
Enterprise Solutions

Need reporting, custom learning tracks, or SCORM? Learn More

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.


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 & SQL Server, and finally AJAX.

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)