11,579 questions with Developer technologies | C# tags

Sort by: Updated
1 answer

How to read and output the NPU utilization

Hi All How to use the following MS learning to read and output the NPU utilization. Thank you. https://learn.microsoft.com/en-us/windows/win32/api/activitycoordinatortypes/ne-activitycoordinatortypes-activity_coordinator_resource

Windows development | Windows API - Win32
Developer technologies | C#
asked 2024-06-18T05:32:45.61+00:00
John Huang 0 Reputation points
edited a comment 2025-07-08T18:55:21.73+00:00
KristofT 0 Reputation points
1 answer

Which certificate does the VS installer use for verification of vs_installer.opc

I am trying to install the VS 2022 Build Tools on my build server. However, during installation, I am receiving the following error on the bootstrapper logs: [16a0:0011][2025-06-25T06:41:39] Download requested:…

Developer technologies | C#
asked 2025-06-26T03:50:42.2566667+00:00
Aron Tsang 10 Reputation points
commented 2025-07-08T15:01:44.76+00:00
Tobias Frederiksen 0 Reputation points
3 answers

When using OpenXML do I need to create a new abstract numbering for each numbered list if i want it to restart

Using c# openxml, when i create multiple numbering instance referring to the same abstract num (ordered list), each list continues its numbering upwards throughout the document. If i want numbering to restart do i need to create a new abstract or is…

Developer technologies | C#
asked 2025-07-03T16:08:18.5733333+00:00
Jake Good 0 Reputation points
edited an answer 2025-07-08T12:07:11.95+00:00
Gade Harika (INFOSYS LIMITED) 0 Reputation points Microsoft External Staff
2 answers

How to get the trophy for Write your first code using c#

Hi, I did all the modules and checked everything. But I cant find the trophy for finishing my module. Could you please help me out.

Developer technologies | C#
asked 2025-06-12T07:16:05.6866667+00:00
Anku Sarang 0 Reputation points
answered 2025-07-08T05:15:11.7166667+00:00
Adiba Khan 0 Reputation points Microsoft External Staff
0 answers

Power off Xbox Series controller with C# via Bluetooth

I am writing a small C# winforms tray app targeting 4.7.2 that will allow me to power down the controller on game exit. I've been trying to do this for some time now but still can't manage to achieve the controller disconnection. Is there a way to…

Developer technologies | C#
asked 2025-07-07T14:00:23.0333333+00:00
magrega 51 Reputation points
edited a comment 2025-07-07T14:05:48.99+00:00
magrega 51 Reputation points
2 answers

What is the differences between Object class and Lock class in mutual exclusion in C#?

Hello, When should I use the Lock class and when should I use the Object class? What is the differences between Object class and Lock class in mutual exclusion in C#? using System.Globalization; namespace ConsoleApp3 { internal class Program { …

Developer technologies | C#
asked 2025-06-01T14:20:36.8966667+00:00
Shervan360 1,661 Reputation points
commented 2025-07-07T08:10:21.8566667+00:00
Adiba Khan 0 Reputation points Microsoft External Staff
1 answer

Good installer for visual studio 2019 c# projects

Still using Visual Studio 2019 professional. I have several independent solutions (single project solutions). I need to create an installer that installs 6 different projects on a computer. Right now, I have a single deployment project in each…

Developer technologies | C#
asked 2025-06-30T15:27:24.5566667+00:00
Darryl Hoar 181 Reputation points
edited an answer 2025-07-07T08:07:17.0233333+00:00
Gade Harika (INFOSYS LIMITED) 0 Reputation points Microsoft External Staff
0 answers

Azure API gateway

Can we create a streaming protocols in Azure Api gateway

Developer technologies | C#
asked 2025-07-04T09:35:31.01+00:00
Saran Raj M 0 Reputation points
0 answers

Azure API Gateway

API management capability assessment​  Management of billing plans, usage plans and pricing models​ Ability to manage and monitor API consumption​ Established portal for self-service catalogue of APIs​

Developer technologies | C#
asked 2025-07-04T09:19:50.8433333+00:00
Saran Raj M 0 Reputation points
0 answers

Suspected Compromise Involving Microsoft Authenticator and Entra Activity

Reporting a suspected compromise involving: Microsoft Authenticator Silent appearance of Microsoft Entra ID-linked behavior Unauthorized device trust and token issuance across iOS and Windows platforms Critically, there was no explicit…

Developer technologies | C#
asked 2025-07-03T10:33:21.58+00:00
Ernest Ramos 0 Reputation points
0 answers

Why am I encountering a System.AccessViolationException in .NET Framework 4.8 on Windows Server 2019, but not in .NET Framework 4 on Windows Server 2008

I'm encountering the following error in .NET Framework 4.8 on Windows Server 2019, which I faced in 2022, when trying to select the element from ToolStripComboBox . However, I am unable to reproduce this error in .NET Framework 4 on Windows Server 2008:…

