24,113 questions with .NET-related tags

Sort by: Updated
0 answers

web.config bindingRedirect not working

Hi, I have two projects. I have a MVC web application called MBSAnalysisMVCWebApp. I also have a .net framework MVC project called Mbsa. I found this link: …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,292 questions
asked 2024-05-11T22:47:30.2733333+00:00
iqworks Information Quality Works 256 Reputation points
commented 2024-05-14T10:02:31.2966667+00:00
Lan Huang-MSFT 25,956 Reputation points Microsoft Vendor
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,683 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,320 questions
asked 2024-05-14T06:33:05.25+00:00
S Abijith 346 Reputation points
commented 2024-05-14T09:57:44.64+00:00
Hui Liu-MSFT 40,786 Reputation points Microsoft Vendor
0 answers

Script not working

Hello, its my first time here in this forum, i work with factory talk optix software to programe HMI it support .net am not familiar with c# but i asked chatgbt about to create i have no errors after Build but nothing is happens am tring to check if…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,425 questions
asked 2024-05-14T07:33:46.9533333+00:00
Jan 0 Reputation points
commented 2024-05-14T09:41:50.62+00:00
Jiale Xue - MSFT 34,361 Reputation points Microsoft Vendor
0 answers

Solution Parser not working in .Net8

Hi, I'm in the process of migrating my WPF application from .NET Framework 4.8 to .NET 8. In my previous application, I utilized the Solution Parser functionality from Microsoft.Build for certain tasks. However, after migrating to .NET 8, this…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,841 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,803 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,683 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,320 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,309 questions
asked 2024-05-13T10:05:23.3933333+00:00
Sanjay Kumar Jha 151 Reputation points
commented 2024-05-14T09:38:49.05+00:00
Viorel 112.8K Reputation points
0 answers

Touch Events in .NET MAUI

Hi I'm working on a piano keyboard app in .NET MAUI, and I'm encountering an issue with implementing a specific feature. I want users to be able to slide their finger across the keys, triggering a note for each key they pass over. However, I'm only…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,943 questions
asked 2024-05-10T01:53:53.1+00:00
Yusuf 691 Reputation points
commented 2024-05-14T09:31:13.4+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,751 Reputation points Microsoft Vendor
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,425 questions
asked 2024-05-14T03:36:41.0233333+00:00
Dani_S 2,766 Reputation points
commented 2024-05-14T09:29:29.61+00:00
Jiale Xue - MSFT 34,361 Reputation points Microsoft Vendor
2 answers

SQL Connectivity Issue From Cloud app to on-prem server

hi, I have deployed a .net core MVC app in azure app service as a webapp. I have to connect to a on-prem sql server to retrieve data. I have setup Azure relay/hybrid connection for the same. Also I have installed hybrid connection manager in on-prem…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,212 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,825 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,963 questions
asked 2024-05-07T10:38:07.05+00:00
Santhi Dhanuskodi 145 Reputation points
answered 2024-05-14T09:25:52.63+00:00
MikeyQiao-MSFT 575 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Simulate dead lock with sampfore slim

