Use a different Blazor project inside the MAUI application

Gerwim 20 Reputation points
2023-09-20T18:24:09.8633333+00:00

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.

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

Accepted answer
  1. Bruce (SqlWork.com) 68,311 Reputation points
    2023-09-20T18:32:31.5+00:00
    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.