I am a long-time C# developer. But I don't have so much experience in app development unfortunately.
I would love to develop an app with e.g. .NET MAUI or Blazor but I am wondering how to develop an ASP.NET API which I can then use in multiple constalations like in an app (MAUI/Blazor/iOS etc.) or in a web application like ASP.NET Razor Pages.
And then wonder why there is no ASP.NET template where ASP.NET Razor Pages uses an ASP.NET Web API. Especially it would be helpful if this also includes authentication and authentication and authorization.
Are there too good templates or tutorials here?
I would not like to use an Identity Server. I would prefer to use ASP.NET Identity but I also need to be able to develop an app that supports e.g. Apple Login which in turn uses the ASP.NET Web API securely.
Does anyone have a good starting point for these topics?