What is Xamarin?
Xamarin launched in 2011. Xamarin is a framework to develop a cross platform mobile application using C# and Visual Studio. Using a native user interface user can write native Windows apps, Android, iOS and share this code over multiple platforms. Xamarin makes native apps reliable and flexible. You can write your code in your favorite IDE, Visual Studio, because Xamarin has to focus at the .Net developer, and gives access to all the native APIs and data structures on every platform like iOS, Android, and Windows.
Xamarin is different because it offers a single language C# and runtime that works on three mobile platforms (Android, iOS and Windows). So you need to define the UI in a platform-specific way. In Android, it’s defined in an Android XML file, in Windows Phone XAML file, and in iOS you write storyboards.
1. Xamarin has code sharing and a huge amount of available C# Components.
2. Xamarin provides framework ’Mono framework’ which is used to communicate with APIs of common mobile device functions.
3. When you write in c# language, sharing the same code in across different platforms. Something you can do in Java, Objective-C, you can do in c#.
4. You can add powerful security features like authentication and encryption in your apps.
5. Xamarin offers unique Monitoring and testing tools because this tools check performance your apps.
6. Xamarin forms have 40 controls and layouts, which are mapped to native controls at runtime.
1. Xamarin doesn’t allow the creation of reusable components or modules outside of its own environment.
2. Non portable .Net libraries do not have PCL versions that support Xamarin iOS or Xamarin Android.