Developer technologies | .NET | .NET Runtime
Developer technologies | C++
Developer technologies | C#
asked 2024-11-29T12:12:15.3566667+00:00
Uke, Ashutosh 0 Reputation points
commented 2025-07-03T09:35:36.93+00:00
György Kőszeg 0 Reputation points
1 answer

Implement the Visual Studio Code debugging tools for C# - Unit 6 typo

The type attribute specifies the type of debugger to use for the launch configuration. A value of codeclr specifies the debugger type for .NET 5+ and .NET Core applications (including C# applications). This question is related to the following Learning…

Developer technologies | C#
asked 2025-05-21T00:15:35.53+00:00
Jason Tan 0 Reputation points
commented 2025-07-03T09:28:07.68+00:00
Adiba Khan 0 Reputation points Microsoft External Staff
2 answers One of the answers was accepted by the question author.

LINQ how to sort column names

HI folks, I am retieving the column names from a datatable as follows. string[] columnNames = ds.Tables[0].Columns.Cast<DataColumn>() .Select(x => x.ColumnName) …

Developer technologies | C#
asked 2025-07-02T11:20:35.2+00:00
john noble 201 Reputation points
accepted 2025-07-03T08:40:02.63+00:00
john noble 201 Reputation points
6 answers

How to target .NET Framework 4.0 in VS 2022 on Windows 11?

Working on some old projects targeting .NET Framework 4.0. I used VS 2022 to open the solution and was told to install 4.0 targeting pack. I can't find the download link on the dotnet website, nor the installation option in Visual Studio Installer. …

Developer technologies | .NET | .NET Runtime
Developer technologies | Visual Studio | Debugging
Windows for business | Windows Client for IT Pros | User experience | Other
Developer technologies | C#
asked 2022-09-05T07:41:23.313+00:00
Lee Feng 171 Reputation points
commented 2025-07-02T03:19:44.0333333+00:00
David Goben 60 Reputation points
1 answer

Why does DI container retain references to transient instances that are IDisposable?

https://learn.microsoft.com/en-us/dotnet/core/extensions/dependency-injection-guidelines#disposable-transient-services-captured-by-container says, "by default the DI container will hold onto these references, and not Dispose() of them until the…

Developer technologies | C#
asked 2025-06-30T19:50:14.2433333+00:00
Chuck Krutsinger 1 Reputation point
edited an answer 2025-07-01T15:26:07.81+00:00
Bruce (SqlWork.com) 78,086 Reputation points Volunteer Moderator
2 answers

how to download "System.Speech.Recognition"?

I try to download it but it's not available, how to download it?

Developer technologies | C#
asked 2021-03-12T14:50:15.91+00:00
Yairk_kaufmann 6 Reputation points
commented 2025-07-01T12:31:24.63+00:00
emmanuel mutale 0 Reputation points
2 answers

Are BinScope checks like ATLVersionCheck and GSCheck applicable to C# applications?

Dear Team, I ran Microsoft BinScope 2014 on a C# application (.NET managed code) and observed several failed checks including: ATLVersionCheck ATLvulnCheck CompilerVersionCheck GSCheck GSFriendlyInitCheck GSFunctionSafeBuffersCheck RSA32Check …

Developer technologies | C#
asked 2025-06-27T08:25:44.3733333+00:00
Mashuk Raza 20 Reputation points
commented 2025-06-30T16:26:51.11+00:00
Bruce (SqlWork.com) 78,086 Reputation points Volunteer Moderator
2 answers

Is Stack Protection Header applicable or configurable in C# applications?

Dear Team, I’m analyzing a C#application and noticed that tools like Process Explorer or PE header inspectors show "Stack Protection: Disabled" for the executable. I would like to confirm the following: Is it possible to enable stack…

Developer technologies | C#
asked 2025-06-27T08:48:17.1633333+00:00
Mashuk Raza 20 Reputation points
commented 2025-06-30T15:31:12.3866667+00:00
Bruce (SqlWork.com) 78,086 Reputation points Volunteer Moderator
0 answers

Microsoft - Graph - Batch API - Getting 429 Too Many Requests error

I have created a website where user's will authenticate and grant Calendar events - Read/Write access. My application will create events for the user based on the user's schedule. Here some times user might have more than 100 records also. I'm using…

Developer technologies | C#
asked 2025-06-30T10:24:42.0466667+00:00
Shravan Samboju 0 Reputation points
1 answer One of the answers was accepted by the question author.

How many threads can Splunk ODBC support concurrent reading simultaneously

Hi there, I would like to know how many concurrent threads Splunk ODBC supports reading data simultaneously? Thanks&Regards, zmsoft

Developer technologies | C#
asked 2025-06-26T05:53:52.4866667+00:00
zmsoft 470 Reputation points
accepted 2025-06-29T02:51:03.8+00:00
zmsoft 470 Reputation points