Prism is a framework for building loosely coupled, maintainable, and testable XAML applications in WPF, Windows 10 UWP, and Xamarin Forms. Prism provides an implementation of a collection of design patterns that are helpful in writing well-structured and maintainable XAML applications, including MVVM, dependency injection, commands, Event Aggregator, and others. Prism's core functionality is a shared code base in a Portable Class Library targeting these platforms.
More information about Prism.
Reading this article, you will learn how to use Prism in Xamarin Forms application for Android and Universal Windows Platform with XAML and Visual C# in cross-platform application development.
The following important tools are required for developing UWP.
- Windows 10 (Recommended)
- Visual Studio 2017 Community/Enterprise/Professional Edition (Software available online https://www.visualstudio.com/downloads/)
- Using Visual studio 2017 Installer, Enable the feature of Mobile development with .NET.
Now, let's discuss step by step App development.
Step 1
Open Visual Studio 2017 -> select Tools Menu -> select Extension and Updates.

Step 2
Open Visual Studio 2017.

Step 3
Select the platform in Prism Project Wizard.

Step 4
Afterwards, Visual Studio creates 4 projects (Portable, Droid, iOS, UWP) and portable project having the folder of View Models and views in the concept of MVVM.

Step 5
In Views folder >> MainPage.Xaml Page, add labels for displaying a message.


Join the conversation! Your thoughts help the community grow.