24,143 questions with .NET-related tags

Sort by: Updated
0 answers

How to resolve SignalR Hub connection issue from Client side Javascript code

I have web application developed in .NET 5.0. This web application calls Web APIs to fetch information from SQL DB. Web and API applications are two separate applications hosted in Azure. I want to push some real time data every 2 minutes to all clients…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,433 questions
asked 2024-05-15T12:40:41.6033333+00:00
Mayuri Barve 1 Reputation point
0 answers

Certificate Revocation List

Hi All, We have a WPF application built on .Net Framework v4.8. This application acts as an HTTPs client. We are currently performing the certificate check using 'RemoteCertificateValidationCallback' method (except CRL). We now need to perform CRL…

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,328 questions
asked 2024-05-14T06:33:05.25+00:00
S Abijith 346 Reputation points
commented 2024-05-15T12:27:30.35+00:00
S Abijith 346 Reputation points
3 answers

How can I get MSBuild to restore any needed NuGet packages

I've looked at a ton of articles on this including here and here. None provide a solution that I can get to work. I have everything turned on for automatically doing this in VisualStudio. But on our build machine we build the .sln files using…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,433 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,326 questions
asked 2020-12-29T17:05:07.117+00:00
David Thielen 2,286 Reputation points
commented 2024-05-15T12:16:37.51+00:00
Damien Dussart 0 Reputation points
0 answers

App is not displaying in IOS physical device in Debug and Release mode in .net 8 maui

Hi everyone, I need some help regarding App icon and app not showing in IOS physical device while debugging or in release mode in Visual Studio. The app icon is set properly in both info.plist and .csproj file. Recently we migrated to Dot-Net 8. In .NET…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,949 questions
asked 2024-05-15T11:27:33.5+00:00
Kalita, Nandini 0 Reputation points
edited the question 2024-05-15T11:34:15.4133333+00:00
Kalita, Nandini 0 Reputation points
1 answer

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
answered 2024-05-15T11:30:42.5+00:00
Pradeep M 475 Reputation points Microsoft Vendor
0 answers

ManagedIdentityApplication.AcquireTokenForManagedIdentity("api://AzureADTokenExchange") giving error in local machine.

Hi, I am implementing the "Federated Identity Credential" along with User Managed identity in .net core 3.1 web api. Getting the error code: "managed_identity_unreachable_network" with error message "A socket operation was…

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
Active Directory Federation Services
Active Directory Federation Services
An Active Directory technology that provides single-sign-on functionality by securely sharing digital identity and entitlement rights across security and enterprise boundaries.
1,204 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,707 questions
asked 2024-05-10T11:41:44.0866667+00:00
SivaD 0 Reputation points Microsoft Vendor
commented 2024-05-15T11:19:54.89+00:00
Akhilesh 5,170 Reputation points Microsoft Vendor
4 answers One of the answers was accepted by the question author.

Blazor Server: It is possible get Current Loged User In DbContext

Hello, I build blazor server multi tenant application and I wants to use HasQueryFilter in entity framework DbContext for predefined filter with TenantId. But I cannot get Current Loged User in DbContext. I inject to DB Context…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
698 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 2021-03-17T08:54:54.227+00:00
Jan Mucha 101 Reputation points
answered 2024-05-15T11:09:34.7366667+00:00
james biyond 0 Reputation points
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,433 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,328 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,433 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,949 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,949 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

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,949 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,949 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,433 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,813 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,949 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,949 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,328 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,433 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