TOP 5 .NET MAUI new features🏅
Tags: csharp, dotnet, netcore, netmaui
Published: 2021-07-23 10:55:00

## 🔄 About .NET MAUI
_Microsoft_ has already started publishing **.NET MAUI** Previews these days. They show some exciting new features that will greatly reduce time and improve performance when programming.

In case you don’t know what _.NET MAUI_ is, it’s the **evolution** of **Xamarin.Forms**, extended from mobile to desktop scenarios, with **UI** controls rebuilt from scratch for performance and extensibility.

---

## ✅ Possible new C# 10 features

### 🔼.NET Hot Reload

**.NET Hot Reload** is a new feature, which according to _Microsoft_, will allow you to make live edits to the source code of your _.NET MAUI_ application while it is running, **reducing** the number of times you need to rebuild your application.

They also tell us that in the next versions _.NET Hot Reload_ will also be available for **Android**, **iOS** and **macOS**, and will also integrate _XAML Hot Reload_ and _Live Visual Tree_.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/o0ycs7zegzimxscgrug4.png)

---

### 🔼BlazorWebView

The **new** _BlazorWebView_ lets you **host** a Blazor web application **directly** in your .NET MAUI application and take advantage of native platform functionality and user interface controls. The control can be added to **any XAML page** and pointed to the root of the Blazor application.

```csharp
<BlazorWebView  
  HostPage="wwwroot/index.html"  
  Services="{StaticResource Services}">  
 <BlazorWebView.RootComponent>  
    <RootComponent  
      Selector="#app"  
      ComponentType="{x:Type local:Main}"  
    />  
  </BlazorWebView.RootComponent>  
</BlazorWebView>
```

---


### 🔼Slim processors

Also _.NET MAUI_ will have a function to **migrate** a custom renderer from _Xamarin.Forms._ Although these can be used with some compatibility package, _Microsoft_ claims that this will help the application to be much lighter and to develop it much more efficient.

> dotnet build -t:Run -f net6.0-android  
> dotnet build -t:Run -f net6.0-ios  
> dotnet build -t:Run -f net6.0-maccatalyst

---


### 🔼Splash Screen

On mobile platforms especially you want your **first screen** to appear as **quickly** as possible, and this is done by implementing a static splash screen. _.NET MAUI_ now has a single place to describe your splash screen for all platforms that support them.

<MauiSplashScreen Include="Resources\\appiconfg.svg" Color="#512BD4"/>


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/si9hkvtpdell309gsjut.png)

---


### 🔼Unification of libraries in .NET MAUI

As _Microsoft_ tells us, _.NET MAUI_ will come with a **unification** of critical libraries. You will provide several benefits by merging the _Xamarin.Essentials_ library into the _.NET MAUI_ so that with these, you can **easily** use the device’s capabilities such as device sensors, photos, contacts, and many services that you use on a regular basis, such as authentication and secure storage.

---


## 🤔 What to expect from this in the future on Maui?

*   _.NET MAUI_ at the time managed to have **feature-parity** (equality of characteristics) and achieve much **better performance** (than it already has in itself) than it has today to develop **Android** applications, **iOS**, **UWP** and other platforms.
*   In addition, we will not have to worry about having to implement complex _Handlers_ or the cross-platform appearance that we really need to do, which we would end up doing (if it were the case) at a native level using the same **APIs** of the mobile platforms.

---


## 🟢 Conclution:

.NET MAUI has only a few months left to go officially. The latest features mentioned by Microsoft in the Previews are very powerful. At the moment we still have a little left to have it and apparently it will greatly facilitate developers to program web, console or mobile applications.

What do you think?🤔