Xamarin Tutorial Part 1

 

Xamarin course tutorial learning

Please, support my blog by clicking on our sponsors ad!


Xamarin is company started in 2011 who build the software. It is a framework to develop the mobile application using single code. With single code, application build in three platform (Android, IOS, Windows). Most of the platforms are used is android and ios.

Please go through this video

It support three language c#, f#, vb.net, but most of the developer preferred c#.

Xamairn use XAML (Extensible markup language) for visual appearence. Xaml help to design beautiful UI by providing the information like what control to place and where to locate and how to locate. The responsibility of xaml is to create to place the control with proper location.

for every xaml, there is c# page. this c# page is a class which define behaviour of the page for example what to perform action when button is clicked, to provide data to UI page, etc.

Architecture

The architecture of the xamarin projects are

Xamarin Main project

Xamarin.Android

Xamarin.IOS

Xamarin main project will have single code which build in both android and ios application, but UI for both project depend on the platform. for example by default the button design of android app will be different from ios app.

Generally all the code are written in main project which will be supported by both project but there are some code like dependency,custom renender, third party integration which should be written in all the platform.

Need to remember that when nugget  is installed, then it should be installed in all the project.

Tooling

There are two tool:

  • Windows
  • MAC

In windows, Android and Windows app are build

In MAC, Android and IOS app are build.

If you want to build these three app, then you will need both windows and mac machine.

you can use window machine to build app, if you want to build ios app in future,  you have to setup mac machine and preety much done. you dont need to write any new code, just build you project in ios.

Please go through this video

Hope it is helpfull to you. please share your feedback in comment section and thank for reading.

Comments

Popular posts from this blog

Explore the UI libraries available for .NET MAUI at no cost.

Push Notification using Firebase in xamarin form (Android and IOS)

School UI Design using xamarin form