Geeks With Blogs
Mostly working... Adventures in Coding C#
Query Performance Logging with MiniProfiler
I have started to experiment with MiniProfiler to log our query performance. We currently use a mix of pure SQL and Entity Framework, since we need Fulltext search some pure SQL is unavoidable. Depending on the hotspots more queries will move back to pure SQL but for simplicity’s sake trivial queries will remain with EF. Getting started is relatively easy once you figure out which part of the documentation applies – I found my ways through various Stackoverflow questions and GitHub. Starting point ......

Posted On Wednesday, February 22, 2012 9:11 PM

Writing to an HttpListenerResponse output stream: Small Change - Big Impact
Recently I looked at a performance problem when transferring image data from a custom HttpListener to web browser clients. In the end it came down to one change I had done which was writing the image data to a memory stream first – this was required so I could add the right content-length header to the output based on the actual image size which some of my clients required. Before this change I had directly written the image to the output stream when it was generated but the modified code looked ......

Posted On Sunday, October 23, 2011 12:20 AM

Copyright © mknapp | Powered by: