2,909 questions with .NET MAUI tags

Sort by: Updated
0 answers

Severity Code Description Project File Line Suppression State Error MSB4100 Expected "$([System.String]::Copy('%(Identity)').EndsWith('.resources.dll'))" to evaluate to a boolean instead of "$([System.String]::Copy('C:\Users\tarek\OneDrive\Desktop\StoreAp

Severity Code Description Project File Line Suppression State Error MSB4100 Expected "$([System.String]::Copy('%(Identity)').EndsWith('.resources.dll'))" to evaluate to a boolean instead of…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,200 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,400 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,909 questions
asked 2024-05-08T03:16:48.12+00:00
م.طارق علي 0 Reputation points
1 answer

Webview is not allowing the remaining UI elements to render properly

I have labels, images and button along with webview. When I am landing to this webview page, the remaining UI controls are not rendered(not shown in the UI). When I start scrolling then the UI elements are rendered properly like in attached screenshots.…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,909 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
767 questions
asked 2024-05-07T09:31:52.57+00:00
Keerthana Krishna 20 Reputation points
answered 2024-05-08T03:01:25.79+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,661 Reputation points Microsoft Vendor
0 answers

.Net Maui ViewModel and MVVM

Currently I have a shell application with a Tabbed Page with several Content Page Views. Instead of using one big Model (Populated with Data from a Database) in my ViewModel for all these Content Page Views, what is the best practice to separate…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,909 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,292 questions
asked 2024-05-07T20:27:49.38+00:00
Tom Meier 80 Reputation points
edited a comment 2024-05-08T02:18:33.5566667+00:00
Tom Meier 80 Reputation points
1 answer

How to perform a pivot grid in maui?

Hi, i want to display data from observablecollection in a pivotgrid using .Net Maui 8 like in the picture below. the columns are generated programatically. i write this code in the viewmodel: Stockstcviews =…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,909 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,292 questions
asked 2024-05-03T16:24:46.6+00:00
Kaouthar GR AOUICHAOUI 40 Reputation points
answered 2024-05-08T02:09:20.6766667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,966 Reputation points Microsoft Vendor
0 answers

Shadow Offset issues in .Net Maui

Hello, I am following this official documentation:"https://learn.microsoft.com/en-us/dotnet/maui/user-interface/shadow?view=net-maui-8.0" and it is working fine. But, I am facing one issues, when I try to set y-offset value to negative…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,909 questions
asked 2024-05-07T11:34:24.3033333+00:00
Haider Ali Faizi 80 Reputation points
commented 2024-05-08T01:32:30.57+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,661 Reputation points Microsoft Vendor
1 answer

Cannot create BindableProperty in my project

I have a code snippet to create BindableProperties, (not used often). When I use it I get an error with the accessors. It does not recognize the GetValue/SetValue with a The name 'SetValue' does not exist in the current context. So I took sample code…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,909 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,292 questions
asked 2024-05-07T20:41:44.6066667+00:00
Lloyd Sheen 1,386 Reputation points
commented 2024-05-07T20:50:16.99+00:00
Lloyd Sheen 1,386 Reputation points
1 answer

how to fix 10.2.4.1 Security - Software Dependencies ( .net blazor maui 8.0) to microsoft store

