3,056 questions with .NET MAUI tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

Cannot deploy to a physical iPhone using MAUI

I cannot deploy to a physical iPhone. I beleieve this issue started after last VS2022 update to 17.3.0 but I cannot be sure. Deployment to my iPhone was working fine at one time but has since stopped. My iPhone shows in the Debug drop down and in…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,056 questions
asked 2022-06-23T13:13:32.01+00:00
phil ciraolo 86 Reputation points
accepted 2022-07-02T11:27:04.883+00:00
phil ciraolo 86 Reputation points
0 answers

How to load dll in MAUI blazor?

I aming converting my app(webassembly) to maui blazor now, I have a list of dlls using reflection to do some dependency injection. But when I use the code "Assemby.Load("SSS.dll") it says the file is not found. But I do referenced the…

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,450 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,056 questions
asked 2022-07-01T03:31:28.593+00:00
Charley 1 Reputation point
commented 2022-07-01T09:14:03.61+00:00
Zhi Lv - MSFT 32,051 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

How to use custom WebView and how to use my WebViewClient and WebChomeClient?

The title has been clearly described

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,056 questions
asked 2022-06-23T09:35:55.467+00:00
Bank 21 Reputation points
accepted 2022-07-01T06:42:38.97+00:00
Bank 21 Reputation points
1 answer

ServiceController in MAUI application

Hi, Can you please tell when we can you ServiceController in MAUI application? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,056 questions
asked 2022-06-30T10:49:23.157+00:00
Dani_S 3,086 Reputation points
answered 2022-06-30T21:02:14.433+00:00
Rob Caplan - MSFT 5,427 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Mobile App connecting to cosmos DB: local database options?

I am currently developing a mobile app (MAUI + Blazor Hybrid) that connects to cosmos db via azure functions. I will need to store some of that cosmos data locally within the app itself. Typically one would use SQL Lite, but since cosmos uses a…

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,496 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,056 questions
asked 2022-06-28T10:45:35.83+00:00
Bubba Jones 211 Reputation points
accepted 2022-06-30T12:27:24.533+00:00
Bubba Jones 211 Reputation points
1 answer

Requesting Storage permissions in MAUI iOS

Storage permissions in MAUI Permissions does not support requesting permissions for Storage Read/Write but when file picker is used it does not throw any error.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,056 questions
asked 2022-06-20T09:12:34.203+00:00
Parvez ali 6 Reputation points
commented 2022-06-30T08:46:39.343+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,826 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to save a file under Maui on Android in MyDocuments?

I would like to save a file on my Android device. It should be accessible to the user (e.g. by a file browser or simply when plugging the phone into a PC via USB). FileSystem.AppDataDirectory ist not suitable for this, and…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,056 questions
asked 2022-06-28T14:41:30.61+00:00
Tim W 26 Reputation points
commented 2022-06-30T06:17:38.52+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 70,641 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

CollectionView ItemsLayout change number of columns

Hello, everybody! Guys, I'm trying to change the number of columns of a CollectionView using AdaptiveTriggers, but I'm not success. Can you help me, please? ... <ContentPage.Resources> <ResourceDictionary> …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,056 questions
asked 2022-06-28T12:59:31.58+00:00
Schinwinkwinsky 21 Reputation points
commented 2022-06-29T10:36:33.54+00:00
Schinwinkwinsky 21 Reputation points
0 answers

How to prevent go back in MAUI Blazor?

Let's imagine a two pages app, created with MAUI + Blazor Hybrid and running on Android. After user navigates from page1 to page2 I don't want to allow him to go back to first one, until certain conditions are met. In native Android app I could simply…

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,450 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,056 questions
asked 2022-06-24T11:47:52.727+00:00
Andrei Vinogradov 1 Reputation point
commented 2022-06-29T08:03:35.643+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 37,506 Reputation points Microsoft Vendor
0 answers

CollectionView on WinUI platform

I am converting a Xamarin app to .NET MAUI. CollectionView control is a major part of the design for displaying grouped items. <CollectionView Margin="6,6,6,48" IsGrouped="True" ItemsSource="{Binding…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,056 questions
asked 2022-06-20T18:32:06.313+00:00
dg2k 1,391 Reputation points
commented 2022-06-28T05:58:58.147+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 70,641 Reputation points Microsoft Vendor
0 answers

Choose SDK version to build and run Maui project on Android

