Xamarin Forms: Build Native Cross-platform Apps with C#

Learn to build native mobile apps for Android, iOS and Windows using your existing C# skills
4.6 (778 ratings)
Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
5,773 students enrolled
$25
$150
83% off
Take This Course
  • Lectures 117
  • Length 7.5 hours
  • Skill Level All Levels
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 9/2016 English

Course Description

Do you have an idea for an app and want to turn that into reality? Well, if you want to build that app for iOS, you need to know Objective-C, which is an old, C-based language. The alternative is to learn Swift. If you want to build the same app for Android, you need to learn Java. And if you want to build this app for Windows, of course you need to know C#.



Sounds like a lot of headache. It's not just about learning different programming languages. It's about the fact that each platform has its own UI framework which is built with a different architecture and API. 


Building apps shouldn't be that painful. Is there a better way? Yes there is: Xamarin Forms.

Xamarin Forms is a UI framework for building native cross-platform mobile apps with C#. You code your app only once, and let Xamarin compiler build your app for each platform. As simple as that! You don't need to learn 4 different languages and presentation frameworks! 


In this course, Mosh, author of 9 five-star courses on Udemy, will take you on a pragmatic and step-by-step journey and teach you how to build native mobile apps for Android, iOS and Windows using Xamarin Forms and C#. 


In particular, you'll:

  • Learn and understand the fundamentals of Xamarin Forms and its architecture
  • Build user-interfaces with XAML and code
  • Work with images
  • Present data in beautiful, interactive lists
  • Implement multi-page apps with navigation, tabs, master/detail pages
  • Build form and setting pages
  • Store and retrieve data from a variety of sources (file system, SQLite database and RESTful services)
  • Implement Model-View-ViewModel (MVVM) architectural pattern


If you've taken any of Mosh's courses before, you know what you get: clear, concise training, without waffling or mocking around


You get 7.5 hours of high quality content and every single minute is crafted with outstanding delivery and world-class production. Mosh doesn't create 10+ hour courses that need to be fast-forwarded or skipped.


This course is packed with real-world examples, exercises and best practices. Not only will you learn how to use Xamarin Forms, you’ll also learn first-class tips to make your code cleaner and more maintainable.

Lectures also have downloadable source code so you can code-along while watching the videos. 


So, if you're looking for a Xamarin Forms course with 

  • A passionate coder and instructor who knows his craft
  • Perfect structure 
  • Balanced mix of theory and practice
  • Clear, concise and bite-sized videos 
  • Lots of real-world examples and coding exercises
  • Downloadable source code
  • Discussion of best practices 
  • World-class audio / video production


Don't look further. Enrol in the course now and learn to build native mobile apps for Android, iOS and Windows using your existing C# skills.



PREREQUISITES 

All you need to know in order to take this course is C#. At a minimum, you should be comfortable with classes, interfaces, events, delegates, lambda expressions and a bit of LINQ. 



FREQUENTLY ASKED QUESTIONS

1- Do I need a Mac to take the course?

Not at all! You can use use Visual Studio on Windows to build and deploy apps to Windows and Android. You need a Mac only to build your app for iOS. And this involves simply adding a new project to your Visual Studio solution, setting it as the start up project and building it. That’s it! You don’t need to write any extra code.

So, no, you don’t need a Mac to take this course or learn Xamarin Forms in general.

 

2- Do I need to know about Xamarin.Android and Xamarin.iOS libraries?

Again, no! Xamarin Forms provides a simple, unified API for you to build cross-platform mobile apps. When you build your app for Android or iOS, it will internally use Xamarin.Android or Xamarin.iOS to map the common user interface elements to their corresponding native equivalent.

You need to know about Xamarin.Android or Xamarin.iOS only if you want to build custom user-interface elements.


30-DAY FULL MONEY-BACK GUARANTEE

This course comes with a 30-day full money-back guarantee. Take the course, watch every lecture, and do the exercises, and if you feel like this course is not for you, ask for a full refund within 30 days. All your money back, no questions asked


ABOUT YOUR INSTRUCTOR 

Mosh (Moshfegh) Hamedani is a software engineer with 15 years of professional experience, mainly in building web-based applications. He is the author of seven 5-star Udemy courses with more than 20,000 students. He is passionate, pragmatic and motivational in his teaching. 


So, do you want to use your existing C# skills to build native apps for Android, iOS and Windows? 

If you enrol in the course now, you'll start building your first native cross-platform app within a few minutes. Enrol in the course now and get started.

What are the requirements?

  • Familiarity with C# classes, interfaces, events, delegates, lambda expressions and LINQ

