Single Code, Single UI web application + apps

Kevin Azure 141 Reputation points
2023-01-13T01:30:19.5066667+00:00

I want to create a web application which can be extended by apps too.

[single coding, single html ui - reusable as website, ios app, android app - no desktop app]

Is .Net MAUI the best tool to create same?

What are the design & strategies involved?

Please advice.

Developer technologies .NET Blazor
Developer technologies .NET .NET MAUI
Developer technologies C#
0 comments No comments
{count} votes

Accepted answer
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,436 Reputation points Microsoft External Staff
    2023-01-13T07:58:04.9733333+00:00

    Hello,

    Blazor Hybrid support is built into the .NET Multi-platform App UI (.NET MAUI) framework and can be built with Windows Presentation Foundation (WPF) and Windows Forms. You can choose MAUI if you want to build for iOS, Android app.

    Additionally, by using .NET MAUI and Blazor together, you can reuse one set of web UI components across mobile, desktop, and web. That might be what you mean by "single coding, single html ui". Please refer to the doc- Reuse Razor components in ASP.NET Core Blazor Hybrid

    For more details, you can refer to
    ASP.NET Core Blazor Hybrid | Microsoft Learn
    Host a Blazor web app in a .NET MAUI app using BlazorWebView - .NET MAUI | Microsoft Learn

    Best Regards, Wenyan Zhang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentationto enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

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.