Developing Cross-Platform Apps With C# Using Xamarin Training in Norway

  • Learn via: Classroom / Virtual Classroom / Online
  • Duration: 5 Days
  • Price: Please contact for booking options
We can host this training at your preferred location. Contact us!

Developing Cross-Platform Apps with C# using Xamarin

C# is one of the most popular development languages in the world but we write the majority of mobile apps in Java, Swift or Objective-C. While it was originally possible to build .NET apps running on Windows-based devices only, the game has changed. Dramatically.

Using Xamarin, we can now write apps, which run on Android and iOS devices natively using C#. This way, C# allows us to target billions of extra devices using the language we all love. The experiences, which users get from Xamarin-base apps, are fully native: the apps aren't web-based, trimmed-down versions of the apps. Instead, they offer the full functionality of the platform they target.

The impact in terms of re-using code is huge. We can build architecture with this cross-platform functionality in mind and construct it so that a lot (or maybe we should say: most) of our code can be re-used in Windows Phone, iOS and Android apps.

In this course, you'll learn about the Xamarin environment. You'll learn about cross-platform development, Xamarin.Android and Xamarin.iOS. All this becomes possible using the knowledge you already have: C#!

Students should have experience developing applications or websites using C#; the course assumes you are familiar with the C# language. XAML knowledge is a plus but is not required.

Please note: Due to the nature of the delegate labs on this course it can only run on Apple Macs. The course cannot be delivered on Windows based machines. This is not a requirement for delegates completing the course as Attend From Anywhere.

Chapter 1: C# Review

To start we review some of the key features of the C# language that you will need to understand and exploit when developing effective Xamarin apps.

Topics:

  • Value and Reference Types under the hood
  • Classes, Encapsulation and Properties
  • SOLID
  • Inheritance and Polymorphism
  • Interfaces and Decoupling
  • Dependency Injection
  • Inversion of Control
  • Generics
  • Delegates
  • Anonymous Delegates and Lambdas
  • Tasks and async
  • Useful Design Patterns
  • Labs

Chapter 2: Xamarin Introduction

Next we set the scene by introducing Xamarin and discuss where it fits in and how it can be best used. We look at some of the mobile development challenges and then begin to take a look at the mighty tool itself.

Topics:

  • What is Xamarin
  • Bit of History
  • Benefits and Disadvantages of using Xamarin
  • Mobile Development Challenges
  • Where does it fit in?
  • How does it work?
  • What you need to get started
  • Getting started with Xamarin Studio

Chapter 3: Getting Started with Xamarin.android

In Chapter 3 we are straight into the fundamentals of android app development and look at creating projects, setting correct API versions and working with resources such as layouts and images. After reviewing android App architecture we then create our first activity and soon create a multi activity app with Intents. By the end you have your first android app.

Topics:

  • android Projects
  • API Versions
  • Resources and Images
  • Layouts
  • App Architecture
  • Creating Activities
  • Accessing Views
  • Working with Intents
  • Launching Activities
  • Passing data between activities
  • Working with an activities lifecycle
  • Labs

Chapter 4: Designing your android UI with Layouts

Laying out your activities is an essential part of designing an app. That's why we take some time to explore the various options available that enable you to create an adaptable layout. We also take a look at some of the widely used UI views available out of the box.

Topics:

  • Creating the UI with the Designer
  • Designing Layouts and working with
  • Linear
  • Relative
  • Table
  • Grid layouts
  • Working with some of the built in views including
  • Date and time picker
  • Standard Views
  • Spinner
  • CardView
  • ScrollView
  • Labs

Chapter 5: Lists, Tabs and Fragments in android

Displaying lists of information is an essential part of any app so we spend some time exploring how we can present standard and custom lists of data to users. We also look at how we can present a Tabbed interface and introduce the concept of reusable fragments.

Topics:

  • ListViews and ListAdapters
  • Custom ListAdapters
  • Built in and Custom Row Layouts
  • Working with Fragments
  • Using fragments declaratively and programmatically
  • The FragmentManager
  • Fragment Lifecycle
  • State Management
  • Tabs and the Action Bar
  • Labs

Chapter 6: Additional android Issues

To finish off android development we look at some additional issues that you need to be aware off.

Topics

  • Activity Lifecycle
  • State Management
  • Rotation and managing alternate layouts
  • Drawables and resolution
  • Labs

Chapter 7: Cross Platform Code Sharing

The big win with Xamarin is code reuse across platforms. The more reuse the greater the benefit. We will look at how this can be achieved.

Topics

  • Why Code Share
  • Code sharing Options
  • Shared Projects
  • Portable Class Libraries
  • Ramping up code reuse across platforms
  • Cross Platform Data Access
  • Abstracting device specificity
  • Dependency Injection
  • Inversion of Control Containers
  • MVVM Pattern
  • MVVM Light
  • MVVMCross
  • Labs

Chapter 8: Getting Started With iOS Development in Xamarin

In this chapter you will use the same C# language to write an iOS app. We will find out about designing our app with a storyboard and then hook it up to code in the form of a View Controller. In no time we are creating multi scene applications and are segueing between them.

Topics

  • iOS Development in Xamarin
  • Solutions, Projects and Files
  • Intro to Storyboards, Scenes and Segues
  • MVC and View Controllers
  • Linking Scenes to View Controllers
  • Working with Multiple View Controllers
  • Modal Display
  • Navigation Controllers
  • Transferring Data between Scenes
  • Loading Storyboards from Code
  • Labs

