Use a different Blazor project inside the MAUI application

Gerwim 20 Reputation points

Hi there,

I'd like to use a different project (within the same solution) to be used inside a MAUI webview.

The structure looks like:

  • Solution
    • Blazor application
      • MAUI wrapper application

The MAUI wrapper application should start the Blazor application and simply show it's contents (albeit navigation to localhost:3000). I'd rather not manage the process itself (e.g. using Process.Start etcetera) but I'm open for options.

The reason to use this setup is that Blazor application should be running on all three major platforms (Windows, MacOS and Linux). MAUI supports only Windows and MacOS, so I want a "wrapper" around the Blazor application.

Any ideas on how to achieve this would be greatly appreciated.

Microsoft Technologies based on the .NET software framework.
2,316 questions
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,212 questions
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,192 questions
{count} votes

0 additional answers

Sort by: Most helpful