aokocax Software developer, develops tools and projects, likes startups.

Showing an intro page when an app is first installed in .net MAUI.

In many applications, we use the intro page to inform users about the application when the application is first installed. You can do this by registering a preference when the application is first opened. I am sharing the code block as an example.
App.xaml.cs
    public App()
    {
	InitializeComponent();
        string guid = Preferences.Default.Get("guid", "");
        if (string.IsNullOrEmpty(guid))
        {
            Preferences.Default.Set("guid", Guid.NewGuid().ToString());
            MainPage = new IntroPage();
        }
        else
        {
            MainPage = new MainPage();
        }
    }


Press ESC to close