11,800 questions with Developer technologies | C# tags

Sort by: Updated
2 answers

null values in JSON values

When return type in Controller is JObject the values in the json object are displayed null. But If I am trying to print on Console the out put is Ok. How to deal with this?

Developer technologies | .NET | Other
Developer technologies | .NET | Other

Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.

4,167 questions
Developer technologies | C#
Developer technologies | 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.

11,800 questions
asked 2022-07-30T17:44:51.13+00:00
net 6 newbie 121 Reputation points
answered 2025-06-03T21:14:54.9466667+00:00
MylesF-0952 0 Reputation points
1 answer

Commit All button in Git Changes Panel is greyed out and will not Commit Changes

After making changes to the C# project source code, the Commit All button on the Git Changes panel is greyed out and does not function, even after comments have been entered for the changes. The 'Commit All' button does not work, even after more changes…

Developer technologies | C#
Developer technologies | 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.

11,800 questions
asked 2025-06-01T00:01:56.5033333+00:00
DonBaechtel-7903 196 Reputation points
commented 2025-06-02T23:38:15.03+00:00
DonBaechtel-7903 196 Reputation points
2 answers

C# Library to write CSV / Spreadsheet / Excel files

I have a requirement to buffer / hold intermediate data in a spreadsheet style file. This will serve to as a readable autosave system in event of power failure or glitch. The file could be a CSV or brand specific file such as open office or excel.…

Developer technologies | C#
Developer technologies | 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.

11,800 questions
asked 2025-05-28T18:18:37.6966667+00:00
mjeschke 40 Reputation points
answered 2025-05-30T20:05:37.3766667+00:00
mjeschke 40 Reputation points
1 answer

Help With Visual Studio 2019

I am not a Widows programmer or a user of VS and I'm looking for some help. I am looking for someone that is willing to see if they can help me to use/setup VS 2019 to produce an exe or msi The project is a multi screen GUI (Desktop application) I do…

Developer technologies | C#
Developer technologies | 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.

11,800 questions
asked 2025-05-29T21:44:39.3966667+00:00
Robert Rinehart 0 Reputation points
commented 2025-05-30T19:02:52.63+00:00
Robert Rinehart 0 Reputation points
2 answers

Web socket connection issue with SignalR

**My Hosting architacture: ** Hosted an API locally with IIS Angular API is also hosted with IIS locally Problem: First try: i am hosted .net api directly to iis wihtout reverse proxy or anything else i seen that angular is downgraded…

Developer technologies | C#
Developer technologies | 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.

11,800 questions
asked 2025-05-28T06:31:23.72+00:00
Abhi Dashadiya 5 Reputation points
answered 2025-05-30T04:33:19.62+00:00
Abhi Dashadiya 5 Reputation points
2 answers One of the answers was accepted by the question author.

C# Win Form Project, webView2 control, reading current URL

Hi, I have windows form project in c#, I added webView2 element into a new form. I successfully navigated to a certain URL, and it loaded well. Is there a way to get or read current URL of a webView2 page, since once the user completes my initial link on…

Developer technologies | C#
Developer technologies | 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.

11,800 questions
asked 2025-05-23T22:57:06.4933333+00:00
Gennady Gurin 186 Reputation points
accepted 2025-05-30T04:06:33.86+00:00
Gennady Gurin 186 Reputation points
1 answer One of the answers was accepted by the question author.

Issue with PUT API Call Returning Null Body Status

A developer is working with VS 2022 and C#.NET 9 to implement an API. When making a PUT request from Scalar, the breakpoint is hit and the update is processed, but an error message is received stating: "failed to construct 'response' response with…

Developer technologies | C#
Developer technologies | 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.

11,800 questions
asked 2025-05-28T23:40:18.1266667+00:00
Timothy Gregory 20 Reputation points
accepted 2025-05-29T16:28:07.7633333+00:00
Timothy Gregory 20 Reputation points
1 answer

Problem with Hosted Blazor app not getting json result from api calls

Hi there I wrote an app about 2 years ago that has been running fine, but this month the published version of the app no longer functions. Each call to an api, although I get a 200, returns html as the response. All calls to the api's return html. I ran…

Developer technologies | C#
Developer technologies | 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.

11,800 questions
asked 2025-05-29T09:48:59.0166667+00:00
Jai Holloway 110 Reputation points
commented 2025-05-29T09:54:46.1466667+00:00
Jai Holloway 110 Reputation points
1 answer

What would be the proper use of DsMapSchemaGuidsA in C#.NET 8 for retrieving Active Directory GUIDs to DisplayName

I may be digging in the crates here. But quick use case, I am trying to retrieve the DisplayName of Directory Service Access (Event ID: 4662) of the properties. However, they only appear as GUIDs, which I guess would be Microsoft's way of hiding them,…

Developer technologies | C#
Developer technologies | 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.

11,800 questions
asked 2025-05-18T06:29:34.5733333+00:00
muttBunch 120 Reputation points
commented 2025-05-29T08:49:01.7466667+00:00
RLWA32 52,566 Reputation points
1 answer One of the answers was accepted by the question author.

Coding C# Indexing a List of abstract type via string member in the abstract type

Trying to index a list of type abstract class via a member of the class. I'm sure there's examples of this out there but I cannot find them searching the web. How could I say index the list via the abstract class member string ID? Thanks! public class…

Developer technologies | C#
Developer technologies | 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.

