23,164 questions with .NET-related tags

Sort by: Updated
1 answer

Performance improvement while loading a collection View

Hi , I have to load a collection that has a huge data , I use async task to fetch the data from service and use loading indicator till then , when I navigate to the response screen , it takes a bit of time to populate the collection view which…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,623 questions
asked 2024-02-23T07:22:20.4166667+00:00
Manickam, Suraj 160 Reputation points
edited a comment 2024-03-04T13:20:34.2866667+00:00
Manickam, Suraj 160 Reputation points
0 answers

Maui - How do I clear the Navigation stack?

Hi, How do I clear the Navigation stack? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,623 questions
asked 2024-03-04T12:48:28.48+00:00
דני שטרית 2,266 Reputation points
0 answers

Building docker containers from Official .NET SDK images for ARM64 does not work

Good evening, Context I am currently trying to have a Blazor application run from a Raspberry Pi. I have to create pipelines so that when the devs push their code to a GitHub repo, it is turned into a Docker image that gets pushed to Docker Hub. For now…

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,325 questions
asked 2023-02-06T21:31:23.2633333+00:00
Jean-Jacques Kujawa 25 Reputation points
edited a comment 2024-03-04T12:35:34.52+00:00
Darshankumar Parekh 0 Reputation points
0 answers

Migration from new Xamarin project to .NET MAUI.Android failed to load assembly/dll