Chapter 9: Designing an iOS Layout 

In Chapter 8 we look at how we can design a UI to respond to changes in container size using a combination of Auto Layout and Size Classes. We will also explore some of the UI controls.

Topics

  • Xamarin iOS Designer Intro
  • Designing a View
  • Using Auto Layout
  • Working with Constraints
  • Understanding and Exploiting Size Classes
  • iOS UI Controls
  • Unwind Segues
  • Labs

Chapter 10: Working with Table Views

The workhorse of any app is the table view. We use it to display data and even to layout our data entry forms. In this chapter we will explore the table view. We will also look at a related view called the Collection view.

Topics

  • Table Views
  • Types of Table View
  • Building a Table View
  • Static Table Views
  • Dynamic Table Views
  • Table View Controllers
  • Table View Cells
  • Headers and Footers
  • Editing Cells
  • Collection Views
  • Labs

Chapter 11: Controlling iOS Navigation and Storage

We finish off our look as iOS development in Xamarin by covering iOS navigation and looking at how we can store basic data.

Topics

  • Manual Storyboards
  • Navigation Controllers
  • Tab Bar Controllers
  • Modal View Controllers
  • Split View Controllers
  • Settings and plists
  • Working with files
  • User Defaults Database
  • Labs

Chapter 12: App Deployment for android and iOS

So your app is complete and ready to be deployed. So how do you do that? We will look at the issues involved in deploying your app to the relevant app stores.

Topics

  • Preparing and app for deployment
  • Configuration
  • Building
  • Deploying to the app store

Chapter 13: Xamarin.Forms

Having spent most of the course writing separate apps for android and iOS we now look to Xamarin forms to unify our development process. 'Write once run everywhere' is the pitch but can we really write one set of UI code and run it on android, iOS and Windows phone. In this chapter we will find out.

Topics

  • What are Xamarin Forms
  • Getting started with…
  • How it works
  • Basic elements
  • Pages
  • Layouts
  • Sizing and Positioning
  • Views
  • Hooking up to Code
  • Alerts
  • Navigation
  • Labs

Chapter 14: Forms, ListViews and Data Binding with Xamarin.Forms

We look a little more closely at writing forms and lists and introduce data binding with XAML.

Topics

  • Data Binding Overview
  • Page Binding
  • Change Notification
  • Field Binding
  • Field to Field Binding
  • Displaying Lists with the ListView
  • Making life easier with Resources and Styles
  • Labs


Contact us for more detail about our trainings and for all other enquiries!

Upcoming Trainings

Join our public courses in our Norway facilities. Private class trainings will be organized at the location of your preference, according to your schedule.

03 januar 2025 (5 Days)
Oslo, Bergen, Trondheim
Classroom / Virtual Classroom
15 januar 2025 (5 Days)
Oslo, Bergen, Trondheim
Classroom / Virtual Classroom
03 januar 2025 (5 Days)
Oslo, Bergen, Trondheim
Classroom / Virtual Classroom
15 januar 2025 (5 Days)
Oslo, Bergen, Trondheim
Classroom / Virtual Classroom
24 februar 2025 (5 Days)
Oslo, Bergen, Trondheim
Classroom / Virtual Classroom
24 februar 2025 (5 Days)
Oslo, Bergen, Trondheim
Classroom / Virtual Classroom
14 mai 2025 (5 Days)
Oslo, Bergen, Trondheim
Classroom / Virtual Classroom
04 juni 2025 (5 Days)
Oslo, Bergen, Trondheim
Classroom / Virtual Classroom
Developing Cross-Platform Apps With C# Using Xamarin Training Course in Norway

The Nordic country Norway, is in Northern Europe. Known for its stunning natural beauty, including fjords, mountains, and forests, Norway is also famous for its high standard of living and strong social welfare system. Norway's capital and largest city is Oslo. Tromsø, Bergen, Trondheim and Stavanger are the other tourist attracting cities of Norway.

Norway is a constitutional monarchy with King Harald V as the head of state. The country has a population of 5,425,270 as of January 2022. Norway is a relatively small country and has a relatively low population density, with much of its land area covered by forests, mountains, and fjords. Despite its small size, Norway is known for its rich cultural heritage, strong economy, and stunning natural beauty, which attracts millions of visitors every year. This Nordic country is also known for its winter sports, such as skiing and snowboarding, and is a popular destination for outdoor enthusiasts.

Norway has a long history of invention and is home to numerous more top-tier tech firms and research facilities, such as; Kongsberg Gruppen, Telenor, Atea, Evry and Gjensidige Forsikring.

Due to the country's high latitude, there are large seasonal variations in daylight. From late May to late July, the sun never completely descends beneath the horizon. Which attracts many tourists around the world to see the "Land of the Midnight Sun". Tourists mainly visit Sognefjord, Norway's Largest Fjord, Pulpit Rock, one of the most photographed sites in Norway and of course the capital; Oslo.

Oslo is considered the business center of Norway. It is the country's largest city and the capital of Norway. The city is home to many of Norway's largest and most important companies, as well as several international organizations and research institutions. Additionally, the city is a popular tourist destination, known for its scenic location on the Oslo Fjord, its many museums and cultural attractions, and its vibrant nightlife and dining scene. Some of the most popular museums in Oslo are The Norwegian Museum of Cultural History, The Nobel Peace Center, The National Museum of Art, Architecture, and Design, The Munch Museum and The Vigeland Museum.
By using this website you agree to let us use cookies. For further information about our use of cookies, check out our Cookie Policy.