© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
2 replies
TheBrambleShark

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()
Program.Main()
. I created a new Maui app to find that the main entry point appears to be
MauiProgram.CreateMauiApp()
MauiProgram.CreateMauiApp()
. Why is there a difference in the entry point of the application? Was it intended to mirror the
Startup.cs
Startup.cs
file from asp.net core apps and they just hid
Program.cs
Program.cs
from me?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

MAUI Problem [Answered]
C#CC# / help
4y ago