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#
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#
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#

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#
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#
how to download "System.Speech.Recognition"?
I try to download it but it's not available, how to download it?
Developer technologies | C#
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#
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#
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#
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#
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#
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#
Unhandled exception. System.InvalidOperationException: Failed to connect to remote share \\IP-Address\import\. Error: 1219
We have 2 Windows servers on Azure that are NOT connected to Active Directory, as follows: App server which is connected to the internet SQL Server that does not have public connection to the internet, but is accessible from the app server I have a…
Developer technologies | C#
It marks lines in red, but it compiles.
In Visual Studio 2022 with the latest update and C#, I use two DLLs. In the first DLL, I removed an enumeration and created another one, which I compiled. In the second DLL, it also compiles, but the lines where I reference the new enumeration are…
Developer technologies | C#
Our graph api lost its privilege to remove licenses from users
We developed a graph API app that helps us with on/offboarding of our employees. started a few weeks ago, our app lost its ability to remove licenses. this is the error I get: Status Code: Forbidden Microsoft.Graph.ServiceException: Code:…
Developer technologies | C#
www-authenticate: Bearer error="invalid_token",error_description="The signature key was not found"
I am getting below error while validationg intra auth token www-authenticate: Bearer error="invalid_token",error_description="The signature key was not found" i am not able to find IssuerSigningKey from any where
Developer technologies | C#
The wait operation timed out SOURCE...............: FORM.................: http://localhost/Pages/Reports/TDSDetails.aspx
Date.................: 6/26/2025 Time.................: 6:57:03 PM MESSAGE..............: The wait operation timed out SOURCE...............: FORM.................: http://localhost/Pages/Reports/TDSDetails.aspx QUERYSTRING..........: …
Developer technologies | C#
Format SQL Query Result into web menu
I am trying to build a drill-down menu for my website, where the user will click on a category and it will show the subcategories of that clicked category, there could be n-levels. I am able to write an SQL query which returns the output exactly as I…
Developer technologies | C#

How to use the "userExperienceAnalyticsOverview" Graph API with C#
Encountering 400 errors when calling the "userExperienceAnalyticsOverview" Graph API in C# and through the Graph Explorer. The API appears to be functional based on Intune admin center. Seeking guidance on how to successfully implement this API…
Developer technologies | C#
Why Can't I Choose AnyCPU as Platform Target in MAUI Project Properties?
When I try to choose AnyCPU as Platform Target for a MAUI project, the drop-down list returns back to ARM64. What is, therefore, enforcing the ARM64 choice for the project? Visual Studio Version: 17.6.4 .NET SDK Version: 7.0.400-preview.23274.1 .NET…