2,976 questions with .NET MAUI tags

Sort by: Updated
2 answers

.Net Maui App

I need to add a TabbedPage below a search field in a ContentPage, in the new .net Maui but it seems like there is no way around, if there is please help me out

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,976 questions
Windows Network
Windows Network
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Network: A group of devices that communicate either wirelessly or via a physical connection.
666 questions
asked 2022-06-08T11:01:17.67+00:00
Manuel 1 Reputation point
answered 2022-06-09T07:23:09.99+00:00
Limitless Technology 39,426 Reputation points
1 answer

MAUI CollectionView Linespacing

On Windows a CollectionView has a default line spacing of 0 which does not look good on Windows at all (at least not with text items with default font etc.). The visual line spacing is larger than the height of the text fonts which simply does not look…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,976 questions
asked 2022-05-27T20:00:01.577+00:00
EuroEager2008 171 Reputation points
commented 2022-06-07T08:41:20.63+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,386 Reputation points Microsoft Vendor
0 answers

UICollectionViewCompositionalLayout.GetLayout(config); always returns null

Hi, I am trying to implement the ipados sidebar code with the new .net 6 core ios and the below code always returns null public override void ViewDidLoad() { base.ViewDidLoad(); var config = new…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,976 questions
asked 2022-06-06T06:16:30.697+00:00
Curtis Conner 1 Reputation point
commented 2022-06-07T07:57:01.997+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,106 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

Need advice migrating ASP.NET Core MVC to .NET MAUI

I built a commercial web site with ASP.NET Core MVC that is hosted on an AWS EC2 server that uses a SQL Server database also hosted on AWS RDS. It's running fine for the past couple years as a web app only. We would like to expand to mobile to expose…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,238 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,976 questions
asked 2022-06-02T20:54:26.107+00:00
Bryan Cass 46 Reputation points
commented 2022-06-06T20:52:50.467+00:00
Bryan Cass 46 Reputation points
0 answers

OnEntryCompleted, how to close the virtual keyboard in .NET MAUI?

Hello, I am trying to figure out how to automatically close the virtual keyboard when an Entry is completed (A.K.A, the return key is pressed) and I figured .NET MAUI would do this automatically. The documentation out there is sparse. The keyboard will…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,976 questions
asked 2022-06-04T22:48:25.79+00:00
Samuel 1 Reputation point
commented 2022-06-06T09:50:02.27+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,106 Reputation points Microsoft Vendor
0 answers

How to fix "GetAuthenticationStateAsync was called before SetAuthenticationState" in Blazor MAUI project ?

I already have a Blazor Server application with authentication type "individual accounts". Everything is working. Now i want to try out MAUI, so i created a razor class library in the solution and moved all logic from BlazorServer to the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,238 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,420 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,976 questions
asked 2022-06-05T21:34:52.537+00:00
Boot Dat 1 Reputation point
commented 2022-06-06T05:55:51.417+00:00
Zhi Lv - MSFT 32,036 Reputation points Microsoft Vendor
1 answer

If I l only want to develop android in c# what I need to use?

If I only want to develop android in c# or .net. user xamarin.android or xamarin.forms or .net maui?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,301 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,976 questions
asked 2022-06-06T00:45:57.427+00:00
mc 3,726 Reputation points
commented 2022-06-06T03:43:20.9+00:00
mc 3,726 Reputation points
1 answer

Download Android device issue in MAUI project

I created the first project of MAUI and choose the Android Emulator. In the window of Android Device Manager, I failed to download the default device Pixel 5 - API 30 with bellow error: Network is not reachable. Please check your connection and try…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,976 questions
asked 2022-06-03T09:40:33.597+00:00
TracyLiang 41 Reputation points
commented 2022-06-05T18:54:34.28+00:00
Rob Caplan - MSFT 5,427 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Maui.Net Graphics

Hi I want to move from Xamarin and Skai Sharp to Maui.Net. How to start with graphics in Maui.Net I tried to create simple graphics app but I dont know how to start. This is XAML code <?xml version="1.0" encoding="utf-8"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,976 questions
asked 2022-06-02T09:01:30.747+00:00
Yusuf 711 Reputation points
accepted 2022-06-03T02:37:13.78+00:00
Yusuf 711 Reputation points
1 answer One of the answers was accepted by the question author.

VS 2022 for Mac. Which template to select to create a Mac OS and IOS App

I am just learning VS 2022 for MAC and wish to create a project whose app can run on an IPAD or possibly a MAC as well. It's not obvious which template I should select: (1) Web and Console or (2) Multiplatform or some other platform. Also, I wish to…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,301 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,976 questions
asked 2022-05-27T14:41:56.89+00:00
Giacomo Raucci 321 Reputation points
accepted 2022-06-01T10:19:05.357+00:00
Giacomo Raucci 321 Reputation points
1 answer

Android Asset Delivery in Dotnet Maui

have a .NET MAUI Project with a lot of assets (images) in the Resources\Images directory that shall be deployed to the Google Play Store. This means that the size of the generated aab package is way beyond the Google Play Store limit of 150MB. (Message:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,976 questions
asked 2022-05-31T14:10:16.777+00:00
A7md 6 Reputation points
answered 2022-06-01T08:12:15.683+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,386 Reputation points Microsoft Vendor
1 answer

Is there a way to draw pixel arrays dynamically on Image control in MAUI?

Hi! For every frame, I have a 4-bytes BGRA pixel array to update my Image control. However, I can't find a way to update it in MAUI frequently. Tens times per second. In WinUI3 I use an Image control with WriteableBitmap as a source. I update…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,976 questions
asked 2022-05-31T10:33:24.757+00:00
YVKOMAR 11 Reputation points
answered 2022-06-01T07:50:31.307+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,106 Reputation points Microsoft Vendor
1 answer

Using Styles and Theming maui app in C#

I am developing a crossplatform app for iOS and Android using maui. The UI and Styles are written in C#. public static class AppStyles { static Color White = Color.FromArgb("#FFFFFF"); static Style<Label>…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,976 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,380 questions
asked 2022-05-19T06:46:53.05+00:00
paramjit 276 Reputation points
commented 2022-05-30T09:54:00.007+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,106 Reputation points Microsoft Vendor
1 answer

MAUI Project Issues

I have added the MAUI workload in Visual Studio 2022 v17.3.0 Preview 1.1 and I have the following set of errors after creating my project. I have done the maui-check and it always ends with the following:

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,420 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,976 questions
asked 2022-05-30T00:07:20.157+00:00
Trevoir Williams 1 Reputation point
answered 2022-05-30T09:53:31.07+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,386 Reputation points Microsoft Vendor
1 answer

Nuget Errors on restoring packages for Maui project on M1 Mac (trying to restore wrong arch libs)

I think I somehow messed up my Macbook Air M1 while removing old dotnet versions. With everything installed on release version or even the last RC I can restore and build any other template types such as web but when I do: dotnet new maui -n “MauiProj”…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,976 questions
asked 2022-05-24T13:38:49.347+00:00
Jin 1 Reputation point
commented 2022-05-30T09:44:25.057+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,106 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

The RuntimeIdentifier platform 'win10-x64' and the PlatformTarget 'x86' must be compatible Error in MAUI

When I run the MAUI UWP application I am getting below error "The RuntimeIdentifier platform 'win10-x64' and the PlatformTarget 'x86' must be compatible" I am setting configuration to x86 and I am using Visual Studio Pro…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,976 questions
asked 2022-05-23T04:52:14.557+00:00
Devi Prasad 91 Reputation points
accepted 2022-05-27T04:50:26.92+00:00
Devi Prasad 91 Reputation points
1 answer One of the answers was accepted by the question author.

Google Sign-in

Can I use Google Sign-in with MAUI? I found this example for Xamarin.Android: https://learn.microsoft.com/en-us/samples/xamarin/monodroid-samples/google-services-signinquickstart/

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,976 questions
asked 2022-05-22T22:13:42.047+00:00
Mario Duarte 21 Reputation points
commented 2022-05-25T22:02:56.967+00:00
Mario Duarte 21 Reputation points
1 answer

Log4net set path

Hi, I used log4net for worker service and Maui app and I want to keep the log file near the exe, how is can be done ? Thanks in advance, <?xml version="1.0" encoding="utf-8" ?> <configuration> …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,976 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,131 questions
asked 2022-05-11T06:45:02.067+00:00
Dani_S 2,886 Reputation points
commented 2022-05-25T08:09:21.817+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,386 Reputation points Microsoft Vendor
1 answer

How I set header and footer to FlyoutPage ?

Hi, How I set header and footer to FlyoutPage ? FlyoutPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="FlyoutExample.Views.MyRootPage" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,976 questions
asked 2022-05-22T05:11:37.97+00:00
Dani_S 2,886 Reputation points
commented 2022-05-24T09:30:30.543+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,106 Reputation points Microsoft Vendor
0 answers

macOS/iOS SecKeyChain

I'm trying to access the keychain to get the installed certificates, but it always returns null, I don't see the option to enable KeyChain Info.plist, I don't see the entitlements.plist file in net maui. I installed the pfx certificate on my macOS, but…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,976 questions
asked 2022-05-12T11:08:50.787+00:00
Ángel Rubén Valdeolmos Carmona 586 Reputation points
commented 2022-05-24T08:56:20.967+00:00
Ángel Rubén Valdeolmos Carmona 586 Reputation points