0% found this document useful (0 votes)
1K views5 pages

What Is Dot Net MAUI PDF

Dot Net MAUI is a new cross-platform UI framework that allows developers to build mobile and desktop applications using a single shared codebase. It improves upon Xamarin.Forms by allowing developers to target iOS, Android, Windows, and macOS from a single project. Dot Net MAUI simplifies development by handling platform-specific code and resources, while still providing access to native APIs. It supports existing patterns like MVVM and XAML, and new patterns like MVU, allowing applications to be written in C#. Dot Net MAUI is part of .NET 6 and will help developers transition existing Xamarin.Forms apps to the new framework.

Uploaded by

Bhuvan cynixit
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views5 pages

What Is Dot Net MAUI PDF

Dot Net MAUI is a new cross-platform UI framework that allows developers to build mobile and desktop applications using a single shared codebase. It improves upon Xamarin.Forms by allowing developers to target iOS, Android, Windows, and macOS from a single project. Dot Net MAUI simplifies development by handling platform-specific code and resources, while still providing access to native APIs. It supports existing patterns like MVVM and XAML, and new patterns like MVU, allowing applications to be written in C#. Dot Net MAUI is part of .NET 6 and will help developers transition existing Xamarin.Forms apps to the new framework.

Uploaded by

Bhuvan cynixit
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

What is Dot Net MAUI?

Whenever we think of the Dot NeT environment, there one word comes forward:
Code Re-use. It's amazing to think that to what extent we can work within one
.NET codebase. Besides, this is especially true with the intro of Dot NET Core, and
technologies like Xamarin (later Xamarin.Forms).

Dot Net is an open-source cross-platform support framework using which users


can use different languages, editors, and libraries to develop for the web, mobile,
desktop, games, Internet of Things, etc.

Nowadays, people move between different devices throughout the day to stay
maximum productive. It’s become enhancing important that the applications
written are accessible, irrespective of the devices that our users use. This makes
the web very powerful, and there are many benefits to write our application for
the web browser. But, while doing this, we may lose out on the controls and
performance offered to us by the OS vendors over the native platform. Moreover,
it makes the application relatively strange to use and to look at the same.

Language Support

.Net applications are also written in C#, F#, and Visual Basic languages as well.

• The C# is a simple, easy, modern, OOPS, and safe-typing programming


language.
• F# supports different-platforms, free, functional programming language for
Dot NET. It also consists of object-oriented and imperative programming as
well.
• Visual Basic is a friendly programming language having a simple
syntax/command for developing type-safe, object-oriented applications.

What is MAUI in Dot Net?

MAUI refers to Multi-platform-App UI and this will be the 1st class UI framework
under Dot NET 6 useful for making Windows, iOS, Android, and macOS apps with
single projects and codebase. It is an advancement over Xamarin. Forms and takes
code reusability to the upcoming level. Instead of having individual projects to
target individual platforms, the user may only need a single project, and he can
choose the same platform that we want to deploy on.

This is more powerful than it might seem at the beginning. Resources and assets
like fonts, images, animation, etc will only need to have once within the single
project. And the Dot NET MAUI will take care of securing these assets for each
platform.

Similarly to Xamarin, we may also have access to the primary platform APIs if we
need to open the hood and perform some specific task. In fact, in Dot NET MAUI,
this process will be even much easier and more efficient.

MAUI .Net framework

Dot NET 6 is the completely revised developer productivity. As a part of the


productivity, it refers to not being locked-in to any individual structural patterns
that users may not be comfortable to use. Moreover, developers within Dot NET
MAUI can choose to use the traditional MVVM architecture pattern to write
multi-platform UIs. Otherwise, there is the MVU (Model-View-Update) pattern
that includes a code-first UI experience.

Dotnet MAUI used to simplify the choices for dot NET professionals, providing a
single stack that supports all modern workloads like Android, iOS, macOS, and
Windows. The native features of each platform and User Interface control are
within reach in a simple, cross-platform API for users. These deliver the best user
experiences while sharing even more code than earlier without compromising.

.Net MAUI is developed with a developer productivity mindset that includes the
project system and cross-platform tooling that developer’s need. Moreover, .NET
MAUI makes the project structure simpler into a single project to target different
platforms. It means the user can easily deploy to any target platform that he
wishes including desktop, emulators & simulators, or physical systems with a
single click.

With in-built cross-platform resources, the user can add any image, font, or
translation files into a single project. Besides, DotNET MAUI will automatically
setup native holders so that the user can just code.

Finally, the user will always have access to the native underneath operating
system APIs and it will be easier than earlier with new platform-specific
integrations. Under these platforms, users can add source-code files for a
particular OS and access the native APIs easily. With Dotnet MAUI everything is a
single place where the user needs to keep him productive.

Further, it delivers:

• Single project targeting different platforms and systems


• A single place to manage resources like fonts and images
• Moreover, it conducts Multi-targeting to arrange the platform-specific code

.Net MAUI example

Dot Net MAUI will be available for all of those platforms and supports the existing
MVVM and XAML patterns. Moreover, it helps in future capabilities such as
Model-View-Update (MVU) with C#, or even Blazor platforms.

MVVM

The Model-View-ViewModel or MVVM and XAML are the controlling pattern and
practices among .NET developers for a long time now. These are 1st-class features
within dotNET MAUI. Furthermore, this will continue to scale up and evolve to
help users to become productive building and managing production applications.

MVU

In addition to this, we are enabling developers to write fluent C# User Interface


and deploy the enhancing popular Model-View-Update (MVU) pattern.
The following is the basic syntax; for example within the MVU style written in Dot
Net MAUI.
readonly State<int> count = 0;
[Body]
View body() => new StackLayout
{
new Label("Welcome to .NET MAUI!"),
new Button(
() => $"You clicked {count} times.",
() => count.Value ++)
)
};

What’s next for Xamarin and Xamarin.Forms?

As a part of our Dot NET integration, Xamarin (iOS and Android) will become part
of (DotNet) .NET 6 as .NET for iOS and Dot NET for Android, etc. Because these
bindings are forecasts of the SDKs transited from Apple and Google. There is
nothing change, nevertheless developed tooling, target framework names, and
runtime framework monikers will get updated to match all other Dot NET 6
workloads. Besides, our dedication to keeping .NET developers up to date with
the trending mobile SDKs is the basement to DotNET MAUI and remains firm.

Transitioning from Xamarin.Forms to Dot Net MAUI

Xamarin.Forms developers/professionals will start at a fast pace with new


projects within .NET MAUI, using all the existing controls and APIs they have
developed to know. As we get closer to the Dot Net MAUI, we mean to help
developers make a smooth transition of current apps to Dot Net MAUI.
Furthermore, we also mean to provide try-convert support and migration
patterns equal to that we have today for migrating to dotNET Core.

Summing Up

Thus, the above article explains to you about DotNet MAUI and its various
features and uses technology. .Net is free to use a cross-platform framework that
provides programming guidelines to users to develop a vast range of applications.
I hope you got the overall idea of the .Net MAUI and also like to know more in this
regard. To get more knowledge in this area, go with .Net Online Training.

You might also like