16,428 questions with .NET-related tags

Sort by: Updated
0 answers

how to draw this in xamarin.android

there is two points to one circle how to draw it? I am using canvas in OnDraw points:(p0x,p0y)and (p1x,p1y) and the center of the circle is (x,y) how to draw the line and the circle? I know how to draw circle but I do not want to draw the rest of the…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,378 questions
asked 2025-03-12T14:29:45.3+00:00
mc 5,186 Reputation points
1 answer

Issue Populating CollectionView with ObservableCollection in .NET MAUI

Hi, I am facing an issue in my .NET MAUI application where I am trying to populate a CollectionView using an ObservableCollection<LeaveSummary> in my ViewModel. The data is correctly fetched, and I can see the ObservableCollection.Count in a Label,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,997 questions
asked 2025-03-06T18:02:38.5266667+00:00
Arnab Mukherjee 80 Reputation points
commented 2025-03-12T14:25:06.8666667+00:00
Arnab Mukherjee 80 Reputation points
1 answer

Operations on files obtained by Directory.EnumerateFiles never finish

【概要】 .netFramework 4.7を利用したプログラムにおいて Directory.EnumerateFilesで取得したファイル一覧に対して FOR文によるファイル操作を実施した場合に、処理が終わらない事象が発生しております。 既知事象の有無及び、改善策があればご教授頂けないでしょうか。 【実行環境】 OS:Windows Server2022 【処理詳細】 処理の詳細は以下の通りです。  ①Directory.EnumerateFilesメソッドを利用  …

.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,199 questions
asked 2025-03-12T10:35:12.27+00:00
OHASHI RURI(大橋 瑠璃) 0 Reputation points
answered 2025-03-12T13:58:27.0166667+00:00
Jiachen Li-MSFT 33,781 Reputation points Microsoft External Staff
0 answers

Dirty log in login

Hi, I used log4net. When login I got this errors in the log, what it come from? Thanks. 2025-03-12 15:25:00,516 [1] ERROR GssdDesktopClient.Maui.ViewModels.LoginViewModel - LoginCommand System.InvalidOperationException: PlatformView cannot be null here …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,997 questions
asked 2025-03-12T13:28:18.6933333+00:00
Dani_S 4,191 Reputation points
0 answers

Android-specific code on MAUI: Trouble with Android.Resource

What I am trying to achieve right now is something I've done before in other prototypes where I work, but I haven't run into this problem so far. I will give as much context as possible without making this question too long. Our app will use ARCore on…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,997 questions
asked 2025-03-11T17:26:09.4233333+00:00
Kleber Ferreira 0 Reputation points
commented 2025-03-12T11:37:07.19+00:00
Kleber Ferreira 0 Reputation points
0 answers

Highlighting text within a editor

Hi, I'm using .Net 9 with MAUI. Highlighting text within a editor. The highlight is not released. Remains highlighted even after selecting other text. <telerik:RadBorder Grid.Row="2" Grid.Column ="0" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,997 questions
asked 2025-03-12T11:20:07.41+00:00
Dani_S 4,191 Reputation points
1 answer

How do I fix my Touchpad

My touchpad was not working. Yes the button on the keyboard did not have anything to do with the issue. So i listened to people and uninstalled my touchpad driver, but after I restrarted my computer windows did not reinstall the driver like it said it…

.NET F#
.NET F#
.NET: Microsoft Technologies based on the .NET software framework.F#: A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
126 questions
asked 2025-02-12T20:14:38.6333333+00:00
Mazie Kasprzak 0 Reputation points
answered 2025-03-12T11:14:21.66+00:00
Khai 0 Reputation points
0 answers

ANDROID REDIRECT URI

I am trying to test the sample https://github.com/Azure-Samples/ms-identity-dotnetcore-maui/tree/main/MauiAppWithBrokerTo run in Android, it requires that "AndroidRedirectUri" be defined. The Entra ID portal requires a hash key that has to be…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,997 questions
asked 2025-03-11T11:29:25.92+00:00
Giorgio Sfiligoi 326 Reputation points
commented 2025-03-12T09:45:55.6633333+00:00
Giorgio Sfiligoi 326 Reputation points
0 answers

pick appropriate .json data in Tab (ShellContext)

As a senior+ hobby developer I'm stuck. I know - whoever helps - this is not what this GitHub forum is for and, I know, this is an imposition! Anyway, hopefully somebody has some time and is willing to help, thank you. my APP:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,997 questions
asked 2025-03-12T09:25:58.7233333+00:00
Eduard Kaufmann 291 Reputation points
1 answer

How to detect the flyout Open and Close in MAUI

I would like to detect the flyout open and closing event

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,997 questions
asked 2025-03-04T16:58:37.46+00:00
Vaibhav Methuku 100 Reputation points
commented 2025-03-12T07:12:14.5866667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,086 Reputation points Microsoft External Staff
2 answers

Consuming a Static Library created in c++ in MAUI for iOS Deployment.

