Posts

Reading SOAP / WCF client Request XML Response XML And HTTP Headers with system.servicemodel behavior and message inspector

To troubleshoot issues you need to log SOAP request, response XML, and response HTTP headers. You can use an endpoint behavior and a message inspector to achieve it. See the below sample — it will call a public service: https://www.crcind.com/csp/samples/SOAP.Demo.cls Project File <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>net9.0</TargetFramework> <ImplicitUsings>enable</ImplicitUsings> <Nullable>enable</Nullable> </PropertyGroup> <ItemGroup> <PackageReference Include="System.ServiceModel.Http" Version="8.1.2" /> </ItemGroup> </Project> Program.cs using SoapAddIntegerDemo; using System; using System.ServiceModel; using System.Threading.Tasks; class Program { static async Task Main() { var binding = new BasicHttpBinding(); binding.Security.Mode = Basic...

Tool - excalidraw - Draw sequence diagrams flow charts

For a long time, I’ve been using WebSequenceDiagrams.com and SequenceDiagram.org to draw sequence diagrams. Both are great tools — but if you don’t use them regularly, it takes a bit of time to get back into the flow. Recently, I came across Excalidraw , It’s a simple, intuitive whiteboard where you can sketch sequence diagrams, flowcharts, architecture diagrams, or pretty much anything visual. The best part? It’s open source — you can check it out https://excalidraw.com/ (or even self-host it) here: github.com/excalidraw/excalidraw . If you haven’t tried it , Give It a try !

Welcome

Welcome to Daily Dev Adventure — a place where I share the real, unfiltered bits of a developer’s life. Not just code snippets and tech tutorials, but the everyday adventures that come with building software — debugging chaos, little victories, unexpected bugs, and those “aha!” moments that make it all worth it.