11,574 questions with Developer technologies | C# tags

Sort by: Updated
2 answers

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 181 Reputation points
answered 2025-07-03T05:20:07.7666667+00:00
Susmitha T (INFOSYS LIMITED) 0 Reputation points Microsoft External Staff
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-02T14:59:43.6166667+00:00
Jason Tan 0 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

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
edited a comment 2025-07-02T02:09:23.4333333+00:00
Marvens 0 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) 77,851 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

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
answered 2025-07-01T10:34:00.77+00:00
Adiba Khan 0 Reputation points Microsoft External Staff
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) 77,851 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) 77,851 Reputation points Volunteer Moderator
0 answers

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
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
0 answers

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#
asked 2025-06-28T22:13:48.7533333+00:00
john john Pter 1,060 Reputation points
edited the question 2025-06-28T22:14:19.17+00:00
john john Pter 1,060 Reputation points
1 answer

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#
asked 2025-06-25T03:34:47.8633333+00:00
Central data 156 Reputation points
answered 2025-06-27T22:19:07.21+00:00
Bruce (SqlWork.com) 77,851 Reputation points Volunteer Moderator
0 answers

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#
asked 2025-06-27T16:43:07.6566667+00:00
Yasin Tonge 0 Reputation points
0 answers

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#
asked 2025-06-27T06:41:58.4+00:00
Gayatri Joshi 0 Reputation points
commented 2025-06-27T06:43:18.4+00:00
Gayatri Joshi 0 Reputation points
0 answers

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#
asked 2025-06-27T05:08:54.5366667+00:00
Ashraf Khan 40 Reputation points
2 answers

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#
asked 2021-05-30T22:23:50.833+00:00
Hicham EL MORSLI 1 Reputation point
answered 2025-06-26T23:57:02.6866667+00:00
KK520 0 Reputation points
0 answers

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#
asked 2025-06-26T02:48:33.7933333+00:00
Alistar Jiang 0 Reputation points
commented 2025-06-26T08:19:57.75+00:00
Alistar Jiang 0 Reputation points
2 answers

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…

Developer technologies | .NET | .NET MAUI
Developer technologies | C#
asked 2023-06-29T06:46:33.4066667+00:00
dg2k 1,416 Reputation points
commented 2025-06-26T03:08:12.1633333+00:00
Saideep Anchuri 9,500 Reputation points Microsoft External Staff Moderator