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#
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#
[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#
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#
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#
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#
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#
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#
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#
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#
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#
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#
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 | C#
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#
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#
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#
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#
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#
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#
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…