Open Pinox opened 2 years ago
If you could provide a Template Studio-based reference project that shows what a BlazorWebView page would like look, that would be helpful.
+@danroth27
@mikebattista @danroth27 @SteveSandersonMS In Maui it would be as simple as this , but no idea how you do that in native WinUI3
We currently have BlazorWebView
controls for .NET MAUI, WPF, and Windows Forms. We don't have one yet for WinUI 3, although it's certainly possible to add one if there is sufficient user demand. Currently all of the BlazorWebView
implementations live in the https://github.com/dotnet/maui repo, so that's the right place to request a WinUI 3 BlazorWebView
.
thanks @danroth27 I really like the Hybrid Blazor concept in MAUI and would like to reuse my web Blazor Views in native WinUI 3. The Blazor Hybrid approach in WinUI 3 can significantly enhance my UI resources as I can then use Blazor + native WinUI3 controls in the same app. It also encourages UI sharing between Web + Native and will significantly decrease the cost of native development.
I think it will also make native WinUI development more approachable and powerful where I can now sherry pick the best UI assets that exist in the market. ( from web , native controls or skia ) and my feeling is native development needs this as it is becoming more and more difficult to justify native WinUI3 development over PWA apps.
I will open a feature request in the maui repo as suggested.
Is your feature request related to a problem? Please describe.
In Blazor we have a counter page as example.
Please add an example where you display the blazor view and not just the webview.
eg.
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response
Applies to the following platforms: