Questions tagged [maui-blazor]
263 questions
24
votes
7 answers
MAUI .NET Set Window Size
How can I set the window size in MAUI?
Background info: I only care about Windows for this application - I chose MAUI so I could use Blazor for a desktop application. For some reason the default window size is massive (takes up almost all of my…

Sellorio
- 1,806
- 1
- 16
- 32
10
votes
5 answers
How to set window title for a MAUI Blazor App targeting Windows?
Ive created a small application from the MAUI Blazor app template in MAUI preview 10 and have it targeted and running on windows. I however wish to set the title of the application which I imagined would be done with the Title attribute in the…

olabacker
- 1,232
- 1
- 16
- 27
9
votes
4 answers
How to run MAUI Blazor App in a web browser?
How can I run a MAUI Blazor App in a web browser?
I've used the VS MAUI with Blazor sample project

Daniel Ross
- 95
- 1
- 3
9
votes
2 answers
How to Debug .NET MAUI Blazor Hybrid Windows UI
I am basically from web background and trying out .NET MAUI Blazor Hybrid.
I am running into errors during development with .NET MAUI Window, but not sure how to debug it?
I have looked around all type of windows and cannot find error details…

NSS
- 1,835
- 2
- 29
- 66
7
votes
3 answers
MAUI blazor an unhandled error has occurred
If there is an error in the program, I get "An unhandled error has occured".
With Blazor Web assembly I can open the developper tools in the browser to get the details of what happend. This is not possible in Blazor MAUI.
So how can I get the…

Bert
- 87
- 1
- 6
7
votes
3 answers
Catch and display on the page any error in a .NET Maui Blazor project
For testing purpose, I would like to 'catch' any error occuring in my app and displaying it on the page (not in the console). For that purpose I discovered the ErrorBoundary component in the .Net 6 framework.
ErrorBoundaries doc from Microsoft
At…

Bronzato
- 9,438
- 29
- 120
- 212
6
votes
1 answer
Wrap an existing Blazor Web Assembly app into a .NET MAUI Hybrid App
I watched this tutorial on how to create a .NET MAUI Blazor App
https://www.youtube.com/watch?v=bnoCU5XGBh4
However I have an existing Blazor Web Assembly app, what is the best recommended way to wrap it into a BlazorWebView? I have dug around for…

User101
- 748
- 2
- 10
- 29
6
votes
1 answer
Blazor hybrid (MAUI) authentication with Blazor web view
I'm attempting to build a small sample Blazor Maui app which authenticates the user with identity server. I'm trying to get to the point where I can login from the Maui app and then, whenever I use the blazorWebview component, the authentication…

Stix
- 182
- 1
- 10
6
votes
1 answer
Light and dark theme for my Maui Blazor app
I would like to implement light and dark theme inside of my Maui Blazor application. As you know, Blazor is nothing other than Html and Css so I easily implement dark and light theme for the content of my app (thanks to a simple .dark class added on…

Bronzato
- 9,438
- 29
- 120
- 212
5
votes
1 answer
How to use camera QR Code Reader on MAUI Blazor Hybrid
Has anyone found a working solution on scanning QR Codes from a Blazor MAUI Hybrid App?
I have found number of libraries (e.g. BigIslandBarcoding, ZXing.Net) for "normal" Blazor but nothing speicifc to do this on a mobile device (iOS and Android)…

dpc46
- 185
- 4
- 18
5
votes
2 answers
Maui Blazor or XAML?
I want to get into Maui and identified a first project for me. Now I am at the point where I have to decide whether to get into Blazor or XAML.
My app shall have these technical requirements:
Own color theme
Responsive layout
Access OneDrive
Target…

Michael Wagner
- 211
- 4
- 9
5
votes
0 answers
Difference between debug and release builds in Maui ios
I'm using Maui preview (now release candidate) with a blazorwebview, to build a fairly simple app which connects to a webservice and synchronises data.
The windows and Android versions flew by. The iOS version has been a long slog. After upgrading…

Jim
- 479
- 2
- 8
4
votes
2 answers
Maui Blazor - CS0029 when passing component @ref
After updating Visual Studio to version 17.6.0, the following error occurred in my MAUI project:
Error CS0029 Cannot implicitly convert type 'Microsoft.AspNetCore.Components.ElementReference' to ''
Here is my code:
@using…

MJSasha
- 51
- 4
4
votes
1 answer
How can you integrate Google Admob in a .NET MAUI app?
I have a MAUI Blazor App on android and I want to use Google ads on it. So far, I couldn't find a way to do it.
Some solutions I've found involved using MauiMTAdmob plugin but it didn't work for me. I was getting a lot of errors and I couldn't even…

F Andrei
- 668
- 2
- 9
- 24
4
votes
0 answers
How can we integrate external push notifications with .NET Maui for iOS and Android?
I am building a .NET MAUI app with Blazor for iOS initially (and targeting Android soon).
I want to enable and integrate external push notifications, that can be sent from our backend, hosted in Microsoft Azure.
(I am new to apps & notifications, so…

Sam Vanhoutte
- 3,247
- 27
- 48