3,340 questions with .NET MAUI tags

Sort by: Updated
0 answers

maui for android please help in a very hard issue for me

Hi all in my maui for android application the application generate text files according to user option request. I want when installing the application the application create an empty folder for these files and when removing the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,804 questions
asked 2022-12-19T10:03:10.773+00:00
Haviv Elbsz 2,071 Reputation points
commented 2022-12-20T04:33:26.747+00:00
Haviv Elbsz 2,071 Reputation points
0 answers

about maui and visual studio

Hello everyone, I'm writing to you about a problem I encountered after installing the latest update of visual studio (17.4.3 I think). Before this installation everything was working fine and I had no problem with .net dependencies. After the update…

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,539 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,030 questions
asked 2022-12-19T12:41:17.62+00:00
gurneystilgar 1 Reputation point
commented 2022-12-20T03:40:19.087+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 30,231 Reputation points Microsoft Vendor
0 answers

MAUI WebView - How to get Response Body

There´s any way to get/intercept the body contents from the Navigated event, or other way to do it ?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 questions
asked 2022-12-19T03:22:04.737+00:00
SasukeK93 1 Reputation point
commented 2022-12-20T02:43:49.233+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 73,846 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

XAML markup extensions help

I am using shell ... I want to offer a different view based on form factor in the shell itself I have looked at LOTS of people using OnIdiom for this but now with a ContentTemplate .. Any help is appreciated .. localPhone and…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 questions
asked 2022-12-01T13:28:24.2+00:00
StephenH 86 Reputation points
accepted 2022-12-19T14:56:34.423+00:00
StephenH 86 Reputation points
1 answer One of the answers was accepted by the question author.

How does one databind a "Color function" that takes a parameter an already-bound object (or string member of that object)?

