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’ve started learning about LINQ because I need to keep up to date with the latest technology out there. I’ve created a simple Business Layer which interact directly with Linq to SQL(DBML). It includes Insert, Update,…
Another helpful debugging tool that can be used is FusionLog – it is already installed in your machine by default and what this tool does is basically logging and telling us where the assembly is loaded…
An article to keep you guys updated with the latest in .NET world http://weblogs.asp.net/scottgu/archive/2013/10/17/announcing-the-release-of-visual-studio-2013-and-great-improvements-to-asp-net-and-entity-framework.aspx There are few things that are very interesting to me: 1. OWIN and KATANA (OWIN is a standard interface between .NET web…
Partners still drop files into named folders. Downstream still wants decompress, transform, compress, or encrypt. I do not encode that as a C# if/else chain per partner. I treat azure service bus routing as a YAML…
In silverlight, normally we apply style per XAML file by adding the style into UserControl.Resources section. Sample below http://pastebin.com/embed_iframe.php?i=FgjnHqAT and to apply the style in the control we do http://pastebin.com/embed_iframe.php?i=veWGiyNh but let’s say you want to…
Last few months, I got a problem to place a button to generate a CSV file in the update panel. I was having a problem related with response error. So what i did was to place…