I want to transfer an existing Blazor Server app to a MAUI Blazor Desktop application.
However, I am currently not able to transfer the web api controllers which are started with the blazor server app in the maui app.
The program.cs uses the
app.MapControllers();
to ensure the web api controller endpoints are available from the blazor server app.
Is it possible to also transfer the .net6 web api controllers from the Blazor Server over to the MAUI app? If so, how to start the controllers in the MAUI app startup?
Thanks for any suggestion on this topic.