i have published my application in store, recently update my maui blazor application 6.0 tp 8.0 when I submit my msix package to store I am getting 10.2.4.1 Security - Software Dependencies Products may depend on non-integrated software (such as another…

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,400 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,909 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,243 questions
asked 2024-05-04T06:48:07.5833333+00:00
Maharasa Subramaniyan 0 Reputation points
commented 2024-05-07T11:18:26.6066667+00:00
Maharasa Subramaniyan 0 Reputation points
0 answers

Free OCR libraries for .NET MAUI Android

Hi. Do you know what free libraries I can use in my android dotnet MAUI project? Do you have any suggestions?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,909 questions
asked 2024-05-07T11:01:46.09+00:00
ALEXANDRUSTEFAN CRACEA 0 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,909 questions
asked 2024-04-30T06:58:54.0366667+00:00
Dani_S 2,746 Reputation points
commented 2024-05-07T10:00:23.78+00:00
Dani_S 2,746 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,402 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,909 questions
asked 2024-04-18T08:06:36.18+00:00
Dani_S 2,746 Reputation points
commented 2024-05-07T09:55:29.41+00:00
Dani_S 2,746 Reputation points
1 answer One of the answers was accepted by the question author.

.NET MAUI: downloading a file in the background (Android)

Hello. Is there a way to do some action in background in case of android devices? For example, in my app I have a callback that starts to download a file after user pressed the download button. This file is quite large and some devices may turn off their…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,909 questions
asked 2024-05-02T23:04:10.0233333+00:00
rodionovid 80 Reputation points
commented 2024-05-07T09:42:00.2466667+00:00
rodionovid 80 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,909 questions
asked 2024-04-29T13:42:50.5933333+00:00
Sreejith Sreenivasan 691 Reputation points
edited a comment 2024-05-07T09:22:45.3166667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,551 Reputation points Microsoft Vendor
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,909 questions
asked 2024-04-29T14:15:29.71+00:00
Sreejith Sreenivasan 691 Reputation points
commented 2024-05-07T08:48:36.2433333+00:00
Aleena George 20 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,909 questions
asked 2024-04-29T07:10:20.56+00:00
Fei Xu 490 Reputation points
commented 2024-05-07T06:38:01.6666667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,661 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,676 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,909 questions
asked 2024-04-30T16:15:24.1733333+00:00
Grant Schaffer 20 Reputation points
commented 2024-05-07T06:20:59.83+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,551 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Detect Scrolled to end of webview to enable a button in maui

I have a custom renderer like this where ScrollWebView is my custom control from webview with IsBottomReached property. I tried registering this Renderer in mauiprogram class, then it started crashing with an exception of "Specified cast is not…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,909 questions
asked 2024-05-03T03:37:30.4166667+00:00
Keerthana Krishna 20 Reputation points
commented 2024-05-07T06:01:55.9366667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,966 Reputation points Microsoft Vendor
0 answers

How can i redirect to my own page after successful login in dotnet maui

i want to redirect my dotnet maui pages after successful login how can i do it in dotnet maui emulator i have sign in redirect uri : "https://localhost:7152//sign-ingoogle and aftter login i want to redirect to my own pages

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,909 questions
asked 2024-05-03T07:26:25.66+00:00
Kanika Rana 0 Reputation points
commented 2024-05-07T05:55:09.74+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,661 Reputation points Microsoft Vendor
1 answer

How to fix Error CS0029 Cannot implicitly convert type 'void' to 'System.Collections.Generic.List<Vase.Models.Person>'

var user = from u in conn.Table<Person>() querywhere u.name == "WALE" select u; return user.FirstOrDefaultAsync().Wait(); I got error in the bold line. i cant figure what i did wrong pleas help

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,909 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,292 questions
Entity Framework Core Training
Entity Framework Core Training
Entity Framework Core: A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.Training: Instruction to develop new skills.
3 questions
asked 2024-05-07T00:20:57.27+00:00
Gbenga Banuso Odumosu 0 Reputation points
answered 2024-05-07T03:54:27.85+00:00
0 answers

Ensuring Database Updates on Form Closure: Troubleshooting for Mac.

When I attempt to insert details into the database upon closing the form or upon its disappearance event, the code doesn't execute as expected. However, the same code executes properly when triggered by a button click or when the form appears. I need…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,909 questions
asked 2024-05-06T12:03:23.94+00:00
Sarfaraz Sable 20 Reputation points
commented 2024-05-07T03:31:30.03+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,551 Reputation points Microsoft Vendor
1 answer

building simple MAUI app causes an error

Type "Shell" was not found. Verify .... It is literrally the first line in AppShell.xaml. I have just created a new application and not edited any pages. The defult pages should be correct and buildable in sample app.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,909 questions
asked 2024-05-06T22:11:05.73+00:00
Tariq Roshan 0 Reputation points
answered 2024-05-07T02:28:09.4166667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,966 Reputation points Microsoft Vendor