2,888 questions with .NET MAUI tags

Sort by: Updated
0 answers

Adding command to code behinad

Hi, I have main page and i want to add i used code behaind dor all the menu. I want to add EulaCommand , how is done ? Please provide code, i'm using net 8, vs 17.8.4 `<Label Text="EULA" HorizontalOptions="Start"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,888 questions
asked 2024-05-01T12:48:31.42+00:00
Dani_S 2,726 Reputation points
commented 2024-05-01T16:20:56.2466667+00:00
Lloyd Sheen 1,381 Reputation points
4 answers

How to copy big file 5g with task and within impersonation

Hi, How to copy big file 5G from source to destination using impersonation: WindowsIdentity.RunImpersonated( ImpersonationHelper.Token Thanks,

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,387 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,888 questions
asked 2024-04-18T08:06:36.18+00:00
Dani_S 2,726 Reputation points
edited a comment 2024-05-01T16:02:01.7033333+00:00
Dani_S 2,726 Reputation points
0 answers

.NET MAUI Community Toolkit Popup page is breaking

I am using the .NET Community toolkit for the Popup page. When we try to load the popup page the entire UI is breaking on iOS platform but it is working fine on Android platform. On the popup page I am using listView. Screenshot: I am using below codes…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,888 questions
asked 2024-04-29T14:15:29.71+00:00
Sreejith Sreenivasan 691 Reputation points
commented 2024-05-01T16:00:21.3233333+00:00
Aleena George 20 Reputation points
0 answers

MAUI: Background color is not updating when changing the mode (iOS)

When changing the mode I am updating the background color and text color of the UI via code. It was working fine on Android side but when I check it on iOS, the Listview background color is not updating properly. Expected Output of light and dark mode is…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,888 questions
asked 2024-04-29T13:42:50.5933333+00:00
Sreejith Sreenivasan 691 Reputation points
commented 2024-05-01T15:53:25.6866667+00:00
Aleena George 20 Reputation points
2 answers

Community toolkit install is not working

I have had community toolkit installed on this project for quite a while and now it gives the following error when I am trying to update: Severity Code Description Project File Line Suppression State Error NU1605 Warning As Error: Detected package…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,888 questions
asked 2024-04-17T13:38:10.5+00:00
Lloyd Sheen 1,381 Reputation points
commented 2024-05-01T15:13:02.1433333+00:00
Fernando Angelieri 0 Reputation points
0 answers

The type Prism not found in MAUI (prism.form dll not found in MAUI)

public partial class App { private static readonly string StartPage = DebugAppConfig.StartupPage; public App(IPlatformInitializer initializer = null) : base(initializer) { } private Maybe<Uri> LaunchUri { get; set; } =…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,888 questions
asked 2024-05-01T15:07:58.3333333+00:00
Debasis Patra 0 Reputation points
2 answers One of the answers was accepted by the question author.

How to add to "GraphicsView" class with “DrawableProperty" in dotnet maui

Hello! I trying drawing of the circle in center which is touched in the "GraphicsView" control. And I thought the one of the important points is how to add "GraphicsView" class with "DrawableProperty" in dotnet Maui. Please…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,888 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,267 questions
asked 2024-04-27T01:29:11.7533333+00:00
康二郎 井上 20 Reputation points
commented 2024-05-01T12:10:47.95+00:00
康二郎 井上 20 Reputation points
0 answers

Editor is vanish when I move to full screen

Hi, When I resize the page to full screen the editor cotent disappered? why? Thanks, <ScrollView x:Name="scrollView"> <Editor x:Name="editor" IsReadOnly="False" AutoSize="TextChanges"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,888 questions
asked 2024-04-30T06:58:54.0366667+00:00
Dani_S 2,726 Reputation points
commented 2024-05-01T08:34:17.2266667+00:00
Dani_S 2,726 Reputation points
1 answer

How to visit the views of carouselview different item ?

webview will display embed youtube video I need user webview.EvaluateJavaScriptAsync to control the video. Then, how can i visit the webview of different items ? <CarouselView Grid.Row="2" x:Name="cView"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,888 questions
asked 2024-04-29T07:10:20.56+00:00
Fei Xu 490 Reputation points
answered 2024-05-01T08:12:35.9666667+00:00
Digital Iflextech 0 Reputation points
1 answer

Using Phi-3 for AI mobile app development on Maui - Need resources

I am keenly interested in bringing AI to mobile devices. Where can I get more information on using Phi-3 in Maui apps?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,888 questions
asked 2024-04-30T21:10:48.52+00:00
Tim Belvin 21 Reputation points
answered 2024-05-01T03:35:54.02+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,416 Reputation points Microsoft Vendor
2 answers

Will .NET MAUI include official support for Linux ?

Certainly! Many developers who are passionate about .NET and use Linux as their operating system are eagerly awaiting official .NET MAUI support for Linux. They hope that this support will be available in the near future, allowing them to create…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,387 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,888 questions
asked 2024-03-30T13:09:56.5966667+00:00
Chauhan Pruthviraj 0 Reputation points
answered 2024-05-01T03:16:16.65+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,576 Reputation points Microsoft Vendor
2 answers

Localize application display name of iOS developed with .NET MAUI?

Display name is localized on android in "Resources\values" folder and it works as expected. However, I can't make it work with iOS. What has been done: My solution : In info.plist : In InfoPlist.strings : In csproj : When I…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,888 questions
asked 2024-04-25T23:11:33.74+00:00
Omar H 0 Reputation points
edited a comment 2024-05-01T03:14:47.0166667+00:00
Rob Caplan - MSFT 5,412 Reputation points Microsoft Employee
1 answer

MAUI: The CollectionView items collide with each other when scrolling

When I try to scroll top to bottom at that time, the CollectionView items collide on the iOS platform, but it works fine on the Android platform. Below, I am adding a screenshot and Screen record of this issue. Screenshot: Screen Record: screen record…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,888 questions
asked 2024-04-29T14:07:42.5733333+00:00
Sreejith Sreenivasan 691 Reputation points
answered 2024-05-01T02:59:56.1166667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,576 Reputation points Microsoft Vendor
1 answer

How can I prevent the device font size effect of a MAUI iOS app?

When ever I change the font size in the iOS device, that font size is effecting on the MAUI application. I want to restrict that. Thanks Vaibhav Methuku.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,888 questions
asked 2024-04-30T07:59:29.0966667+00:00
Vaibhav Methuku 60 Reputation points
answered 2024-05-01T02:58:04.6066667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,416 Reputation points Microsoft Vendor
1 answer

Maui MediaPicker.Default.CapturePhotoAsync windows doesn't display camera

When I run the app is the VS 2022 on Windows 10 the MediaPicker.Default.CapturePhotoAsync method displays the camera and allows me to capture a photo. When the app is published and installed on Windows 10 the MediaPicker.Default.CapturePhotoAsync method…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,640 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,888 questions
asked 2024-04-30T16:15:24.1733333+00:00
Grant Schaffer 20 Reputation points
commented 2024-05-01T01:36:41.6266667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,416 Reputation points Microsoft Vendor
1 answer

Best Practice For Database Access In Blazor MAUI Hybrid App

I'm porting a project from MVC into a Blazor MAUI Hybrid app with the intent to share common components and data. I have a Razor Class Library which does this, but was wondering if I should also put my SQL Server data access in here as well or keep that…

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,395 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,743 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,888 questions
asked 2024-04-30T17:24:11.6166667+00:00
Daniel Kovach 0 Reputation points
answered 2024-04-30T18:30:11.3766667+00:00
Bruce (SqlWork.com) 56,531 Reputation points
1 answer One of the answers was accepted by the question author.

Maui .Net 8 XCode 15.1 and 15.2 NativeAOT Error in Testflight

Hello, I have an Maui app built with XCode 15.2 and .Net 8. I am using Microsoft.EntityFrameworkCore.Sql V8.0.4 When I install it on my iPad with test flight I get: Model binding is not supported when publishing with NativeAOT. Use a compiled model. I…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
696 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,888 questions
asked 2024-04-19T16:55:14.02+00:00
Grant Schaffer 20 Reputation points
accepted 2024-04-30T16:08:27.4133333+00:00
Grant Schaffer 20 Reputation points
2 answers One of the answers was accepted by the question author.

How to print PDF/HTML in MAUI?

Hello, I have tried to find any documentation on how to print a PDF or a HTML document in the new Maui framework for Android, but i haven't been able to find anything usefull. Are there any documentation on this, or can someome guide me in the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,888 questions
asked 2022-07-05T15:24:35.27+00:00
Steffen Nielsen 26 Reputation points
edited an answer 2024-04-30T12:57:51.02+00:00
ANDERSON DAMASIO 1 Reputation point
1 answer

To set an alternate app icon in a .NET MAUI app,Here's how we can achieve this:

Previously, in Xamarin.Forms, we could set alternate app icons by registering multiple icons in the Android manifest and iOS Info.plist files. This allowed us to change the app icon and app name based on an identifier. However, in .NET MAUI, achieving…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,387 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,888 questions
asked 2024-04-30T05:58:18.6366667+00:00
Lakhan Bairawat 0 Reputation points
answered 2024-04-30T07:32:11.0766667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,576 Reputation points Microsoft Vendor
0 answers

why pushModalAsync not full ?

I use PushModalAsync the page is not full of the whole screen.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,888 questions
asked 2024-04-30T01:15:51.47+00:00
mc 3,681 Reputation points
commented 2024-04-30T07:29:39.7966667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,416 Reputation points Microsoft Vendor