3,369 questions with .NET MAUI tags

Sort by: Updated
1 answer

MAUi Catalyst app not working

Hi, I created a simple MAUI app with Menu and tried to run it on My Mac but I am not getting the menu, just getting the window only. Here is my XAML: <?xml version="1.0" encoding="utf-8" ?> <ContentPage…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 questions
asked 2022-08-26T16:29:15+00:00
Jassim Al Rahma 1,566 Reputation points
commented 2022-08-31T02:32:22.037+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 41,601 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

.NET Maui FileStream

I'm converting an UWP app to a .NET Maui, but having an issue with FileStream. Here is my working code in the UWP app: string binaryFile="Resources\Images\alpha.jpg" private async static Task<Stream> GetBinaryStream(string…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 questions
asked 2022-08-28T21:00:03.69+00:00
Fritz Switzer 261 Reputation points
commented 2022-08-30T13:32:11.203+00:00
Fritz Switzer 261 Reputation points
1 answer One of the answers was accepted by the question author.

An active membership to the Apple Developer Program is required to provision iOS in .NET MAUI

Hi I am getting the following error: "There was an error while trying to log in:An active membership to the Apple Developer Program is required to provision iOS devices". unable to find the cause behind it. I am also attaching…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 questions
asked 2022-08-26T07:29:11.977+00:00
Sanjay Kumar Jha 156 Reputation points
accepted 2022-08-30T08:48:49.803+00:00
Sanjay Kumar Jha 156 Reputation points
1 answer

fullscreen mode in android

Hi, Does anybody had run the maui application in android with fullscreen succesful? I had tried the following: change the theme in AndroidManifest.xml override the oncreate, and use the window.addflag override the oncreate, and…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 questions
asked 2022-08-29T03:00:40.537+00:00
Yuan Jeffers 1 Reputation point
answered 2022-08-30T05:32:10.567+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 41,601 Reputation points Microsoft Vendor
1 answer

pan or swipe recogniser for maui editor

Hi can someone give me a clue how I can pan the editor content thank you.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 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,818 questions
asked 2022-08-25T13:45:26.813+00:00
Haviv Elbsz 2,071 Reputation points
commented 2022-08-29T20:14:28.367+00:00
Haviv Elbsz 2,071 Reputation points
1 answer One of the answers was accepted by the question author.

Shell tab's title is too high

I have a .Net MAUI app that uses shell TabBar: <TabBar> <Tab Title="Home" Icon="{StaticResource IconHome}"> <ShellContent ContentTemplate="{DataTemplate local:MainPage}" /> …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 questions
asked 2022-08-25T19:21:19.73+00:00
Dmitriy Reznik 236 Reputation points
accepted 2022-08-29T17:16:29.037+00:00
Dmitriy Reznik 236 Reputation points
1 answer

How to get current page?

Hi, Application.Current.MainPage or Shell.Current always get the shell page. How can I get the current page after user lick the shell menu? Thanks.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 questions
asked 2022-08-26T01:28:33.013+00:00
Yuan Jeffers 1 Reputation point
answered 2022-08-29T08:52:10.267+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 74,081 Reputation points Microsoft Vendor
1 answer

Button visual state looks disabled after invoking bound command

I have a sample application demonstrating my problem, https://github.com/NickDevoctomy/MauiMvvmShellPoc Launch Application Click on 'Pets' button Click burger menu (top left) Click on large 'Home' button at top of flyout …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 questions
asked 2022-08-27T09:22:12.457+00:00
Nick 21 Reputation points
answered 2022-08-27T11:29:46.87+00:00
Nick 21 Reputation points
1 answer One of the answers was accepted by the question author.

Popup in MAUI same like Rg.Plugin

How to use popup in MAUI same like Rg.Plugin or suggested different like like Rg.Plugin because i am migrating my app Xamarin forms to MAUI but Rg.Plugin is not available in MAUI in place of this i am using Community Toolkit popup but not working same…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 questions
asked 2022-08-24T04:39:50.89+00:00
Bhuwan 696 Reputation points
commented 2022-08-27T05:09:59.177+00:00
Bhuwan 696 Reputation points
0 answers

Unable to run Blazor app In VS for Mac(17.4 Preview)

We have a Blazor project which includes web app and MAUI-Blazor project. While running the MAUI-Blazor app, we have following error in one of the linked project(it is net6.0 project) …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,777 questions
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,549 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 questions
asked 2022-08-25T12:55:25.533+00:00
Ganesh Prabhu 1 Reputation point
commented 2022-08-26T06:47:56.463+00:00
Zhi Lv - MSFT 32,141 Reputation points Microsoft Vendor
1 answer

Closing the ContentPage

