Creating Reusable Components with .NET MAUI

Sahu
6 min readSep 2, 2023
Photo by Sigmund on Unsplash

.NET MAUI is the latest iteration of the Open Source Cross Platform Development Framework by Microsoft. It allows Developers to use the .NET Platform to create applications that target iOS, macOS, Windows, Android, Tizen, and hopefully a whole lot more.

Succeeding Xamarin.Forms, .NET MAUI brings in various ideologies from the latest versions of .NET, few of which are — a simplified experience incorporating the simple project setup as seen in Console/WebAPI projects in the latest .NET versions, cross-platform development (development on Mac, Windows or Linux — using Visual Studio or Visual Studio Code), making the Framework open source, etc.,.

To the seasoned .NET/Xamarin.Forms/WPF developers, the experience will feel pretty familiar, albeit there will be differences waiting around the corner. For developers trying it out for the first time, I would recommend focusing on INotifyPropertyChanged , partial classes, the XAML binding syntax to understand what is exactly happening behind the scenes.

To see how to set your machine up to get started with .NET MAUI, checkout my previous article — Setting up your Mac for .NET MAUI

Creating reusable components in .NET MAUI

Like any other Framework/Library used for creating User Interfaces like Svelte…

--

--

Sahu

All opinions shared are personal and not influenced by my Employer • Senior Software Engineer @ McKinsey & Company