453 questions
0
votes
1
answer
67
views
.NET Maui Aspire integration not resolving ASP.NET Core Web API
I am trying to use the new .NET Maui Aspire integration to make my development life easier and I cannot get the service discovery to work where the app detects the API's URL. I'm following this https:/...
3
votes
1
answer
71
views
How to close a popup instead of navigating back when swiping or pressing back? [closed]
I’m building a .NET MAUI Blazor Hybrid app, and I want to handle back navigation (both swipe gestures and the hardware/software back button).
Here’s what I need:
If the user swipes back (like iOS ...
2
votes
1
answer
185
views
FontAwesome icons not displaying correctly on Android devices when used on XAML components in Maui Blazor Hybrid
I have a Maui Blazor Hybrid solution in VS2022. Most of my pages display inside of the BlazorWebView but a couple have been created in XAML to support some cameraview components.
I use Font Awesome 7 ...
2
votes
0
answers
104
views
Blazor Maui Hybrid app showing main window but not the login route?
For some reason my blazor maui hybrid app is just showing a blank window my routes.razor is this is inside my PasswordManager.App
<Router AppAssembly="@typeof(MauiProgram).Assembly"
...
0
votes
0
answers
93
views
MAUI Blazor app not updating via sideloading from network drive Windows
I’ve developed a .NET MAUI Blazor app, and it’s working perfectly in general. My goal is to distribute the app using sideloading on Windows.
Here’s what I’ve done:
I publish the app using Visual ...
0
votes
0
answers
36
views
Maui, Osx, CapturePhotoAsync gives me a black window
Calling MediaPicker.Default.CapturePhotoAsync() gives me a black screen when running on OSX (works fine in android emulator)
--- TL;DR ---
My code is
var photo = await MediaPicker.Default....
0
votes
0
answers
120
views
MAUI Android App "Deploy Failed" With No Errors in Visual Studio 2022
I inherited a MAUI app that is driving me insane. The application itself builds properly in Visual Studio 2022 but when I try to deploy it to the emulator, it just says "Deploy Failed" but ...
3
votes
0
answers
84
views
How to show webpage in Blazor hybrid?
I want to show a webpage inside my Blazor hybrid mobile application. I don't want to navigate to a new native MAUI content page; I need to do it inside the razor component. Is there any way to do that?...
0
votes
1
answer
111
views
How I can set SMS permissions? [closed]
I'm developing an application in Maui on .NET 9 that sends text messages. I've granted the SEND_SMS permission in the manifest and compiled the signed APK. However, on the phone, I can't activate the ...
-3
votes
1
answer
269
views
Cannot publish Dotnet Maui app to EXE or MSI rather than MS Store
Windows Forms apps (as an example) and Electron apps (as another example) can be downloaded and installed with ease by users without using the Microsoft Store.
At no point in the long process of ...
0
votes
1
answer
126
views
Blazor Virtualize for endless scrolling example in Microsoft documents are outdated and no example on internet
I tried second example here https://learn.microsoft.com/en-us/aspnet/core/blazor/components/virtualization?view=aspnetcore-9.0
I tried to implement endless scrolling using native Blazor, without ...
-1
votes
1
answer
88
views
Why is the EditForm not triggered?
The EditForm (EditFormHELP/Components/Pages/RegisterPage.razor) is not triggered by DataAnnotationsValidator, neither on OnValidSubmit as in the git repository, nor by submit event OnSubmit, and nor ...
0
votes
1
answer
225
views
build installation wizard with inno setup for .net maui blazor hybrid apps? [duplicate]
I'm make an installation wizard for my maui app with inno setup and am very close to complete it except for this problem after the app is installed and lunched the window is empty
the image of the ...
1
vote
0
answers
73
views
how to show http image in maui hybrid
For development purpose i need to use my http image in blazor hybrid maui andoid, what are the way to this.
I have tried by using in AndroidManifest.xml with android:usesCleartextTraffic="true&...
0
votes
0
answers
59
views
.NET 9 MAUI Hybrid App, HttpContext is NULL
I am trying to reference a json file in .NET 9 Blazor Server MAUI hybrid app with shared, web and devices (android, ios) etc projects.
I have created a folder called "seo" in Shared project ...
3
votes
2
answers
293
views
"The program 'NNN.exe' has exited with code 3221226356 (0xc0000374)" Error Randomly Occurs or no in fresh ".NET MAUI Blazor Hybrid and Web App"
I have initialized the empty solution and added the ".NET MAUI Blazor Hybrid and Web App" type project:
I have not touched the source code yet.
Once I have launched the debugging of Native ...
0
votes
1
answer
48
views
MAUI Blazor Hybrid - Unauthorized after closing a Modal
I created a test application to show my problem using Blazor Hybrid with .NET MAUI (.net 9) with the AuthenticationState of a user.
My test project on github: https://github.com/tPeif/...
2
votes
2
answers
149
views
NullReferenceException when calling StateHasChanged() in base component class in .NET MAUI Blazor Hybrid app
I'm working on a cross-platform project using Blazor WebAssembly and .NET MAUI Blazor Hybrid (targeting .NET 8). I'm using Fluxor for state management across both environments.
In my shared component ...
0
votes
1
answer
93
views
Blazor JS Interop // javascript window events and functions not working
In a Blazor MAUI Hybrid app, I am trying to save the scroll position per page so that if returning to the page the saved scroll position is then reapplied.
I know that I should be saving it in session ...
0
votes
1
answer
301
views
Configuring keychain sharing in a .NET MAUI iOS app
I have several old (objective c and swift) apps that use a shared keychain (for storing login information).
I am rewriting one of these older applications using .NET MAUI.
I am having problems ...
1
vote
0
answers
117
views
Why is SignalR in ASP.NET Core making my .NET Maui app bug?
When I install the package AspNetCore.SignalR.Client in my .NET Maui app, the app bugs and I can't open my NavMenu or basically anything else. Just installing the package makes the app bug out, when I ...
0
votes
0
answers
48
views
2sxc Gallery v7 Resource Referencing Error in Oqtane MAUI App
Oqtane 6.1.0 running on Azure App Service. Installed the 2sxc Gallery v7 using the marketplace module install.
The gallery loads and works perfectly when the app is run via website, but we're trying ...
1
vote
0
answers
169
views
How can I add the MAUI Blazor start page to the mobile project using the .Net Maui Blazor hybrid and web app template?
I have a .Net Maui Blazor hybrid and web app solution, with the four mobile, web, shared and client projects.
Most of the application is in the shared project and the mobile and web projects display ...
1
vote
1
answer
88
views
Blazor Hybrid window move event?
I've been trying to find how to register the move event of any of the windows types in a blazor hybrid app.
All of these have a SizeChanged event or similarly named, but none of them something like ...
0
votes
0
answers
50
views
trying to communicate with web service on Localhost deploying app on Windows machine communicates with web service but when running on android Error
Error:
StatusCode: 400, ReasonPhrase: 'Bad Request', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
[DOTNET] {
[DOTNET] Connection: close
[DOTNET] Date: Fri, 21 Feb 2025 09:51:10 GMT
[...
0
votes
0
answers
66
views
What are the steps necessary to enable Webview in an android app built using .Net MAUI with Blazor Hybrid?
The goal is to validate CSS properties of android app elements e.g. text color, font size etc using appium with selenium with java for android app automation.
The android app is built using .net maui ...
0
votes
0
answers
253
views
My .Net 9.0 MAUI Blazor hybrid app reports 'does not contain a static 'Main' method suitable for an entry point' when being published
In Visual Studio 2022, I created a .Net 9.0 MAUI Blazor hybrid app, which I was able to publish, straight away.
After adding content and functionality to my project, which builds and runs on all ...
0
votes
1
answer
129
views
Where to locate reference files for multiple platforms in .NET 9.0 MAUI Blazor Hybrid & Web?
In Visual Studio 2022, the new version .NET 9.0 project template ".NET MAUI Blazor Hybrid and Web App" will create the following projects in a new solution:
ProjectName
ProjectName.Shared
...
0
votes
1
answer
380
views
.NET 9 Maui Blazor Hybrid & Web: Javascript and Reference files
I have been learning .NET 8 Maui Blazor Hybrid for the past few months to build a multiplatform app for Windows, Android, and iPhone. It's pretty cool, but there was a learning curve. I would like to ...
1
vote
1
answer
286
views
.NET MAUI (WinUI 3) custom URI protocol always opens a new instance instead of reusing the running app
I have a .NET MAUI app that needs to handle a custom URI scheme (dayplanner://) for authentication callbacks. On Android, the redirect triggers OnAppLinkRequestReceived(Uri uri) as expected, allowing ...
0
votes
1
answer
145
views
Android Device Manager Pop's Up for few seconds while running new MAUI project in VS 2022
I am trying to run my first MAUI project but whenever I try to run this with android emulator Android Device Manager pop ups for 1-2 seconds and process stops.
Please check screenshot of Android SDK....
0
votes
0
answers
467
views
Blazor Hybrid .NET MAUI using HttpClient
I'm using Blazor Hybrid with .NET MAUI in combination with a REST Web API to fetch data.
To get my data from the API, I use a service (e.g. UserService) and the service needs an httpClient. The ...
0
votes
1
answer
106
views
Updating Visual Studio breaks namespaces for my Blazor Maui project
I recently updated my visual studios 2022 to the latest version (17.8.16 -> 17.12.3), and since that I've done such my Maui project shows that I have 99+ errors such as "Type or namespace name ...
1
vote
1
answer
141
views
BlazorWebView in a Shell app opens, but after exit and navigate back into it, it hangs (does not open)
I have a Shell App that has many pages for demostration, I have one page BlazorWebViewPage that opens a Blazor website, succesfully, but only the first time. If I revisit the page, it does not open ...
8
votes
2
answers
10k
views
How to resolve NET MAUI workload version mismatch?
I am new to .NET and I have been receiving this error:
"The current .NET MAUI package version '9.0.21' requires the .NET MAUI workload version to be at least '9.0.0'. The current .NET MAUI ...
-2
votes
1
answer
205
views
.NET MAUI Blazor How to prevent iOS keyboard from pushing up the entire screen when focus on textarea?
I know this is a very old question but I have tried many solutions and it did not work on .NET Maui Blazor. I just dont want the view to go up or move when ios keyboard shows up when focusing on a ...
0
votes
0
answers
162
views
Blazor/Maui Hybrid using Entra ID [duplicate]
I'm building an app that needs to run on Web, Android and iOS.
I'm hoping to write it most of it in Blazor using a Blazor Class Library hybrid design with Maui like this: https://github.com/dotnet/...
2
votes
2
answers
1k
views
.NET MAUI Blazor: Android Status Bar Covers Top Portion of App
Right out of the box, the example "Hello, World!" code for .NET MAUI Blazor Hybrid (.NET 9.0) has a navigation menu that works when running on Windows. You can clearly see and click menu ...
0
votes
1
answer
297
views
Access to wwwroot folder denied in dotnet MAUI Blazor-Hybrid application
I have a dotnet 8 MAUI Blazor Hybrid application and I need to save a file in the wwwroot/videos folder.
Everything works fine on my machine in DEBUG and RELEASE running through Visual Studio and when ...
0
votes
1
answer
174
views
Issue with Blazor (MAUI Hybrid) and page lifecycle
I am trying to improve the user experience of my app by showing loading indicators while it retrieves data from a server, but there seems to be something wrong with my understanding of how the ...
0
votes
0
answers
61
views
Arabic text not rendered in a DevExpress report on Android
I am using MAUI and XtraReports to print an invoice, however arabic text in the invoice is not rendered leaving only numbers and english letters. I have tried using Blazor hybrid as well but it gives ...
0
votes
1
answer
278
views
.Net MAUI Assets file doesn't have a target for 'net8.0' for Class Library
This is where VS drives me crazy. I have a solution that has a .NET MAUI Hybrid project, plus a Class Library project. All was fine and I was able to deploy it about 5 times, and then all of a ...
0
votes
1
answer
259
views
.NET 9 Blazor Hybrid with web app. Accessing WebAssembly DI
In the Visual Studio template for .NET MAUI Blazor Hybrid and web app template with "InteractiveWebAssembly", I get the following projects:
MauiApp1 (Mobile and Windows Clients)
MauiApp1....
0
votes
0
answers
181
views
How to remove white flash from NET.MAUI Blazor app?
I was building a cross-platform app for a client, but this app required dark mode. But every time the user launched the app, they would get a blinding flash of white, which ruined the user experience ...
0
votes
0
answers
157
views
MAUI: Different behavior in release build
Like others also our MAUI App crashes only in release but works fine in debug. I tried every solution I found elsewhere.
(Turned of ahead of time optimisation and trimming, for example).
Also be noted ...
0
votes
1
answer
54
views
Type a date on Android
I have a .Net Maui Blazor Hybrid and Web App.
The challenge that I have, is that when I run the solution on windows and in a browser, I am able to type the date in an InputDate field, but on Android ...
2
votes
1
answer
683
views
MAUI Blazor Hybrid not loading simple startup template for Windows
I am trying to setup a brand new project using Visual Studio 2022, using template for MAUI Blazor Hybrid App with web app.
It creates 3 projects in a solution:
A web project (server side rendering)
A ...
0
votes
1
answer
205
views
.NET MAUI Hybrid Blazor Copy to Clipboard
I've found a few resources on how to copy to clipboard within MAUI Native, plus within Blazor Server, but I'm wondering how can you get copy to clipboard working on a Blazor page within a .NET MAUI ...
1
vote
1
answer
86
views
MAUI Blazor not respecting device language on Android
So i've implementend an datetime picker using Maui Razor Hybrid.
So my problem is like this: MAUI Blazor not respecting device language on iOS
But with Android..
i've alredy test with this, without a ...
0
votes
1
answer
829
views
How to use <WebView /> to display a PDF in .NET MAUI Blazor Hybrid
I need to show a PDF stored in the app's local storage in a WebView component. The PDF should be opened within the app.
PDF's path is similar to this. But the PDF name can be changed.
/data/user/0/com....