Replace Invisible Characters – Control Chars
You can use this function to replace the invisible chars
Regex.Replace(s, @"[^\x20-\x7F]", "");
You can use this function to replace the invisible chars
Regex.Replace(s, @"[^\x20-\x7F]", "");
AI engineer and solution architect in Sydney. Agents, MCP, RAG, Azure, .NET, EV charging. I write about what breaks after go-live.
I got a column with Data Type of Image in SQL Server. What I would like to do is to omit this data to a FileStream or to a file. I tried to read the data…
There are a couple of ways in versioning your API 1. Through REST URL . domain.com/v1/Customers, domain.com/v2/Customers 2. Through HTTP Header – add the version as part of Content-type 3. Add the version on the REST…
I had a problem before where I build dynamic system (light dataset) for doing CRUD (Create, Read, Update and Delete) and I need to store the history of previous record before Update/Delete and at the same…
Basic Requirements: 1. Have the MSDTC(Distributed Transaction Coordinator) windows service running on your machine 2. Be talking to a SQL 2000 or 2005 Database configured likewise 3. Run this registry script to fix the windows XP…
I found this error on my project. Well i spent around one hour to figure out this problem. People might think that this is some silly error message. The error message i got is “Failed to…
In app development, real-time user engagement is vital. The Apple Push Notification Service (APNs) facilitates notifications for iOS devices, especially with new Live Activities. This guide illustrates using .NET to send Live Activity push notifications via APNs, detailing prerequisites, code overview, and error handling tips for successful implementation.