11,609 questions with Developer technologies | C# tags

Sort by: Updated
2 answers

Read HTML table with C#

Hello everyone and thanks for the help in advance. I wrote a screen scrape program that returns a variable number of rows HTML table that I need to extract data from. I'm really not sure the best way to proceed, i.e. regex or some other method. Here…

Developer technologies | C#
asked 2025-08-22T21:47:24.9233333+00:00
Kmcnet 1,156 Reputation points
edited an answer 2025-08-22T23:19:43.36+00:00
Castorix31 90,981 Reputation points
2 answers

i have created an app which i used C# But every time i want to run it on domain its doesnt open the form but in task manager its showing

Application: DcmFolderScan.exe CoreCLR Version: 8.0.1825.31117 .NET Version: 8.0.18 Description: The process was terminated due to an unhandled exception. Exception Info: System.Windows.Markup.XamlParseException: The invocation of the constructor on type…

Developer technologies | C#
asked 2025-07-30T07:20:31.9566667+00:00
Isaac Mhango 0 Reputation points
commented 2025-08-22T11:58:10.04+00:00
Adiba Khan 325 Reputation points Microsoft External Staff
2 answers

C# - CS0103 : The name 'Brushes' does not exist in current context

Hi I'm new to C# and trying to plot a graph in IX developer, got the following code of the web, all compiles fine except for the pens and brushes colors which gives a CS0103: Error saying they don't exist in the current context, can anyone guide me as…

Developer technologies | C#
asked 2025-08-07T16:50:43.21+00:00
Jacques Prinsloo 0 Reputation points
commented 2025-08-22T11:45:52.8166667+00:00
Adiba Khan 325 Reputation points Microsoft External Staff
1 answer

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
answered 2025-08-22T11:25:22.44+00:00
Omkara Varshitha Kunapalli (INFOSYS LIMITED) 315 Reputation points Microsoft External Staff
1 answer

Using Microsoft.Windows.Vision in a WinUI App on Non-Copilot+PC: Is It Possible?

I'm developing a WinUI Blank App using Microsoft.Windows.Vision, but the namespace ( Microsoft.Windows.Vision) is not recognized in my project. Consider that i added experimental version 1.8.250410001-experimental1 (or 2) I have done these steps but it…

Developer technologies | C#
asked 2025-06-07T13:35:38.7633333+00:00
lsb safari 0 Reputation points
commented 2025-08-22T10:31:56.6733333+00:00
Surya Amrutha Vaishnavi Lanka (INFOSYS LIMITED) 245 Reputation points Microsoft External Staff
1 answer

Finance and Operations

Iam facing an error while making the product receipt automic code in D365 F&O these is the error An error occurred: Cannot select a record in Transit document tax information relation (TransitDocumentTransTaxInfoRelation_IN). The SQL database has…

Developer technologies | C#
asked 2025-08-07T10:51:18.6366667+00:00
thomas shelby 0 Reputation points
commented 2025-08-22T10:25:55.6766667+00:00
Surya Amrutha Vaishnavi Lanka (INFOSYS LIMITED) 245 Reputation points Microsoft External Staff
1 answer

C#, .NET, How can I make a code generator download when my NuGet package is installed?

csproj, Engine: <Project Sdk="Microsoft.NET.Sdk"> …

Developer technologies | C#
asked 2025-06-14T19:13:45.1366667+00:00
Haziel Melchor 0 Reputation points
commented 2025-08-22T10:13:18.6666667+00:00
Surya Amrutha Vaishnavi Lanka (INFOSYS LIMITED) 245 Reputation points Microsoft External Staff
4 answers

Error Debugging in Visual Studio Code: 'ConnectionLostException' when attempting to run C# code

Visual Studio Code Version: 1.79 Operating System: Windows 11 Pro, 64-bit Problem Description: When attempting to debug C# code in Visual Studio Code, the following error message appears: "Your changes cannot be applied due to an unexpected…

Developer technologies | Visual Studio | Debugging
Developer technologies | C#
asked 2023-10-05T08:57:22.1533333+00:00
Ladislav Hochman 40 Reputation points
answered 2025-08-22T06:09:12.1633333+00:00
Velouria Denzer 0 Reputation points
1 answer

Dev Centre request denied

We applied for access to the Dev Centre so we could use M365 and Teams SDK to complete our App build. We were denied an account and cannot find out how to fix it / make contact with a human to assist. All digital links either are not answered or support…

Developer technologies | C#
asked 2025-08-19T19:33:52.8066667+00:00
Rana Senojak 0 Reputation points
commented 2025-08-22T02:03:19.21+00:00
Rana Senojak 0 Reputation points
1 answer

Change the app icon based on the light/dark mode

In a .NET 9 MAUI application, I would like to change the app icon based on light or dark mode, based on the system. The icon of the application is an SVG image with a transparent background. Is there any example of documentation how to implement it?

Developer technologies | C#
asked 2025-08-20T06:15:40.3066667+00:00
Enrico Rossini 231 Reputation points
answered 2025-08-21T11:24:37.1033333+00:00
Gade Harika (INFOSYS LIMITED) 335 Reputation points Microsoft External Staff
1 answer

