In MAUI app, how do I Use Dependency Injection in AppShell

I would like to use a service I created (with the interface IAuthenticationService ) inside the AppShell of a MAUI app (AppShell.xaml.cs). In other words to do something like this: public partial class AppShell : Shell private readonly IAuthenticationService _AuthenticationService; public AppShell(AuthenticationService authenticationService) { InitializeComponent(); _AuthenticationService = authenticationService; } For the above I added the… Read More In MAUI app, how do I Use Dependency Injection in AppShell