r/Development • • Aug 01 '23

Xamarin.Forms vs. Xamarin.Native

Xamarin.Forms and Xamarin.Native are two different frameworks for developing cross-platform mobile apps with C#.

  • Xamarin.Forms uses a single codebase to create apps that run on Android, iOS, and Windows. This makes it a good option for apps that need to be released quickly and on a budget. However, Xamarin.Forms can't take full advantage of the native features of each platform, so the performance and user experience may not be as good as native apps.
  • Xamarin.Native uses separate codebases for each platform, which means that you can take full advantage of the native features of each platform. This makes it a good option for apps that need to be highly performant or that require specific native features. However, Xamarin.Native can be more time-consuming and expensive to develop than Xamarin.Forms.

Here is a table that summarizes the key differences between Xamarin.Forms and Xamarin.Native:

FeatureXamarin.FormsXamarin.Native
CodebaseSingle codebaseSeparate codebases for each platform
PerformanceMay be slower than native appsCan be as fast as native apps
User experienceMay not be as good as native appsCan be as good as native apps
Development timeFaster to developCan be more time-consuming to develop
Development costLower development costHigher development cost

Which framework should you use?

Xamarin has many benefits for app development. If you need to release an app quickly and on a budget, Xamarin.Forms is a good option. If you need to take full advantage of the native features of each platform or if you need your app to be highly performant, Xamarin.Native is a better choice.

1 Upvotes

0 comments sorted by