ttempting to move all Microsoft.Web resources in rg_MTA to a new resource group (rg-c1-mta-test-centralus). However, the move fails

Issue details We are attempting to move all Microsoft.Web resources in rg_MTA to a new resource group (rg-c1-mta-test-centralus). However, the move fails with the following error message: arduino Copy Edit "This resource is located in resource group…

Developer technologies | C#
asked 2025-07-09T05:15:39.95+00:00
Coleman, Jonathan 0 Reputation points
answered 2025-08-21T10:12:33.34+00:00
Surya Amrutha Vaishnavi Lanka (INFOSYS LIMITED) 245 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

Why MSDN deprecates the AddWithValue method

I am trying to connect to a SQL Server table and update or register data in a program created in C#. In order to create a program that can take measures against SQL injection and support N prefixes, I am thinking of using the AddWithValue method, a…

Developer technologies | Visual Studio | Other
SQL Server | Other
Developer technologies | C#
asked 2025-02-07T08:02:47.0133333+00:00
nqyuta 80 Reputation points
edited a comment 2025-08-20T15:29:22.9+00:00
TylerH 61 Reputation points
1 answer

What does the error message mean: DataTable internal index is corrupted: '5' ?

What does the error message mean: DataTable internal index is corrupted: '5' ?

Developer technologies | C#
asked 2025-08-12T14:58:43.3666667+00:00
Martin Tejada 0 Reputation points
commented 2025-08-19T19:45:06.07+00:00
Karen Payne MVP 35,586 Reputation points Volunteer Moderator
2 answers

Trace the source

Hi, VS 2022 is Open source right? Any way to trace its source?

Developer technologies | C#
asked 2025-08-19T09:07:25.25+00:00
Peter_1985 2,786 Reputation points
answered 2025-08-19T15:37:42.6433333+00:00
Bruce (SqlWork.com) 79,281 Reputation points Volunteer Moderator
2 answers

PowerBIClient: 403 Forbidden error unless preferClientRouting=true is used

PowerBIClient: 403 Forbidden error unless preferClientRouting=true is used - Request #422710  R. Aaron La Mar ​Omari Holtz​ Description We are experiencing an issue when making API calls with PowerBIClient in C#. In some cases, the request fails with: …

Developer technologies | C#
asked 2025-08-08T18:28:02.8333333+00:00
Omari Holtz 0 Reputation points
commented 2025-08-19T11:02:18.5233333+00:00
Adiba Khan 325 Reputation points Microsoft External Staff
0 answers

Updating Layout When Navigating to Fragment

When navigating to a Fragment using the SupportFragmentManager in .NET for Android using code similar to the following: this.SupportFragmentManager.BeginTransaction().DisallowAddToBackStack().Replace(Resource.Id.fcvMain, new…

Developer technologies | C#
asked 2025-07-13T21:19:48.4566667+00:00
Nathan Sokalski 4,111 Reputation points
commented 2025-08-19T10:51:47.9566667+00:00
Adiba Khan 325 Reputation points Microsoft External Staff
2 answers One of the answers was accepted by the question author.

How to make search text in ASP.NET dropdown controls

I have been developing ASP.NET application. some of the place i want searchable dropdown controls. the dropdown should search both numbers and name. How to do this...? example data as below. Cust.Name | Cust.Number Alfred K AXN29109 …

Developer technologies | ASP.NET | Other
Developer technologies | C#
asked 2024-05-25T08:11:36.1666667+00:00
BeUnique 2,332 Reputation points
commented 2025-08-19T06:22:27.8233333+00:00
Kavinda Kiridana 0 Reputation points
1 answer One of the answers was accepted by the question author.

I want to compare two jsons without using string comparison for my web app in.net framework?

I want to compare two jsons and the json will have many properties and its corresponding values i want to compare each and every property and it's values of json and it return the result as true or false first it should check all the properties name…

Developer technologies | C#
asked 2025-08-18T05:17:06.0733333+00:00
Dineshkumar 20 Reputation points
commented 2025-08-19T04:26:17.06+00:00
Dineshkumar 20 Reputation points
1 answer

How use custom media size in print surpport app?

in print surpport app, change paper size from A4 to custom media size, call SetParameterInitializerAsInteger method set PageMediaSizeMediaSizeWidth, app will dump. how to use it correctly?

Developer technologies | C#
asked 2025-06-05T08:56:55.45+00:00
xianke lee 0 Reputation points
commented 2025-08-18T01:50:07.3033333+00:00
Omkara Varshitha Kunapalli (INFOSYS LIMITED) 315 Reputation points Microsoft External Staff
2 answers

I don't have an option in vscode to Generate assets for build and debug like the lesson says

The lesson says to type .net: g to get an options to generate assets for debug in visual studio code, but I never get that option This question is related to the following Learning Module

Developer technologies | C#
asked 2025-04-09T16:53:36.14+00:00
NOAVGC 35 Reputation points
answered 2025-08-17T09:45:44.6933333+00:00
suribabu bonu 0 Reputation points