Hello, I have a c++ library that is for Signal Processing. This is being built for arm64, arm64e. I have created an iOS Binding Library that consumes *.a static library and imports methods. I am referencing this binding library in my MAUI Project. I have…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,997 questions
asked 2025-03-11T10:40:35.3933333+00:00
Atul Godbole 0 Reputation points
answered 2025-03-12T06:47:39.2766667+00:00
Varnika Tygai 0 Reputation points
1 answer

Using Segoe MDL2 Assets or Segoe Fluent Icons in cross-platform MAUI apps

The page here for Segoe MDL2 Assets says: "On a Mac, you need to download and install the font: Get the Segoe UI and MDL2 icon fonts" and the page here for Segoe Fluent Icons says: "On a Mac or other device: You can download Segoe Fluent…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,997 questions
asked 2025-03-11T02:59:12.8633333+00:00
ishebewhat 61 Reputation points
answered 2025-03-12T06:46:03.2933333+00:00
Varnika Tygai 0 Reputation points
1 answer

how to draw space with color in xamarin.android?

I am using canvas to draw text in xamarin.android and how to draw space with some color ? for example: I will draw this is my text the it is empty in s and i I want to using some color to draw the space. how to do it?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,997 questions
asked 2025-03-07T13:32:43.38+00:00
mc 5,186 Reputation points
commented 2025-03-12T06:41:17.78+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,086 Reputation points Microsoft External Staff
2 answers

How to upload pictrue or image file from directory where client saved

@page "/view-page" <h3>Blank View Page</h3> @for (int i = 0; i < tshirtItems.Count; i++) { <div class="tshirt-section"> <img src="@tshirtItems[i].ImagePath" alt="T-Shirt Image" /> …

Blazor Training
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
21 questions
asked 2025-03-10T15:20:11.26+00:00
MIPAKTEH_1 545 Reputation points
answered 2025-03-12T06:40:45.5833333+00:00
Ping Ni-MSFT 4,890 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

Flyout Navigation - Mouse hover

Hi, In continue to https://learn.microsoft.com/en-us/answers/questions/2202802/flyout-navigation-improvements?page=1#answer-1989782 How I support mouse hover when navigation on collection view ? I want Custom Cursor hand when hovering over an item in…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,997 questions
asked 2025-03-10T09:39:24.4233333+00:00
Dani_S 4,191 Reputation points
accepted 2025-03-12T06:05:31.4633333+00:00
Dani_S 4,191 Reputation points
1 answer

MAUI: How to increase the slider height

I have a slider like below: <Slider x:Name="audioSlider" Grid.Row="0" Minimum="0" VerticalOptions="Center" HorizontalOptions="Fill" ThumbColor="Transparent" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,997 questions
asked 2025-03-06T15:44:01.99+00:00
Sreejith Sreenivasan 961 Reputation points
commented 2025-03-12T05:57:54.14+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 80,606 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

Flyout Navigation Improvements

Hi @Leon Lu (Shanghai Wicresoft Co,.Ltd.) I'm using this flyout Navigation. sample code from "Leak.zip" from end of: https://github.com/dotnet/maui/issues/23625 Questions: Can improve navigation beetween page 1 to page 2 to page 3 ? Can…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,997 questions
asked 2025-03-09T08:41:43.2866667+00:00
Dani_S 4,191 Reputation points
commented 2025-03-12T05:57:18.19+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 49,126 Reputation points Microsoft External Staff
1 answer

MAUI: Full content is not showing on the UI with Webview

I am using WebView to show Html content on the UI. I want few customizations in the content like different color for headings and custom font for the entire data. So I used a custom webview like below: DailyReadingAndroidWebView public class…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,997 questions
asked 2025-03-08T11:25:34.6733333+00:00
Sreejith Sreenivasan 961 Reputation points
commented 2025-03-12T05:57:08+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 80,606 Reputation points Microsoft External Staff
1 answer

Microsoft Visual Studio Professional 2022 (64-bit) - Preview Version 17.14.0 Preview 2.0 will no longer compile my MAUI app

After upgrading to preview 2, I cannot build my MAUI app. Visual Studio Output says: To build this project, the following workloads must be installed: wasm-tools-net8 To install these workloads, run the following command: dotnet workload restore But…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,997 questions
asked 2025-03-12T01:00:07.2266667+00:00
Steve Frase 0 Reputation points
answered 2025-03-12T05:34:33.7366667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,086 Reputation points Microsoft External Staff
0 answers

Error creating a .NET MAUI project and attempting to use dotnet restore

Hello, I am attempting to create a .NET MAUI project. However, I am getting this error: PS C:\Users\javer\source\repos> dotnet new maui -n MauiCalculator The template ".NET MAUI App" was created successfully. Processing post-creation…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,997 questions
asked 2025-03-11T01:53:27.4466667+00:00
Ben Underwood 0 Reputation points
commented 2025-03-12T01:21:46.9633333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 80,606 Reputation points Microsoft External Staff