11,651 questions with Developer technologies | C# tags

Sort by: Updated
2 answers

Server/Client TCP/IP Sample

The goal: I create two C# desktop WPF applications. Two applications each. One server One client The exchange should take place via TCP/IP. Messages must be transmitted in both directions. Question Answer. When an application is closed and…

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,651 questions
asked 2025-10-23T17:10:14.88+00:00
Noah Aas 1,110 Reputation points
commented 2025-10-25T22:56:35.1+00:00
eugene lagrama 0 Reputation points
0 answers

Extended properties not persisted on calendar events via Graph API (SDK and raw HTTP)

We are migrating from EWS to Microsoft Graph API due to the upcoming deprecation of EWS. Our legacy system relies on storing a custom identifier (VisitID) in calendar events using extended properties. In EWS, this was reliable and allowed us to track and…

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,651 questions
asked 2025-10-25T16:21:44.21+00:00
Chris Crowhurst 25 Reputation points
0 answers

[UWP] Gamepad navigation RB/LB is broken on ROG Ally Xbox

I am developer of UWP apps. UWP apps support gamepads natively well. But I noticed that gamepad support in UWP apps on Rog Ally Xbox is totally broken. For example RB makes 'A' press instead of navigation in Navigation View. On regular Windows 10 an 11…

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,651 questions
asked 2025-10-25T15:55:56.2766667+00:00
60856927 111 Reputation points
edited the question 2025-10-25T15:56:12.1033333+00:00
60856927 111 Reputation points
1 answer One of the answers was accepted by the question author.

courses on blazor and other c#

I'm looking for ways i can learn blazor or other ways to use c# as a backend for building websites without using javascript, json

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,651 questions
asked 2025-10-24T23:52:40.92+00:00
AnjolaOluwa Odusina 145 Reputation points
accepted 2025-10-25T14:10:14.3466667+00:00
AnjolaOluwa Odusina 145 Reputation points
2 answers

SQL - cmd.ExecuteReader() // cmd.ExecuteNonQuery() differences // stored procedure query

Hello, I receive an SQL database script from the customer. A stored procedure query should return exactly one data record. I don't know the names of the columns. Only the index. I will receive the script in November. I would like to prepare it.…

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,651 questions
asked 2025-10-24T14:59:51.2933333+00:00
Noah Aas 1,110 Reputation points
edited a comment 2025-10-25T07:00:13.32+00:00
Noah Aas 1,110 Reputation points
1 answer

Data exchange via TCP. Ensure that the message is complete.

I have a question—answer interface to implement. If the message is large, it may be split into several parts. What options are available for receiving complete messages? Request <ROOT> <REQUESTS> <VARIANT…

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,651 questions
asked 2025-10-24T14:52:51.9+00:00
Noah Aas 1,110 Reputation points
commented 2025-10-25T06:49:43.3833333+00:00
Noah Aas 1,110 Reputation points
5 answers

Validate eol of each line of the text file

Hi, I used the way below to validate the eol of each line. How to ensure that I have the validation (by it) against each line of the text file?

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,651 questions
asked 2025-10-08T09:45:21.36+00:00
Peter_1985 2,806 Reputation points
edited an answer 2025-10-25T06:00:06.4666667+00:00
Peter_1985 2,806 Reputation points
1 answer

How to avoid load system DLL while creating application using WPF

I have application in WPF C#, When I run process mon I can see list of System DLL cryptsp.dll CRYPTBASE.dll bcrypt.dll MSVCP140_CLR0400.dll profapi.dll USP10.dll msls31.dll NTASN1.dll By placing a malicious DLL with the same name in the…

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,651 questions
asked 2025-10-23T10:26:01.02+00:00
Prashant Sharma 0 Reputation points
answered 2025-10-24T23:18:50.2266667+00:00
Bruce (SqlWork.com) 81,191 Reputation points Volunteer Moderator
2 answers

Access violation reading location 0xFFFFFFFFFFFFFFFF

Exception thrown at 0x00007FFEF47CF2D9 (clr.dll) in MasterInterfaceWpf.exe: 0xC0000005: Access violation reading location 0xFFFFFFFFFFFFFFFF. The Common Language Runtime cannot stop at this exception. Common causes include: incorrect COM interop…

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,651 questions
asked 2025-10-21T12:47:07.4433333+00:00
Ievoli Vincenzo 0 Reputation points
commented 2025-10-24T06:26:15.0133333+00:00
Ievoli Vincenzo 0 Reputation points
1 answer

How to link microsoft account to freecodecamp.org account

I have been trying to link my Microsoft account to my freecodecamp.org account to enable me to participate in the Microsoft programming with C# certification. Kindly state the right steps to resolve this issue. Thanks

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,651 questions
asked 2025-10-22T04:42:12.04+00:00
Tolulope Isreal 0 Reputation points
commented 2025-10-24T05:21:10.4333333+00:00
Susmitha T (INFOSYS LIMITED) 755 Reputation points Microsoft External Staff
1 answer

Custom SSO/Form based authentication for PowerBI Onpremise Report Server

