Touching Base with .NET MAUI Essentials | Syncfusion Blogs
Live Chat Icon For mobile
Live Chat Icon
Popular Categories.NET  (173).NET Core  (29).NET MAUI  (203)Angular  (107)ASP.NET  (51)ASP.NET Core  (82)ASP.NET MVC  (89)Azure  (40)Black Friday Deal  (1)Blazor  (211)BoldSign  (13)DocIO  (24)Essential JS 2  (106)Essential Studio  (200)File Formats  (65)Flutter  (132)JavaScript  (219)Microsoft  (118)PDF  (81)Python  (1)React  (98)Streamlit  (1)Succinctly series  (131)Syncfusion  (897)TypeScript  (33)Uno Platform  (3)UWP  (4)Vue  (45)Webinar  (50)Windows Forms  (61)WinUI  (68)WPF  (157)Xamarin  (161)XlsIO  (35)Other CategoriesBarcode  (5)BI  (29)Bold BI  (8)Bold Reports  (2)Build conference  (8)Business intelligence  (55)Button  (4)C#  (146)Chart  (127)Cloud  (15)Company  (443)Dashboard  (8)Data Science  (3)Data Validation  (8)DataGrid  (63)Development  (618)Doc  (8)DockingManager  (1)eBook  (99)Enterprise  (22)Entity Framework  (5)Essential Tools  (14)Excel  (39)Extensions  (22)File Manager  (6)Gantt  (18)Gauge  (12)Git  (5)Grid  (31)HTML  (13)Installer  (2)Knockout  (2)Language  (1)LINQPad  (1)Linux  (2)M-Commerce  (1)Metro Studio  (11)Mobile  (501)Mobile MVC  (9)OLAP server  (1)Open source  (1)Orubase  (12)Partners  (21)PDF viewer  (42)Performance  (12)PHP  (2)PivotGrid  (4)Predictive Analytics  (6)Report Server  (3)Reporting  (10)Reporting / Back Office  (11)Rich Text Editor  (12)Road Map  (12)Scheduler  (52)Security  (3)SfDataGrid  (9)Silverlight  (21)Sneak Peek  (31)Solution Services  (4)Spreadsheet  (11)SQL  (10)Stock Chart  (1)Surface  (4)Tablets  (5)Theme  (12)Tips and Tricks  (112)UI  (381)Uncategorized  (68)Unix  (2)User interface  (68)Visual State Manager  (2)Visual Studio  (31)Visual Studio Code  (17)Web  (582)What's new  (323)Windows 8  (19)Windows App  (2)Windows Phone  (15)Windows Phone 7  (9)WinRT  (26)
Touching Base with .NET MAUI Essentials

Touching Base with .NET MAUI Essentials

Howdy! I’m very excited that you, dear reader, are here. In this article, we will be answering a question most developers have had in mind ever since the news of .NET MAUI broke: What will happen to Xamarin Essentials?

 Also, we will be talking about the future of applications that already use Xamarin Essentials, and we’ll take a small tour of some of the great APIs that we can continue using in .NET MAUI!

Introducing .NET MAUI Essentials

In .NET MAUI, we are going to continue working with the wonderful set of APIs provided by Xamarin Essentials, but it will be called .NET MAUI Essentials. Just like Xamarin Essentials, it is a set of cross-platform APIs that allow access to the amazing functionalities of different platforms such as Android, iOS, and UWP, which you can access from shared code in .NET MAUI. The Microsoft team has been actively working to make this a smooth transition to .NET MAUI.

Easily build cross-platform mobile and desktop apps with the flexible and feature-rich controls of the Syncfusion .NET MAUI platform.

When will .NET MAUI Essentials be available?

It’s available now! Preview 6 of .NET 6 and .NET MAUI gave us access to all the APIs that Xamarin Essentials provided to us in Xamarin, but for .NET MAUI.

For this reason, if you go into the .csproj file, you will see that the UseMaui tag is already present in a line similar to <UseMaui>true</UseMaui>.

You just have to add the namespace using Microsoft.Maui.Essentials; and you can continue working as before!

Note: To learn more about .NET 6 Preview 6, refer to the blog Announcing .NET 6 Preview 6. To learn more about .NET MAUI Preview 6, refer to the blog Announcing .NET MAUI Preview 6.

What if I want to upgrade my Xamarin.iOS and Xamarin.Android apps to .NET 6 without .NET MAUI?

Some developers want to migrate to .NET 6 without .NET MAUI, but still want access to the .NET MAUI Essentials set of APIs.

To do so, they just need to add <UsingMauiEssentials>true</UsingMauiEssentials> to their .NET 6 iOS and Android apps to incorporate all the latest APIs.

Syncfusion .NET MAUI controls are well-documented, which helps to quickly get started and migrate your Xamarin apps.

Let’s take a tour some of the most exciting APIs from Xamarin Essentials

 Here are some of my favorite APIs available in Xamarin Essentials! 

  • SMS: Imagine you want to copy a message from your application and paste it in an SMS message. This could prove difficult depending on the device. As part of being a developer, it is our responsibility to provide a good user experience. In this case, we should strive to accomplish the task in fewer steps without altering the result. With the SMS API, you can open the device SMS sender with all the corresponding data already added—you just have to hit send! This is why I love it!
  • Email: This API allows us to send email quickly and easily without affecting the performance of the application.
  • Share: We want to share files all the time, sometimes to support some information we just shared, or to make information more clear. This is where the Share API comes in handy.
  • Preferences: I love Preferences! This API helps us save information on the device to make certain functionalities easier. For example, we can use it to save an email address the end user uses to log in to an app so they don’t have to re-enter it every time. 
  • Map: The Map API gives us a simple, precise, and concise way to guide a user to a certain location from within our application. 
  • Contacts: The Contacts API helps us obtain information from the contacts saved to the device and interact with it directly. 
  • Flashlight: This is just one example of an API that helps us manage a specific hardware functionality from our app. Others include Accelerometer, Barometer, and Battery.

There are other super useful and impressive APIs that if you have not inspected them, I recommend you to take a look! 

Note: To learn more about APIs, refer to Xamarin.Essentials documentation.

To make it easy for developers to include Syncfusion .NET MAUI controls in their projects, we have shared some working ones.

Important points to remember leading up to .NET MAUI:

  • Microsoft will continue supporting Xamarin Essentials until November 2022 (same schedule as Xamarin.Forms). Requests for bug fixes and new versions of services will be released and will continue to be accepted until November 2022.
  • Your experience with .NET MAUI Essentials in .NET MAUI Preview 6 is very important to its development. You can share your thoughts by interacting with the developers responsible by accessing the dotnet/maui GitHub repo.

Conclusion

I hope you’re even more excited about .NET MAUI than you were before reading! .NET MAUI represents an enormous milestone for cross-platform development, and I, for one, cannot wait to see what the developer community is going to do with it.

The Syncfusion .NET MAUI suite offers more than 10 UI controls and libraries to build .NET MAUI applications. Try them out and share your feedback with us.

Syncfusion’s Xamarin suite offers over 150 UI controls, from basic editors to powerful, advanced controls like DataGridChartsListView, and Rich Text Editor. Use them to build elite applications!

Also, you can contact us through our support forumsupport tickets, or feedback portal. We are always happy to assist you!

Thanks for reading!

Test Flight
App Center Badge
Google Play Store Badge
Microsoft Badge
Github Store Badge

Related blogs

Tags:

Share this post:

Comments (1)

Only to say that the MAUI Essentials property to add in the project is not true but true

Comments are closed.

Popular Now

Be the first to get updates

Subscribe RSS feed

Be the first to get updates

Subscribe RSS feed