24,141 questions with .NET-related tags

Sort by: Updated
0 answers

Displaying Fast Data

C# -> WPF -> .NET 6 Windows 10 64-bit, Visual Studio Community 2022 v17.9.2 I am writing a program in which I want to see the current from a 3-phase brushless DC Motor. Each phase will be displayed in a different colour to differentiate them. I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,432 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,685 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,327 questions
asked 2024-05-15T11:09:06.6233333+00:00
David McCrickard 0 Reputation points
3 answers

How to get the position of NotifyIcon at runtime?

Hi, I want to retrieve the location and size of notifyIcon whenever it be clicked. The purpose is to set the application UI above the notifyIcon like the below photo. Please show me how I can do this with C#. Thank you!

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,845 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,432 questions
asked 2024-05-15T04:06:34.3866667+00:00
Việt Trần 0 Reputation points
answered 2024-05-15T11:07:07.1133333+00:00
james biyond 0 Reputation points
0 answers

Maui ios publish : Path's format not supported

Hello, I am encountering an issu when i am publishing, creating the archive of my maui application, i have the given error 16:02:09:546 Cannot create an IOS archive 'MT.TimeClean.Client.ForNative'. Process cannot be executed on XMA…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,948 questions
asked 2024-05-13T14:11:45.04+00:00
Cyril Auquier 0 Reputation points
commented 2024-05-15T11:05:58.32+00:00
Cyril Auquier 0 Reputation points
0 answers

Could you suggest anti-tampering solution for .NET MAUI mobile application ?

Hi all, Our team is facing with a challenge that applying anti-tampering solution for our .NET MAUI mobile application on both Android and IOS. We tried checksum bytes from assembly but it's not work on Android (IOS is normal working). Also, we tried…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,948 questions
asked 2024-04-08T07:46:33.6033333+00:00
Thinh Nguyen Viet 0 Reputation points
commented 2024-05-15T11:00:15.31+00:00
Thinh Nguyen Viet 0 Reputation points
2 answers

Encountering 'WebSocketException (0x80004005): The server returned status code '404' when status code '101' was expected' when signalr client starts a hub connection.

We have a .net core signalr client trying to establish a connection to signalr hub web application and a signalr service. The client successfully connects to the hub and signalr service, but fails when attempting to start the websocket transport 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,220 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
120 questions
asked 2022-11-21T22:00:12.137+00:00
Qian Zhang 6 Reputation points
answered 2024-05-15T10:57:08.44+00:00
Hatvani Sándor 0 Reputation points
0 answers

CORS configuration does not work as expected

Hello! I am going through the course module "Create a full stack application by using React and minimal API for ASP.NET Core" and this unit describes steps to enable CORS in response to allow client app request data from API -…

ASP.NET Core Training
ASP.NET Core Training
ASP.NET Core: A set of technologies in the .NET Framework for building web applications and XML web services.Training: Instruction to develop new skills.
8 questions
asked 2024-05-15T10:07:49.2366667+00:00
RomKo 0 Reputation points
commented 2024-05-15T10:49:49.6666667+00:00
Pradeep M 475 Reputation points Microsoft Vendor
0 answers

WebAuthenticator

We want to integrate a payment application, but some payment gateway do not support native WebView. Therefore, we need to navigate to a browser for the payment process and then return to our app upon completion. However, WebAuthenticator shows a login…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,948 questions
asked 2024-05-15T10:48:13.6066667+00:00
Yogita Magdum 0 Reputation points
0 answers

MAUI Unique Device Identifier ID

I am looking for a Unique Device Identifier ID for Android and iOS. Is there any code for that ?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,948 questions
asked 2024-05-15T10:42:58.6333333+00:00
Etien Ducka 30 Reputation points
1 answer

Process snapshhot for worker service

Hi, I have worker service and i have shceduler running in it. How to take process snapshots and examine what is blocking/hanging in it? Thanks,

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,432 questions
asked 2024-05-14T03:36:41.0233333+00:00
Dani_S 2,806 Reputation points
commented 2024-05-15T10:29:43.61+00:00
Dani_S 2,806 Reputation points
0 answers

What is the Maximum size of a EventMessage or Event Data in Event Viewer. For Security channel and other channels System, Direcory Service.

What is the maximum size of a single event in Event viewer? Event message maximum length or a Event's size in kb? Does it vary for Security channel and System/ Directory Server channels?

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,845 questions
Windows
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.
4,812 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,434 questions
Windows Server Security
Windows Server Security
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
1,735 questions
asked 2024-05-15T10:27:43.9533333+00:00
Bakya ABL 21 Reputation points
1 answer

Maui for Android default font size