11,800 questions
asked 2025-05-22T19:37:23.86+00:00
mjeschke 40 Reputation points
accepted 2025-05-28T18:03:28.4966667+00:00
mjeschke 40 Reputation points
1 answer One of the answers was accepted by the question author.

Sharepoint Basic auth authentication effect SharePointOnlineCredentials?

I'm wondering if the announcement of Basic auth deprecation for SP online mentioned here https://learn.microsoft.com/en-us/sharepoint/technical-reference/basic-auth-is-being-deprecated affects the use of the SharePointOnlineCredentials method of logging…

Developer technologies | C#
Developer technologies | 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.

11,800 questions
asked 2025-05-23T13:42:26.0333333+00:00
daniel GRILLO 20 Reputation points
accepted 2025-05-27T13:27:45.9466667+00:00
daniel GRILLO 20 Reputation points
1 answer

WUApiLib not returning correct MsrcSeverity and IsMandatory for updates

I'm using the WUApiLib in C# to fetch available updates on a Windows system. However, the MsrcSeverity field is always null, and IsMandatory is always false, even for critical security updates like KB5058411, which is marked as "Security…

Developer technologies | C#
Developer technologies | 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.

11,800 questions
asked 2025-05-26T15:49:29.9466667+00:00
Niranjan Khanapurkar 0 Reputation points
commented 2025-05-27T13:23:16.4533333+00:00
Niranjan Khanapurkar 0 Reputation points
0 answers

Explain to me how it is possible to release an update after which everything breaks and it is impossible to work?

After the update, it is impossible to work with Xamarin. Making changes in code and complite does not give an effect until you delete the application from Android and restart the Visual Studio. This is a nightmare! If you delete the application from…

Developer technologies | C#
Developer technologies | 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.

11,800 questions
asked 2025-05-27T11:59:27.9866667+00:00
Sergey Abaev 0 Reputation points
0 answers

if exist Office

my code: static bool IsOfficeInstalled() { const string officeRegistryKey = @"SOFTWARE\Microsoft\Office\"; using (RegistryKey key = Registry.LocalMachine.OpenSubKey(officeRegistryKey)) { return key != null ? true : false; } } turn null

Developer technologies | C#
Developer technologies | 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.

11,800 questions
asked 2025-05-27T11:56:40.9266667+00:00
Salvatore Carofiglio 0 Reputation points
2 answers

visual studio's folder publish is not compatible for SFTP webhotel

hello. i have published my C# asp.net webforms project by folder in visual studio 22. it have four different masterpages. i have uploaded all files in file manager's webhotel, through FileZilla. but when i press a button in my page, it appears codes of…

Developer technologies | C#
Developer technologies | 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.

11,800 questions
asked 2025-05-23T17:36:02.75+00:00
venus-messiah manzar-nejad 0 Reputation points
answered 2025-05-27T03:21:32.2233333+00:00
BD9000 0 Reputation points
0 answers

FPGAs are being used successfully in datacenters(Project Catapult)

FPGA design can be much easier, but there is no activity in development tools. The analogy of C# conditional assignments to FPGA operation is very strong. All current approaches use an embedded computer/controller to execute the compiled code FPGA This…

Developer technologies | C#
Developer technologies | 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.

11,800 questions
asked 2025-05-26T21:00:19.42+00:00
Karl Stevens 0 Reputation points
1 answer

ai chat web app template unauthorized bad credentials

I have used the AI Chat Web App Template to just create a simple app from the template. I have tried connecting to GitHub Models, OpenAI and Azure OpenAI and every time this code tries to run I get the error: 'unauthorized bad credentials': …

Developer technologies | C#
Developer technologies | 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.

11,800 questions
asked 2025-05-24T03:33:15.8466667+00:00
Scott Learns Azure 0 Reputation points
answered 2025-05-26T17:17:41.24+00:00
Bruce (SqlWork.com) 84,071 Reputation points
3 answers One of the answers was accepted by the question author.

Help with setting the background color when the MenuStrip dropdown menu is opened.

hello. I have organized my menu using MenuStrip. I have overridden the MenuStrip background and color with ToolStripProfessionalRenderer. I am using the MenuStrip with white text on a transparent background. When the dropdown menu is opened, the text of…

Developer technologies | C#
Developer technologies | 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.

11,800 questions
asked 2024-05-22T09:00:16.8533333+00:00
Youngs 40 Reputation points
answered 2025-05-25T23:33:08.9166667+00:00
Sal 0 Reputation points
1 answer

RE: visual studio's folder publish is not compatible for SFTP webhotel

dear mr taylor, thanks for your respond. i am not sure on hat you mean with: "Your app would require that the host you're running on have the ASP.NET v4 runtime installed." is the webhotel provider should have ASP.NET v4 installed? my website…

Developer technologies | C#
Developer technologies | 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.

11,800 questions
asked 2025-05-23T18:51:18.34+00:00
venus-messiah manzar-nejad 0 Reputation points
edited an answer 2025-05-25T17:16:00.7833333+00:00
Bruce (SqlWork.com) 84,071 Reputation points
0 answers

error after visual studio update

error The designer could not be shown for this file because none of the classes within it can be designed when update visual studio to Version 17.14.0

Developer technologies | C#
Developer technologies | 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.

11,800 questions
asked 2025-05-25T15:50:25.1533333+00:00
Mahmoud Alkannass 0 Reputation points