Yesterday  we organised one of the many Xamarin DevDays events in our Xpirit office in Amsterdam. It was great to see many people show up on such a sunny day in the weekend (Some of them coming all the way from London to attend this event here).

The day was split into 4 parts.

 

14051741_1239068676138188_4762360838751043582_n

All slides, samples and labs  can be found on github here: https://github.com/XpiritBV/dev-days-labs

Even if you weren’t at the event  the labs might be to interest of you because they contain some really nice detailed steps on how to create a Xamarin.Forms app including a Azure backend.

 

Xamarin Apps

14095850_1239068642804858_599288069959767511_n

Marcel kicked of the day by explaining how to build true native apps using the traditional Xamarin approach.  How we can share up to 70 to 80% of our code while still having all features we would have when building native apps in Objective-C, Swift or Java. By building apps using Xamarin you have the possibility to use all the native tools to build your UI, you can create storyboards for iOS, define your Android UI in AXML and on Windows you can create your UI in XAML. These native UI’s connect to your business logic which you can write in C# and can be the same for all platforms.

Screen Shot 2016-08-28 at 13.01.45

Marcel also talked about the performance and how Xamarin apps can often even beat Java or Objective-C apps in performance. This is possible because on android the Mono runtime is sometimes just faster as the Java runtime on Android devices.

There are also some differences on how  your code will be compiled and published to the different devices. Android makes use of  Just in Time compilation in combination with IL code while on iOS a ARM-Binary is created using Ahead of Time compilation to build true native apps.

Screen-Shot-2016-08-28-at-13.02.02 (1)

14054243_1239172942794428_4862573752858820030_n

Xamarin.Forms

Then it was my turn to take the stage to do an introduction on Xamarin.Forms. Xamarin forms is library built my Xamarin to increase code sharing even further. you could go up to 99% code sharing with Xamarin while your apps still look and perform natively.

Xamarin forms is a UI framework that creates an abstraction on top of the UIs for Android, iOS and Windows and will let you design and create these UIs in your shared code which will then be turned into real native UI components when you compile for iOS, Android or Windows. if you use things like Tabbed pages the tabs will be placed at the bottom for iOS because that is what iOS users expect, and for Android it will create beautiful material design tabs at the top of your screen.

Screen-Shot-2016-08-28-at-13.02.36 (1)

You can define your Xamarin.Forms UI using XAML or C# and there are over 40+ pages, layouts and controls available.

Screen-Shot-2016-08-28-at-13.02.55 (1) Screen-Shot-2016-08-28-at-13.03.05 (1)

14063932_1239172959461093_6424750382214445463_n

Xamarin + Azure

After lunch Roy told a great story on how azure can help you speed up the development process of building your mobile backend with all the features that come with Azure.  We zoomed in on Azure Mobile apps and al the components that help you create mobile back ends and adding offline data synchronising between your mobile and the mobile backend with just 4 lines of code!

Screen-Shot-2016-08-28-at-13.03.59 (1)

14064284_1239173046127751_4605706219513382693_n

In the afternoon we spend some time with all the people who attended on building the labs or discussing different Xamarin questions. It was great to see all the people who were new to Xamarin being able to pick this up so fast and were able to write a simple app in a couple of hours.

Let’s look at some code at #Xamarindevdays Amsterdam pic.twitter.com/TbZzZdZcEL

— Geert vd Cruijsen (@GeertvdC) August 27, 2016

If you missed this Xamarin DevDay in Amsterdam make sure you check the posts by Xamarin where they announce more of then during the coming months. Xlevelupmobile_logorgbpirit is also organising another Mobile development related event on 22nd of September together with AFAS. This FREE event is called LevelUp Mobile and we have great speakers like  Brechtje de Leij (mobile strategist and expert),  Laurent Bugnion, Jorn de Vries of Flitsmeister, Johan Gorter & Rick Hoving from AFAS Software & Roy Cornelissen and me From Xpirit . Sign up here: http://www.levelupmobile.nl

Happy coding! Geert van der Cruijsen  

#XamarinDevDays Amsterdam was fun! Thanks to all who joined us! #Xpirit pic.twitter.com/QDI1ybEMFe — Roy Cornelissen (@roycornelissen) August 27, 2016

The post Xamarin DevDays Amsterdam Recap appeared first on Mobile First Cloud First.