24,136 questions with .NET-related tags

Sort by: Updated
1 answer

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,844 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,431 questions
asked 2024-05-15T04:06:34.3866667+00:00
Việt Trần 0 Reputation points
answered 2024-05-15T09:35:02.5166667+00:00
Jiale Xue - MSFT 34,501 Reputation points Microsoft Vendor
0 answers

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,326 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-15T09:33:10.5866667+00:00
Lan Huang-MSFT 26,036 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,946 questions
asked 2024-05-15T09:31:09.06+00:00
Dani_S 2,806 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,431 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,946 questions
asked 2024-05-13T10:26:23.9+00:00
Kiran Mohanty 0 Reputation points
edited a comment 2024-05-15T09:25:48.4766667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,846 Reputation points Microsoft Vendor
1 answer

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,338 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.
320 questions
asked 2024-05-03T16:43:16.76+00:00
Adonis Briceno 46 Reputation points
edited the question 2024-05-15T09:19:44.4366667+00:00
Adonis Briceno 46 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,221 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,837 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
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,946 questions
asked 2024-05-14T06:09:21.7466667+00:00
Haviv Elbsz 1,926 Reputation points
commented 2024-05-15T08:54:12.4333333+00:00
Haviv Elbsz 1,926 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,431 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
0 answers

Error when uploading CSV files to Azure blob storage using ManagedIdentity with C# and GraphQLAPI. "Total size of resourceFiles is using 147% of available space after processing."

Hello All, I have created a console app using C# where I try to fetch the data from GraphQLAPI and store the data in csv files. post that it would be uploaded to the Azure blob storage using ManagedIdentity. This complete code work fine in my local VS…

Azure Batch
Azure Batch
An Azure service that provides cloud-scale job scheduling and compute management.
309 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
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,295 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,674 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,326 questions
asked 2024-05-15T08:40:14.42+00:00
Siddhesh Chavan 0 Reputation points
0 answers

How to use SystemWebAdapter SessionClient to share only registered keys and ignore the others

I am learning how to migrate a large .net framework application to .net core and am happy with the tooling provided by SystemWebAdapters and RemoteAppClient. The framework application uses session state extensively and it looks like the default behaviour…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,431 questions
asked 2024-05-15T08:37:39.3666667+00:00
Rob de Bruin 0 Reputation points
0 answers

How to dynamically change the port listened by Webserver in. NET when the Webserver is running

I created a NET 8 Console Application to create a WebServer and make it a Windows Service, in Program.cs, the code implementation is as follows var webOptions = new WebApplicationOptions() { Args = args, ContentRootPath =…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,431 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-15T07:45:43.5233333+00:00
Aspire 81 Reputation points
edited the question 2024-05-15T08:32:42.0866667+00:00
Aspire 81 Reputation points
0 answers

metadata_storage_path error in .NET with Azure AI Search.

Right now from my post api I am storing the address like UploadEmailAsync() in Azure Queue. I have tried saving it with and without JSON format but path which we use for Filters in Azure AI Search requires the base64 converted link. Right now i have…

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
734 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 Queue Storage
Azure Queue Storage
An Azure service that provides messaging queues in the cloud.
98 questions
asked 2024-05-14T10:27:27.2266667+00:00
Hassan Kaleem 40 Reputation points
commented 2024-05-15T08:05:02.7666667+00:00
ajkuma 22,681 Reputation points Microsoft Employee
0 answers

Cannot supply a component of type 'Components.BookComponent' because the current platform does not support the render mode 'Microsoft.AspNetCore.Components.Web.InteractiveServerRenderMode'

when i call component by this way i have this error in TestComponent.razor i call BookComponent to get html var sensorHtml = new ComponentRenderer<WeaponDetails>() .Render(); BookComponent.razor @rendermode InteractiveServer other…

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,409 questions
asked 2024-05-15T07:54:39.42+00:00
Mahdi Elahi 26 Reputation points
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,946 questions
asked 2024-04-29T14:07:42.5733333+00:00
Sreejith Sreenivasan 691 Reputation points
edited a comment 2024-05-15T07:53:24.7733333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,631 Reputation points Microsoft Vendor
0 answers

Is there any other alternative to use the functionality of dragging and dropping an email item from new outlook1.2024.508.600 (Production) version( ) to WPF form using C#?

I have an existing functionality where I drag and email item from outlook and drop it in the WPF form and it is dropped there along with its attachments. This works fine with Classic outlook but doesn't seem to be working with New outlook (1.2024.508.600…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,733 questions
Outlook
Outlook
A family of Microsoft email and calendar products.
3,059 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,684 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,543 questions
asked 2024-05-15T06:30:48.9933333+00:00
Amit Kumar 0 Reputation points
edited the question 2024-05-15T07:48:32.4466667+00:00
Jiale Xue - MSFT 34,501 Reputation points Microsoft Vendor
1 answer

Impersonation on MAC

Hi Bruce, My Maui approach is to run windows in a vm, and use visual studio for windows. This is a windows only feature. unix does not support changing the process owner.If we are using kerberos authenication, MacOs (and linux) only supports one active…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,946 questions
asked 2024-05-14T03:21:31.8866667+00:00
Dani_S 2,806 Reputation points
answered 2024-05-15T07:37:20.9566667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,846 Reputation points Microsoft Vendor
2 answers

How to setup Blazor Server with Blazor WASM with gRPC for virtual IIS application?

Hi, I have simple Blazor Server without static files. It is only falling into Blazor WASM with static files using FallBackTo. There is gRPC an its Controller mapped on the main endpoint. Everythig is working on https://localhost. Once I try to deploy…

Internet Information Services
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
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,409 questions
asked 2024-05-10T13:41:33.87+00:00
Matěj Rada 20 Reputation points
answered 2024-05-15T07:34:37.3566667+00:00
Rada Matěj 100 Reputation points
1 answer

I'm using VS for developing .net application in my system. Whenever the system restarts or whenever the application reopens, Visual studio doesn't recognize it as a .net application.

I'm using VS for developing .net application in my system. Whenever the system restarts or whenever the application reopens, Visual studio doesn't recognize it as a .net application and publish option wouldn't be available when I try to deploy and some…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,431 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,657 questions
asked 2024-05-14T20:58:27.2933333+00:00
Rishitha 0 Reputation points
edited an answer 2024-05-15T07:27:10.28+00:00
Jiachen Li-MSFT 26,831 Reputation points Microsoft Vendor
3 answers

Where Can I Find the Remoted iOS Simulator for Windows PC?

Where can I find the Remoted iOS Simulator for Windows PC? Where in Microsoft Visual Studio 2022 should I find the Remoted iOS Simulator for Windows PC? Is it somewhere in a directory like “C:\Program Files\Microsoft Visual Studio\2022\Community?”

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
asked 2024-05-06T08:53:53.8966667+00:00
R9I1 1 Reputation point
commented 2024-05-15T07:17:08.0966667+00:00
Abbas Khan 0 Reputation points