In today’s software development space, software companies and individual developers face a difficult challenge in supporting the various platforms available to their users. More often than not, the solution to this challenge has been to create individual platform specific versions of their software products.
Although this solution works, it introduces additional time and complexity in maintaining and extending their software which increases the overall cost to deliver solutions. For software companies and individual developers facing this challenge, Xamarin provides a viable solution to reduce complexity and cost.
With Xamarin, software companies and individual developers have the tools needed to deliver cross platform solutions that target iOS, Android, Windows (UWP), and Mac from a single codebase. (More platforms are in development) Using C#, Xamarin, and proper architecture, application solutions can share 75% of code across all targeted platforms.
By adding Xamarin Forms to share UI (User Interface) code, application solutions can share over 96% of code across all target platforms.
The objective of this workshop is to teach you how to use Xamarin and Xamarin Forms to create cross platform solutions. Here is a list of some of what you will learn:
- Creating Cross Platform Applications Using Xamarin
- Sharing Business Logic
- Using Xamarin Forms to Create Cross Platform User Interfaces
- Creating a Clean Architecture
- Leveraging Azure App Service Mobile Apps for Data Synchronization, Authentication, and Notifications
Please make sure you complete the below setup steps prior to the workshop
- The latest RTM version of Visual Studio 2017: (Windows – version 15.7.3, Mac – version 7.5.1) – The free community edition will work fine
- When installing Visual Studio 2017, make sure you select the “Mobile development with .NET” workload which includes Xamarin and the “.NET Core cross-platform development” workload.
Detailed Setup – Windows 10
- Download Visual Studio 2017 – Community Edition (Free)
- Run the downloaded executable
- When presented with the installation dialog, select the following Workloads:
- Universal Windows Platform development
- Mobile development with .NET
- .NET Core cross-platform development
- Select “Individual components” from the top level menu.
- Make sure the following additional items are selected:
- Google Android Emulator (API Level 27)
- Intel Hardware Accelerated Execution Manager (HAXM) (global install)
- SDKs, libraries, and frameworks
- Android SDK setup (API level 27)
- Java SE Development Kit
- Select “Install” on the bottom right.
You are ready to create some code with Xamarin!
Detailed Setup – MAC
- Setup and Installation of Visual Studio for Mac
- Make sure you pay close attention to the platform selections and chose the following
- macOS (Optional)
- .NET Core Applications
Richard Taylor is a 25-year software development and technology professional living in Huntersville, NC. His experience includes the design and development of small to enterprise class applications.