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.
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…
The first time a partner changes a request field from orderId to externalOrderId, you learn whether you have an edge or a tangle. If five projects each map that field in their own controllers, you get…
This is a great article explaining how to create a custom exception that follows the standard http://dotnetconcepts.wordpress.com/2010/05/28/custom-exceptions-in-c/
This is a nice extension for VS2010 to allow you to change the default browser on debugging mode http://visualstudiogallery.msdn.microsoft.com/bb424812-f742-41ef-974a-cdac607df921
Sometimes people add javascript into the aspx page instead of using code behind but there is a case when we need to add javascript in the runtime using code behind. This is the example where javascript…
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…