How can I select a specific version of SDK to build and run a Maui app on Android? I have the following sdks and runtimes installed:

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,056 questions
asked 2022-06-22T11:42:05.797+00:00
Schinwinkwinsky 21 Reputation points
commented 2022-06-28T02:31:10.187+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 70,641 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How can I add Acrylic/Mica materials in a MAUI app targetting Windows?

With the release of WinUI 3 1.1, I thought I would be able to add acrylic and mica materials to NET MAUI apps that target Windows. However, I have not found a way to make it so that a cross-platform XAML page can include acrylic material for the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,056 questions
asked 2022-06-17T06:27:35.773+00:00
drmaven 21 Reputation points
commented 2022-06-27T19:48:29.3+00:00
Rob Caplan - MSFT 5,427 Reputation points Microsoft Employee
1 answer

Win11 VS2022 latest Preview Maui & iOS - 0xe8008015 (A valid provisioning profile for this executable was not found)

So, how exactly do I deploy the "Hello World" MAUI app to my iPhone? Here's what I tested / did: Deploying a "Hello World"-Swift project from XCode works. Also successfully paired the Mac to VS on Windows. I tried both…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,763 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,056 questions
asked 2022-06-20T16:11:30.877+00:00
Johannes Hass 1 Reputation point
commented 2022-06-27T09:36:05.59+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,826 Reputation points Microsoft Vendor
0 answers

Error running MAUI on iOS Device

Hi, I have just downloaded Visual Studio for Mac PRE 17.3 (Build 1038) but when I try to run the default MAUI app on iPhone device I get below error: …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,056 questions
asked 2022-06-24T18:11:33.737+00:00
Jassim Al Rahma 1,541 Reputation points
commented 2022-06-27T08:43:09.56+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,826 Reputation points Microsoft Vendor
0 answers

How to change app icon based on the configuration in MAUI

My application is white label, so depending on the configuration I need to specify a different app icon. Right now if I select an app icon named differently from appicon and in a different folder than resources, it doesn't work. But this makes me…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,056 questions
asked 2022-06-24T16:11:57.71+00:00
Manuele Lucchi 1 Reputation point
commented 2022-06-27T08:19:02.31+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 70,641 Reputation points Microsoft Vendor
0 answers

.NET MAUI Blazor Hybrid how to intercept open in new tab

I use await JSRuntime.InvokeAsync<object>("open", path, "_blank"); in the .razor pages, how I can intercept this and open: new tab in browse new page in the windows platform same page in the android/ios platform …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,056 questions
asked 2022-06-07T09:11:19.863+00:00
Andrew Denha 1 Reputation point
commented 2022-06-27T08:13:45.717+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,826 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

.Net Maui StatusBar Control

Hi I have noticed that .Net Maui does not have a control equivalent to the WPF StatusBar control. What would be the best way to achieve this? I imagine that a row in a grid layout could be suitably styled, but I was wondering if there was a…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,694 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,056 questions
asked 2022-06-24T08:10:36.13+00:00
Al 21 Reputation points
accepted 2022-06-27T07:51:08.59+00:00
Al 21 Reputation points
1 answer

ICanvas.DrawPath / ICanvas.FillPath ArgumentException

I am trying draw a filled polygon using IDrawable and PathF. I am getting an ArgumentException on canvas.FillPath or canvas.DrawPath, stating that "A call to CanvasPathBuilder.BeginFigure occurred, when the figure was already begun.". I am not…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,056 questions
asked 2022-06-26T09:49:08.6+00:00
Tim W 26 Reputation points
commented 2022-06-27T05:06:41.957+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 70,641 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Is there a sample MAUI application to call c++ libarary

I have a cross-platform library written with C++, I use this library to create model and display it with OpenGL. Now I'd like to choose MAUI to create a desktop application and call above library to complete interactions. Now I need a sample for…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,056 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,591 questions
asked 2022-06-13T02:36:40.78+00:00
Yang Yang 46 Reputation points
accepted 2022-06-25T01:04:09.937+00:00
Yang Yang 46 Reputation points
1 answer

Syntax for Border CorneRradius in Global Style

What is the proper way to set a .NET Maui Border StrokeShape of RoundRectangle with a CornerRadius of 2,2,2,2 in a Global styles resource XAML? Thanks.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,056 questions
asked 2022-06-07T19:51:38.397+00:00
Sam Basile 21 Reputation points
commented 2022-06-24T08:02:46.54+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 70,641 Reputation points Microsoft Vendor