Hello All. if I have an Entry control that I don't set it's font size. How I can programmatically get it's font size. in other words how I get the default font size of a control that have text in it. Thank you very much.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,948 questions
asked 2024-05-14T06:09:21.7466667+00:00
Haviv Elbsz 1,926 Reputation points
edited a comment 2024-05-15T10:27:33.6466667+00:00
Haviv Elbsz 1,926 Reputation points
1 answer One of the answers was accepted by the question author.

Maui Shell app back button

Hi, Kind of new to Maui and the Shell concept so I have a basic question. When using <ShellContent> in the AppShell.xaml I am navigating to the page which I assign using ContentTemplate="{DataTemplate pages:MySecondPage}". …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,948 questions
asked 2023-01-05T13:08:09.717+00:00
yaron kadman 81 Reputation points
commented 2024-05-15T10:09:39.8166667+00:00
Francesco Dettori 0 Reputation points
1 answer

Increased timeouts can indeed lead to slower response times for users with fast connections.

I'm investigating the timeout issue we encountered during our Cube call. While I understand that timeouts are a maximum wait time, I'm interested in confirming if increased timeouts can still lead to slower response times for users with fast connections.…

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,327 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,130 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.
659 questions
asked 2024-05-15T09:02:46.34+00:00
Ashfaq Shamsudeen 0 Reputation points
edited the question 2024-05-15T10:05:28.65+00:00
Ashfaq Shamsudeen 0 Reputation points
0 answers

How to get the location and size of Hidden icon menu

Hi there, I want to know the way to get the location and size of Hidden icon menu in C#. Please let me know how I can do this. Thank you!

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,845 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,432 questions
asked 2024-05-15T04:17:34.0666667+00:00
Việt Trần 0 Reputation points
commented 2024-05-15T09:40:11.0533333+00:00
Jiale Xue - MSFT 34,501 Reputation points Microsoft Vendor
2 answers

Azure Function .Net8 Json Deserialization Error

I'm developing an azure function in .Net8 which is a migration from a .net6 in-process function. The code always breaks while trying to deserialize a json object that comes within the EventGridEvent.Data which triggers the function, the deserialization…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,340 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,220 questions
Azure Event Grid
Azure Event Grid
An Azure event routing service designed for high availability, consistent performance, and dynamic scale.
321 questions
asked 2024-05-03T16:43:16.76+00:00
Adonis Briceno 46 Reputation points
edited an answer 2024-05-15T09:39:48.37+00:00
Adonis Briceno 46 Reputation points
0 answers

Not able to perform read and write operation in iCloud in .Net Maui Mac

I have set up the app identifier in Apple developer with the document URL set up for iCloud and updated the info.plist and entitlements according to this. info.plist <key>NSUbiquitousContainers</key> <dict> …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,432 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,948 questions
asked 2024-05-13T10:26:23.9+00:00
Kiran Mohanty 0 Reputation points
edited a comment 2024-05-15T09:37:31.5066667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,846 Reputation points Microsoft Vendor
0 answers

Encripted / Deparicted XML or its data

Hi, In continue to https://learn.microsoft.com/en-us/answers/questions/1392360/maui-show-to-save-and-read-data-to-from-xml i want encript the xml or its data and depricted? How is can be done?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,948 questions
asked 2024-05-15T09:31:09.06+00:00
Dani_S 2,806 Reputation points
0 answers

I have a VB6 accoutinng application which now is showing a Visual C++ runtime error when printing to PDF

I have a VB6 accoutinng application which now is showing a Visual C++ runtime error when printing to PDF. The workstations run Windows 11 Pro and the Server is Windows Server 2012. Some users report this more frequently than others.

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,223 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,130 questions
asked 2024-05-15T09:05:04.14+00:00
James L 0 Reputation points
0 answers

Persist all releated to exceptions metrics, while sampling everything else

We are trying to collect all metrics related to exceptions (request, dependency, trace) without sampling) without sampling, to provide a better debug experience. According to…

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,840 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,220 questions
asked 2024-05-15T08:55:09.4533333+00:00
Siarhei Kharlap 0 Reputation points
edited the question 2024-05-15T08:56:05.04+00:00
Siarhei Kharlap 0 Reputation points
0 answers

I am getting System.InvalidProgramException error when upgraded the application from .NET 3.0 to .NET 8.0

I have upgraded Npgsql package from version 4.1.5 to version 8.0.2 that is required for .NET 8 upgradation but I am getting the following error after deployment of the service on the development environment and performing the health check for…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,432 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,220 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,130 questions
asked 2024-05-13T07:12:21.36+00:00
Singh, Sheetal 0 Reputation points
commented 2024-05-15T08:40:14.9766667+00:00
Brando Zhang-MSFT 2,961 Reputation points Microsoft Vendor