Hi, Ia m using Shell Navigation. and I have a HomePage, from the HomePage I am opening NewPatient ContentPage and once the user entered the new patient then I am opening PatientDetails ContentPage. When the NewPatient page opens the ContentPage,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 questions
asked 2022-08-23T21:12:35.533+00:00
Jassim Al Rahma 1,566 Reputation points
commented 2022-08-26T06:31:31.287+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 74,081 Reputation points Microsoft Vendor
0 answers

Class's ContentPage Question

Hi, I am trying to create a ContentPage in a MAUI Class Library using the below but it's not working. namespace MyClass { // All the code in this file is included in all platforms. public class MyAuth { public static…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 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,818 questions
asked 2022-08-25T23:00:32.283+00:00
Jassim Al Rahma 1,566 Reputation points
commented 2022-08-26T06:26:00.39+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 74,081 Reputation points Microsoft Vendor
1 answer

Custom Frame in MAUI for corner radius

How to create custom frame in MAUI for corner radius same like Xamarin Forms Reference Below link code. https://stackoverflow.com/questions/57790260/xamarin-frame-only-have-a-single-rounded-corner

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 questions
asked 2022-08-24T04:14:25.573+00:00
Bhuwan 696 Reputation points
commented 2022-08-26T02:55:19.24+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 74,081 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

'PlatformEffect' does not exist in the namespace 'Microsoft.Maui.Controls.Compatibility.Platform.UWP'

I am trying to follow along the instructions for migrating Xamarin.Forms Effects to .NET MAUI on this wiki page: https://github.com/dotnet/maui/wiki/Migrating-Xamarin.Forms-Effects In the section Effects in .NET MAUI, there are platform dependent…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 questions
asked 2022-08-17T18:26:12.363+00:00
Vince L 41 Reputation points
commented 2022-08-25T19:38:21.607+00:00
Vince L 41 Reputation points
1 answer One of the answers was accepted by the question author.

Setting Cache-Control Header on Static Files in a Maui Blazor App

Hello, Is there anyway to set the Cache-Control header on static files in a Maui Blazor App? It is currently set to the following values for all static files: Cache-Control: no-cache, max-age=0, must-revalidate, no-store In other Web Apps I…

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,549 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 questions
asked 2022-08-24T00:37:51.93+00:00
Kevin Greer 21 Reputation points
accepted 2022-08-25T18:22:18.353+00:00
Kevin Greer 21 Reputation points
1 answer One of the answers was accepted by the question author.

Best way to Close Shell Navigation

Hi, What is the best way to close the Shell Navigation Page and Modal? is it only: Shell.Current.GoToAsync(".."); or other are other ways? Thanks, Jassim

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 questions
asked 2022-08-18T17:00:23.257+00:00
Jassim Al Rahma 1,566 Reputation points
accepted 2022-08-25T14:01:25.023+00:00
Jassim Al Rahma 1,566 Reputation points
1 answer One of the answers was accepted by the question author.

change MAUI Toast text and background color

I am using MAUI community toolkit toast and how to change text and background color of toast. using CommunityToolkit.Maui.Alerts; var toast = Toast.Make(message, duration, fontSize); await toast.Show(cancellationToken);

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 questions
asked 2022-08-24T08:27:17.89+00:00
Bhuwan 696 Reputation points
accepted 2022-08-25T08:22:29.76+00:00
Bhuwan 696 Reputation points
1 answer

What needs to be done in MAUI Blazor so the Android emulator can access the Internet?

I'm developing a MAUI Blazor Application that the front-end has been working fine across Windows & Android emulators, as well as, an Android local device until now. Recently I added access to an external/remote MySQL backend database which works…

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,549 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 questions
asked 2022-08-24T17:30:29.343+00:00
Tom Snow 1 Reputation point
commented 2022-08-24T22:05:35.98+00:00
Tom Snow 1 Reputation point
1 answer One of the answers was accepted by the question author.

XAML binding to model not updating UI Maui Monkeys example (dotnet-maui-workshop)

I added a text entry to Monkeys[0].Name (for the baboon) and I can change the .Name and it updates the codebehind and if I navigate to the Baboon details page it has the new Name, but the Monkeys page never updates the name of the baboon. What do I…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 questions
asked 2022-08-17T18:42:12.153+00:00
Dave M 21 Reputation points
accepted 2022-08-24T17:26:54.197+00:00
Dave M 21 Reputation points
1 answer

Other than targeting a lower version of the mobile APIs is it worth rewriting Blazor hybrid components in MAUI?

I have a fairly complex Blazor UI that I have ported into MAUI using w Webview. It works great and runs very quickly :) Is it worth building a MAUI version of this user experience? I know that MAUI targets a lower API version of the mobile APIs…

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,549 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,369 questions
asked 2022-08-23T17:19:15.593+00:00
Tony Nicholls 26 Reputation points
answered 2022-08-24T15:58:52.25+00:00
Bruce (SqlWork.com) 63,666 Reputation points