Here is the function I want to bind to: public Color DeviceStatusColor(Device device) { string colorKey; switch (device.Status) { case "Connected and OK state": colorKey…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 questions
asked 2022-12-18T22:10:46.343+00:00
Daniel Donnelly, Jr 86 Reputation points
commented 2022-12-19T11:13:59.977+00:00
Daniel Donnelly, Jr 86 Reputation points
0 answers

How to blur a memory stream image in Maui for android API less than 31

I load images from database as memory stream and display them in my app, but I need to blur them before I display them. How can I do that in MAUI android less than android 31 and IOS? I found some solutions Xamarin but they are not valid for Maui

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 questions
asked 2022-12-16T13:17:40.617+00:00
Yaragil 1 Reputation point
commented 2022-12-19T08:20:20.733+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 73,846 Reputation points Microsoft Vendor
1 answer

Error using GoToAsync

Hi, I am trying to show my ContentPage in MAUI but getting below error: System.NullReferenceException: Object reference not set to an instance of an object. at xxx.Mobile.OnBoarding.MyCountryTapGestureRecognizer_Tapped(Object sender,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 questions
asked 2022-12-14T20:05:44.46+00:00
Jassim Al Rahma 1,566 Reputation points
commented 2022-12-19T03:24:11.55+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 41,346 Reputation points Microsoft Vendor
1 answer

GetItemsAsync returns no items

I have migrated some code from the old Azure Mobile Client to DataSync, and the GetItemsAsync method is returning 0 items, although there are items in the database. Here is the code snippet public async…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,758 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,446 questions
Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
791 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 questions
asked 2022-11-20T00:24:59.267+00:00
Brenden Jacobson 6 Reputation points
answered 2022-12-19T01:57:57.787+00:00
Brenden Jacobson 1 Reputation point
0 answers

Debugging maui app using WSA - VS Debugger terminates as soon as MAUI app is lauched

I installed Windows SubSystem for Android and tried creating a "File -> New" MAUI app using blazor. When I press F5 to debug, the app launches and debugger crashes straight away. Here is the log from output window: Forwarding debugger port…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 questions
asked 2022-07-30T02:15:42.54+00:00
Usman Ibne Sadiq 1 Reputation point
commented 2022-12-18T14:51:53.337+00:00
Misinformed DNA 1 Reputation point
1 answer One of the answers was accepted by the question author.

Copy label text for copy/padte issue for only a specific label

Hi all l have a window of a label text. i want the user to be allowed to copy this label text. currently any label in my app allowed to copy text and that is bad user experience. please help Thank you very much

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,804 questions
asked 2022-12-15T11:46:38.347+00:00
Haviv Elbsz 2,071 Reputation points
commented 2022-12-18T13:02:44.113+00:00
Haviv Elbsz 2,071 Reputation points
1 answer

The system tray in WeatherTwentyOne is craching when publishing as exe

Hi. Steps to Reproduce Create Maui app Publish from command line using: dotnet publish -f net6.0-windows10.0.19041.0 -c Release /p:AppxPackageSigningEnabled=true…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 questions
asked 2022-12-14T07:35:31.233+00:00
Dani_S 3,621 Reputation points
commented 2022-12-18T10:26:01.007+00:00
Dani_S 3,621 Reputation points
2 answers One of the answers was accepted by the question author.

Is there a way to start a task at app start and then when it finishes get notified

I have a set of code that takes a while (600 endpoint calls) and it will create files with the results of the task. At present I run it on demand and it takes about 2-3 minutes to run. What I would like to do is start a task at app start and when the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,804 questions
asked 2022-12-15T16:39:09.963+00:00
Lloyd Sheen 1,476 Reputation points
answered 2022-12-17T22:15:33.897+00:00
Lloyd Sheen 1,476 Reputation points
1 answer One of the answers was accepted by the question author.

MAUI Shell App Flyout page when not the first page

I have an app I am trying to build using MAUI. I want to use a flyout on a page but its not the first page My app has 3 pages consisting of :- Page 1. is a login page, which navigates to Page 2. which is a summary page, and depending on…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 questions
asked 2022-09-23T18:30:12.707+00:00
Deej 21 Reputation points
commented 2022-12-17T01:50:36.313+00:00
Jaden 1 Reputation point
0 answers

MVVM and RelayCommand

Hello Friends. I was wondering if someone has experience using the RelayCommand in a .net Maui application? I need to pass a value that I set in my picker control to a function as a parameter. Thanks for any help.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,804 questions
asked 2022-12-16T13:38:33.397+00:00
Ronald Rex 181 Reputation points
commented 2022-12-16T20:37:49.243+00:00
Ronald Rex 181 Reputation points
3 answers

Unable to debug Mac Catalyst on windows in .Net MAUI app

I am developing a desktop application targeting Windows Machine and Mac OS. I was able to debug for windows machine. However, I am unable to debug for windows and I keep getting this message.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
982 questions
asked 2022-09-12T14:25:34.65+00:00
Anonymous
answered 2022-12-15T18:53:39.127+00:00
Steve Johnson 1 Reputation point
0 answers

Maui WebView flickering

My .NET MAUI WebView has been flickering for the last few months, and I have no idea why since it worked perfectly fine when I first implemented it. Is there any way to get rid of the flickering webview?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 questions
asked 2022-12-14T15:08:29.28+00:00
Mielesplayz 286 Reputation points
commented 2022-12-15T15:56:33.893+00:00
Mielesplayz 286 Reputation points
2 answers One of the answers was accepted by the question author.

How do you set the startup page size in dotnet MAUI for WinUI platform?

On a start up, I want to set the page size of my MAUI app for Windows platform (say, 500×1080). What is the recommended place to set the page size and how to do it? I tried the same for XF and none of the suggestions in MainPage.xaml.cs of UWP project…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 questions
asked 2022-05-15T22:22:59.103+00:00
dg2k 1,391 Reputation points
answered 2022-12-15T14:48:46.31+00:00
1 answer One of the answers was accepted by the question author.

Using MVVM in .Net Maui

Hi Friends. I am new to the MVVM architecture and how to use it with a .Net Maui application. Here is the use case... I have an entry field that I want to bind to a model and whatever the user types in the entry field I want to pass that field to a…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 questions
asked 2022-12-14T17:48:35.4+00:00
Ronald Rex 181 Reputation points
commented 2022-12-15T06:58:35.84+00:00
Ronald Rex 181 Reputation points
1 answer One of the answers was accepted by the question author.

filepicker for text files code example

Hi all the maui Doc show code for filepicker for images types and I need a cofe for text types example thank you very much

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,804 questions
asked 2022-12-14T14:07:26.66+00:00
Haviv Elbsz 2,071 Reputation points
accepted 2022-12-15T06:49:55.573+00:00
Haviv Elbsz 2,071 Reputation points
1 answer

MauiSplashScreen gif file

<MauiSplashScreen Include="Resources\Splash\splash_screen.gif" IsAnimationPlaying="True" /> dotnet maui splash screen deos not play animated gif file.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,340 questions
asked 2022-12-13T10:58:13.453+00:00
Muhammad Faizan 1 Reputation point
commented 2022-12-15T01:02:45.727+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 41,346 Reputation points Microsoft Vendor