Hallo all I create new project Mobile App (Xamarin.Forms) + link and USE my own dll (signed netstandard2.0 dll) Run OK in Android emulator I migrate this new project with tool "upgrade-assistant upgrade" to .NET 7 MAUI (all 3 project…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,262 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,623 questions
asked 2024-03-04T12:07:52.0466667+00:00
Wheelstring 105 Reputation points
0 answers

How to resize HoloLens 2D application window size via code

I want to customize windows size of my 2D HoloLens UWP application. I have tried below code in my .NET application. This doesn't work in HoloLens, but it works in Windows PC. ApplicationView.PreferredLaunchViewSize = new Windows.Foundation.Size(950,…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,191 questions
Universal Windows Platform (UWP)
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.
9,982 questions
HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
366 questions
asked 2024-03-04T11:45:28.4366667+00:00
Sadev Kalubowila 10 Reputation points
0 answers

Need help with Graphics.DrawString font size for printer output

I have a Windows desktop application that creates labels to print to a laser printer.  I am using Visual Studio v17.8.6 and the template is .NET Framework. I am new to using graphics and unsure what is the best solution to use to print to the laser…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,804 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.
9,982 questions
asked 2024-03-01T19:21:59.1166667+00:00
Pat Hanks 40 Reputation points
commented 2024-03-04T11:17:48.9333333+00:00
Jiale Xue - MSFT 18,741 Reputation points Microsoft Vendor
0 answers

.NET Office Interop non-functional with sensitivity label requirements?

We have a .NET solution that uses the Office Interop to create an Excel Workbook using Excel, write data to this workbook, then save and close. With the latest Office 365 builds, this functionality no longer works if the user's organization requires…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,191 questions
asked 2024-02-26T16:24:54.4433333+00:00
JK 25 Reputation points
commented 2024-03-04T11:17:38.5866667+00:00
Anthony Waters 0 Reputation points
1 answer

No icon when dotnet publish .net maui mac catalyst app

When I use this command to publist a .net maui ac catalyst app for Ad Hoc `dotnet publish ChronoWiz/ChronoWiz.csproj -f net8.0-maccatalyst -c Release -p:MtouchLink=SdkOnly -p:CreatePackage=true -p:EnableCodeSigning=true -p:CodesignKey="Apple…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,623 questions
asked 2024-03-02T17:35:10.3533333+00:00
Eigil Krogh Sorensen 71 Reputation points
answered 2024-03-04T11:14:21.95+00:00
Eigil Krogh Sorensen 71 Reputation points
2 answers

How to locate .NET Editor.

How do I locate the .NET Editor. ?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,191 questions
asked 2024-03-02T01:46:19.2833333+00:00
Oyelekan Emmanuel Victor 0 Reputation points
answered 2024-03-04T11:02:19.41+00:00
Jiale Xue - MSFT 18,741 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Maui - Using Timer in multi main page navigations

Hi, Here is my code: Did I used in correcy way ? Thanks in advance, private IDispatcherTimer _indicatorTimer; public MainPage(string navigateTo) { InitializeComponent(); currentContentViewHolder.Children.Clear(); if (navigateTo ==…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,623 questions
asked 2024-03-03T10:46:21.53+00:00
דני שטרית 2,266 Reputation points
commented 2024-03-04T10:57:57.5633333+00:00
דני שטרית 2,266 Reputation points
0 answers

How to generate user defined PIN in a Miracast Receiver application in Windows 10 using Windows.Media.Miracast namespace ?

Hi All, I have created an application using the Miracast namespace that acts as a Miracast receiver. I have made it as per my requirements except for one thing and it's like this - Whenever any Miracast-supported Android device or Windows PC or Sender…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,804 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,239 questions
asked 2024-02-29T12:38:41.77+00:00
Himanshu Rohilla 0 Reputation points
commented 2024-03-04T10:52:51.57+00:00
Jiale Xue - MSFT 18,741 Reputation points Microsoft Vendor
0 answers

Login flow with shell

I have an App shell view model. public partial class AppShellViewModel(IAppService appService) : BaseViewModel { [ObservableProperty] User? user; [ObservableProperty] bool isCoordinator; [ObservableProperty] bool isStudent; …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,623 questions
asked 2024-02-28T21:32:13.65+00:00
Eduardo Gomez 3,216 Reputation points
commented 2024-03-04T09:43:39.1333333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 64,576 Reputation points Microsoft Vendor
0 answers

Unable to parse TLS packet header

i just upgrade my xamarin project to maui and i have an httpclient error Unable to parse TLS packet header when i try to comunicate with my api HttpClient httpClient = new HttpClient(); response = await httpClient.SendAsync(msg, cts.Token); sendasync…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,623 questions
asked 2024-03-04T09:38:23.7166667+00:00
1 answer

Shell navigation key error

White navigating, and selecting pages back and forth, I get this error An item with the same key has already been added. Key: 0 I do not understand it, I cheek the stack and I found this. at…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,623 questions
asked 2024-02-27T07:47:44.1533333+00:00
Eduardo Gomez 3,216 Reputation points
commented 2024-03-04T09:31:23.3466667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 24,706 Reputation points Microsoft Vendor
0 answers

Maui app in NET 8 craches

Hi, I used maui app , distributed as exe and run on windows 10. (VS Version 17.8.4) in NET 8. Faulting application name: GssdDesktopClient.Maui.exe, version: 1.0.0.0, time stamp: 0x65680000 Faulting module name: KERNELBASE.dll, version:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,623 questions
asked 2024-02-28T12:47:29.5666667+00:00
דני שטרית 2,266 Reputation points
commented 2024-03-04T09:28:37.6933333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 24,706 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to customize MAUI tooltips for Windows

Hello, I want to modify the FontSize and ShowDuration properties of a MAUI tooltip for Windows. The tooltip is associated with a button and defined as follows: <Button Text="ButtonText" ToolTipProperties.Text="MyTooltip" /> How…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,623 questions
asked 2024-03-01T16:02:56.0766667+00:00
Jorge Nuricumbo 60 Reputation points
commented 2024-03-04T09:16:05.0166667+00:00
Jorge Nuricumbo 60 Reputation points
2 answers

Push Notification with Azure Notification Hub and documentation

I'm trying to add push notification in my .NET8 MAUI application. I was looking at the Microsoft documentation and the function public override void RegisteredForRemoteNotifications is probably what I…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,623 questions
asked 2024-02-23T08:26:48.8733333+00:00
Enrico Rossini 126 Reputation points
commented 2024-03-04T08:54:51.3733333+00:00
Enrico Rossini 126 Reputation points
0 answers

How Remove DatePicker underline in .NET MAUI

In .NET MAUI, I am using a DatePicker to display a date on a page. However, on Android, it is showing an underline below it. I want to hide this underline. I have written the following code to achieve this, but it's not working. Could you please help me…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,623 questions
asked 2024-03-04T07:11:22.7533333+00:00
Bhuwan 516 Reputation points
edited the question 2024-03-04T08:38:36.9566667+00:00
Bhuwan 516 Reputation points
0 answers

.net maui mac catalyst app how to specify INSTALL_PATH when app is packed

I use this command to build .net maui mac catalyst .pkg dotnet publish -f net8.0-maccatalyst -c Release -p:MtouchLink=SdkOnly -p:CreatePackage=true -p:EnableCodeSigning=true -p:EnablePackageSigning=true -p:CodesignKey="Apple Distribution: Eigil…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,191 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,623 questions
asked 2024-03-01T17:15:48.87+00:00
Eigil Krogh Sorensen 71 Reputation points
commented 2024-03-04T08:34:49.73+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 24,706 Reputation points Microsoft Vendor
1 answer

Net maui windows platform how to change checkbox tick color or disable tick ?

Net maui windows platform how to change checkbox tick color or disable tick ? thanks

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,623 questions
asked 2024-03-01T23:02:04.8+00:00
Sami 761 Reputation points
commented 2024-03-04T08:27:45.2133333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 31,081 Reputation points Microsoft Vendor