# Migrating the Barcode from Xamarin.Forms to .NET MAUI

Telerik .NET MAUI Barcode control preserves the same API as its Xamarin counterpart except for the configuration options listed in this article.

The tables in the following sections list the differences between the APIs of the Xamarin.Forms Barcode and .NET MAUI Barcode.

## Namespaces Differences

When migrating the Barcode from Xamarin to .NET MAUI, consider the following differences in the namespaces:

| Control           | Control name | XAML Namespace                                                                                          | C# Namespace                        |
| ----------------- | ------------ | ------------------------------------------------------------------------------------------------------- | ----------------------------------- |
| Xamarin Barcode   | `RadBarcode` | xmlns:telerikBarcode="clr-namespace:Telerik.XamarinForms.Barcode;assembly=Telerik.XamarinForms.Barcode" | using Telerik.XamarinForms.Barcode; |
| .NET MAUI Barcode | `RadBarcode` | xmlns:telerik="<http://schemas.telerik.com/2022/xaml/maui>"                                             | using Telerik.Maui.Controls;        |

## See Also

* [Migrating from Xamarin.Forms to .NET MAUI](https://www.telerik.com/maui-ui/documentation/migrate-to-net-maui)
* [.NET MAUI Sample Applications](https://www.telerik.com/maui-ui/documentation/demos-and-sample-apps/overview)
* [.NET MAUI Barcode Product Page](https://www.telerik.com/maui-ui/barcode)
* [.NET MAUI Barcode Forum Page](https://www.telerik.com/forums/maui?tagId=1780)
