C
C#3y ago
Foxtrek_64

MAUI Entry Point - MauiProgram.cs [Answered]

Typically when creating a new application, be it Console, WPF, WinForms, or Web, the main entry point of the application is Program.Main(). I created a new Maui app to find that the main entry point appears to be MauiProgram.CreateMauiApp(). Why is there a difference in the entry point of the application? Was it intended to mirror the Startup.cs file from asp.net core apps and they just hid Program.cs from me?
2 Replies
Foxtrek_64
Foxtrek_64OP3y ago
Ah, I see how they're doing this now. The Platforms directory has several entry points, this just provides a common builder.
Accord
Accord3y ago
✅ This post has been marked as answered!

Did you find this page helpful?