AI engineer and solution architect in Sydney. Agents, MCP, RAG, Azure, .NET, EV charging. I write about what breaks after go-live.
Similar Posts
Automapper – Dynamic and Generic Mapping
In Automapper, we normally have 1 to 1 mapping defined but I have a case whereas the incoming stream as a json payload which then I cast it as a dynamic (using JObject parse) and in…
Replace Invisible Characters – Control Chars
You can use this function to replace the invisible chars Regex.Replace(s, @"[^x20-x7F]", "");
Only one instance of script manager can be added to the page
I’ve got this error when i have ajax toolkit script manager on the master page while at the same time i’ve script manager on the content page. This is the primary cause of this error. The…
Row filter in Dataset
Here it will be useful for someone who would like to filter a particular record in datagrid. You need to create a dataview and filter it. Here, i would like to filter a particular record where…
REST API Versioning
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…
Understanding the Mediator Pattern: Simplifying Communication in C# with MediatR
Streamlined Communication: Centralizes interactions between components for clarity. Decoupling: Reduces tight coupling, enhancing maintainability. MediatR Integration: A robust tool for implementing the Mediator Pattern in C#. Layered Architecture: Promotes separation of concerns for scalable systems. Reusability:…