We have a Unified Portal and that Portal has its own SSO authentication. That portal consist of many other portals within and now we are thinking about adding Analytics to the same. What we need is when a user logs in via SSO they can go to analytics and…

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,651 questions
asked 2025-10-10T09:35:42.12+00:00
Vishal Singh 0 Reputation points
commented 2025-10-24T04:45:11.28+00:00
Susmitha T (INFOSYS LIMITED) 755 Reputation points Microsoft External Staff
2 answers

Can not make a Entity code-first migration at designtime

I would like to run add-migration at design-time on a simple C# application. Model: [Table("Feature")] public class Feature { public int Id { get; set; } public string? Priceclass { get; set; } public decimal…

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,651 questions
asked 2025-10-16T20:58:51.3033333+00:00
Jørgen Vig Jensen 0 Reputation points
commented 2025-10-24T04:19:05.7066667+00:00
Omkara Varshitha Kunapalli (INFOSYS LIMITED) 1,350 Reputation points Microsoft External Staff
2 answers One of the answers was accepted by the question author.

string? vs string in C#

Hello, As you know, string can return null. What is the difference between string? vs string in C#? namespace ConsoleApp1 { internal class Program { static string? ReturnStringNull() { return null; …

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,130 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,651 questions
asked 2023-07-23T08:52:32.4266667+00:00
Shervan360 1,681 Reputation points
commented 2025-10-23T18:34:30.7366667+00:00
AnjolaOluwa Odusina 145 Reputation points
1 answer One of the answers was accepted by the question author.

Control another program via C#

Hello! Is it possible to open another program (C++) via C#? Preferably minimized or not visible. Similar to a service. Is it possible to close another program (C++) via C#? The background is. // So far. // C++ application is running C++…

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,651 questions
asked 2025-04-06T14:40:55.4333333+00:00
Noah Aas 1,110 Reputation points
commented 2025-10-23T18:41:06.2066667+00:00
AnjolaOluwa Odusina 145 Reputation points
1 answer

How can I copy CSV files from blob storage to SharePoint using a Logic App?

I am new to logic apps and I need to create one that will trigger off a file(s) being written to blob storage and write the file(s) to SharePoint and delete from blob when successfully transferred. I've looked for examples and believe I may have the…

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,651 questions
asked 2025-05-28T22:47:27.3466667+00:00
Anonymous
commented 2025-10-23T07:11:07.1+00:00
Chris Cooper 0 Reputation points
1 answer

How to build a Web-Service

How to build a Web-Service? I've got an old project of a Web-Service that does not compile anymore. What are the best practices now?

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,651 questions
asked 2025-10-02T06:15:08.81+00:00
Riesebos, WJ 0 Reputation points
answered 2025-10-22T13:01:40.73+00:00
Surya Amrutha Vaishnavi Lanka (INFOSYS LIMITED) 810 Reputation points Microsoft External Staff
1 answer

OIDC discovery metadata inconsistent across regions — PKCE field missing on build 2.1.22024.3

Since Oct 3 2025, our applications using Microsoft Entra ID (Azure AD) OpenID Connect have seen intermittent authentication failures. We discovered that different ESTS clusters behind…

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,651 questions
asked 2025-10-05T20:07:43.8266667+00:00
Henrik Lagerstam 15 Reputation points
commented 2025-10-21T12:49:33.1333333+00:00
Surya Amrutha Vaishnavi Lanka (INFOSYS LIMITED) 810 Reputation points Microsoft External Staff
2 answers

How to fix “Object reference not set to an instance of an object” in C#?

I'm working on a C# application using .NET 8, and I'm getting the following runtime error: System.NullReferenceException: Object reference not set to an instance of an object The error occurs when I try to access a property of an object that should have…

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,651 questions
asked 2025-10-15T09:04:07.6766667+00:00
toadf nhyt 0 Reputation points
commented 2025-10-23T12:32:20.76+00:00
Varsha Dundigalla(INFOSYS LIMITED) 2,700 Reputation points Microsoft External Staff
3 answers

Error accessing certificate private key after 2025-10 cumulative update

Hi. We have a Windows application developed on C# .NET Framework 4.5.2. Since the last cumulative update it's throwing an error every time we try to access the PrivateKey property of a X509Certificate2. X509Store store = new X509Store(StoreName.My,…

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,651 questions
asked 2025-10-17T10:14:17.9+00:00
Miguel Ángel Martínez Durán 10 Reputation points
commented 2025-10-22T10:26:20.94+00:00
Varsha Dundigalla(INFOSYS LIMITED) 2,700 Reputation points Microsoft External Staff
1 answer

Issue to C# code

Hi, What is wrong below? var lines = File.ReadAllLines(@fileName); string lastLine = lines.Last(); if (!lastLine.EndsWith("\r\n")) { using (StreamWriter sw…

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,651 questions
asked 2025-10-23T05:10:38.8733333+00:00
Peter_1985 2,806 Reputation points
edited a comment 2025-10-23T08:42:52.69+00:00
Peter_1985 2,806 Reputation points