Hi, How I simulate deadlock with with this code? public async Task<string> GetSessionToken(string developmentApiKey) { await _semLock.WaitAsync(); try { if…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,425 questions
asked 2024-05-02T08:41:24.51+00:00
Dani_S 2,766 Reputation points
accepted 2024-05-14T09:07:50.2933333+00:00
Dani_S 2,766 Reputation points
0 answers

Azure Adb2c External IDP Authentication Browser Back Button Click redirects to External IDP Again

We have AD B2C Authentication with .NET 8 MVC Web Application. We configured Open Id Provider with Custom Policy in Adb2c. The authentication is working successfully. But the problem is, after the External IDP successful authentication, the provider…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,212 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,692 questions
asked 2024-05-07T09:47:53.4+00:00
Logesh Palani 1 Reputation point MVP
edited a comment 2024-05-14T08:42:33.62+00:00
Logesh Palani 1 Reputation point MVP
0 answers

In Blazor Web App Server authentication Azure missing iss claims

Hello, I followed this guide to create a Blazor Web App (server) with azure athentication https://learn.microsoft.com/it-it/entra/identity-platform/tutorial-blazor-server and it works. here the authentication…

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,407 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,692 questions
asked 2024-05-14T08:32:37.7933333+00:00
Stefania Robuschi 0 Reputation points
1 answer

Change Installation Location for WPF Windows Application Packaging Project

We have uploaded our WPF app to windows store using Windows Application Packaging project. Is it possible to change the Installation location of the app from "Windows Apps" folder to any other location? Settings → Apps & Features ->…

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,683 questions
asked 2024-05-10T08:02:16.2666667+00:00
Raja Shanmugam 21 Reputation points
edited a comment 2024-05-14T08:18:00.6166667+00:00
Hongrui Yu-MSFT 80 Reputation points Microsoft Vendor
1 answer

How to Increase/Decrease mouse pointer moving speed on a WPF application surface?

Hi there, I have a simple WPF application where I need to control the mouse pointer speed. Suppose I run the application and as soon as my mouse pointer enter the application area, the mouse pointer speed should be increase and I want some more…

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,683 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,431 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,320 questions
asked 2024-05-13T21:28:00.4833333+00:00
MERUN KUMAR MAITY 511 Reputation points
answered 2024-05-14T08:13:48.94+00:00
Hongrui Yu-MSFT 80 Reputation points Microsoft Vendor
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,425 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,212 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,127 questions
asked 2024-05-13T07:12:21.36+00:00
Singh, Sheetal 0 Reputation points
commented 2024-05-14T08:11:54.78+00:00
Singh, Sheetal 0 Reputation points
1 answer

Is it normal that the publishing of my NET MAUI app on iOS never ends?

Hello everyone, I am actually trying to do an ad-hoc deploy on iOS, of my .NET MAUI app. But for some reason it don't work. I've followed every step from there…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,425 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,943 questions
asked 2024-04-23T11:41:03.2766667+00:00
Cyril Auquier 0 Reputation points
commented 2024-05-14T08:02:59.82+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,751 Reputation points Microsoft Vendor
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,425 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,943 questions
asked 2024-05-13T10:26:23.9+00:00
Kiran Mohanty 0 Reputation points
commented 2024-05-14T08:01:31.7633333+00:00
Kiran Mohanty 0 Reputation points
0 answers

I tried debugging .NET application but getting SSL CERT warning. How do I fix it?

I tried debugging .NET application in MS VS 2022, but getting SSL CERT warning. Should I install the certificate? Is it mandatory?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,425 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
947 questions
asked 2024-05-10T14:53:45.1666667+00:00
Rishitha 0 Reputation points
commented 2024-05-14T07:58:47.8833333+00:00
Anna Xiu-MSFT 26,231 Reputation points Microsoft Vendor
1 answer

The process cannot access the file because it is being used by another process

I tried to update me db schema in my code and after changing that if i run my application i ma getting the error as follows The process cannot access the file because it is being used by another process but my db is not opened anywhere so how to…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,425 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,320 questions
asked 2023-02-09T13:53:39.9233333+00:00
Dineshkumar.S 446 Reputation points
commented 2024-05-14T06:16:20.01+00:00
Mustafa Bamboat 0 Reputation points
0 answers

Reopening the app from background is crashing with an exception of "Window was already created" from base.onresume().

When I try to reopen an app from background it is crashing when I am using base.onresume() in mainactivity. It gave an exception "Window was already activated". I saw some work around of adding launchmode as singletop or singletask would work…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,943 questions
asked 2024-05-08T07:28:42.4233333+00:00
Keerthana Krishna 40 Reputation points
edited a comment 2024-05-14T06:15:26.3233333+00:00
David Brewer 0 Reputation points
0 answers

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,943 questions
asked 2024-05-14T06:09:21.7466667+00:00
Haviv Elbsz 1,926 Reputation points
edited the question 2024-05-14T06:10:29.3933333+00:00
Haviv Elbsz 1,926 Reputation points
0 answers

Dropbox on .NET Maui

I am trying to get Dropbox to work in .net maui. I have it working fine in xamarin.ios, it open a browser and get them to login, then when the go back from the browser, the app is receives the redirect in appdelegate.cs to get the auth token and use it…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,943 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,320 questions
asked 2024-05-12T21:27:18.04+00:00
Phunction 206 Reputation points
commented 2024-05-14T06:10:28.39+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,456 Reputation points Microsoft Vendor