What am I going to get from this course?

  • Build native mobile apps for Android, iOS and Windows using C#
  • Understand the fundamentals of Xamarin Forms and its architecture
  • Build user-interfaces with XAML and code
  • Work with images
  • Present data in beautiful, interactive lists
  • Implement multi-page apps with navigation, tabs, master/detail pages
  • Build forms and setting pages
  • Store and retrieve data from a variety of sources (file system, SQLite database and RESTful services)
  • Implement Model-View-ViewModel (MVVM) architectural pattern

Who is the target audience?

  • Developers who want to utilize their existing C# skills to build native mobile apps
  • Developers who don't want to learn Objective-C, Swift or Java to build native apps

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: Getting Started
Introduction
Preview
00:27
What is Xamarin Forms?
Preview
03:55
Setting Up the Development Environment
Preview
03:51
Creating a Xamarin Forms App Using Visual Studio
Preview
06:50
Creating a Xamarin Forms App Using Xamarin Studio
03:02
Your First Xamarin Forms App
07:21
How Xamarin Works
05:16
Xamarin Forms Quiz
5 questions
Course Structure
02:46
Asking Questions
02:58
Section 2: XAML Essentials
Introduction
00:28
XAML vs Code
04:48
Content Property
03:33
Accessing Elements in Code-behind
04:57
Data Binding
04:42
Binding Context
04:00
Dealing with Device Differences
06:15
Property Element Syntax
04:25
XAML Compilation
04:11
Cheat Sheet
00:00
00:57

A few exercises that help you master XAML syntax and the features you've learned in this section.

Section 3: Layouts
Introduction
00:33
Stack Layout in XAML
06:55
Stack Layout in Code
01:52
Stack Layout Exercise
00:01
Grid in XAML
09:42
Grid in Code
05:44
Grid Exercise
00:01
Absolute Layout in XAML
07:11
Absolute Layout in Code
02:41
Absolute Layout Exercise
00:01
Relative Layout in XAML
06:41
Relative Layout in Code
03:53
Relative Layout Exercise
00:01
Section 4: Images
Introduction
00:36
Image Sources
00:53
Downloaded Images
05:08
Aspects
01:28
Activity Indicator
04:43
Embedded Images
02:26
Embedded Images in XAML
05:44
Platform-specific Images
08:10
Application Icons
02:59
Rounded Images
05:06
Dealing with Sizes
02:49
Cheat Sheet
00:00
Exercise - Photo Gallery
00:37
Section 5: Lists
Introduction
00:28
Populating a Basic List
01:39
Cell Appearance
05:21
Custom Cells
04:02
Grouping Items
04:39
Handling Selections
03:51
Context Actions
07:44
Pull to Refresh
02:36
Search Bar
04:55
Cheat Sheet
00:00
Exercise - Airbnb's Recent Searches
01:14
Section 6: Navigation
Introduction
00:42
Hierarchical Navigation
07:40
Modal Pages
01:24
A Simple Master Detail
05:44
Master Detail Page
07:54
Tabbed Page
07:42
Carousel Page
01:35
Displaying Popups
05:28
Toolbar Items
04:19
Cheat Sheet
00:00
Exercise - InstagramApp
01:35
Section 7: Forms and Setting Pages
Introduction
00:30
Switch
03:22
Slider
03:39
Stepper
01:27
Entry and Editor
05:36
Picker
07:46
Date and Time Picker
05:12
Table View
06:27
Custom Cells
02:14
Bindable Properties
09:30
Picker with Navigation
05:20
Cheat Sheet
00:00
Exercise - ContactBook App
03:04
Section 8: Data Access
Introduction
00:43
Overview
03:25
Application Properties
08:14
A Cleaner Implementation
05:51
File System
07:37
PCLStorage
01:19
Setting Up SQLite
02:35
Using SQLite
09:00
INotifyPropertyChanged Interface
06:21
Consuming RESTful Services
09:38

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Mosh Hamedani, Passionate Software Engineer and Best-selling Author

Moshfegh Hamedani is a passionate and creative software engineer with a strong focus on pragmatism and simplicity. He started programming at the age of seven on a Commodore 64. Later, during his high school years, he started learning C and C++ . In 2002, along with the first release of .NET, he shifted his focus to C#. Since then he has been involved in the design and implementation of numerous software projects, including modern web applications, mobile apps, desktop applications and frameworks.

Aside from his career as a software engineer, he truly enjoys sharing his knowledge with others. Since his early twenties, he has been teaching courses and running workshops on C#, ASP. NET, object-oriented programming and clean coding. He is author of 6 best-selling courses on Udemy and more will be coming soon.

Mosh has a Master of Science in Network Systems and a Bachelor of Science in Software Engineering. He is also a Microsoft Certified Application Developer, Technology Specialist (Web Applications) and Professional.

Outside the software world, Mosh is a photographer, a pianist and a passionate Latin dancer.

Ready to start learning?
Take This Course