Over the years I’ve Googled and Googled for a solution to this. Heck I even tried Bing! Finally time + an urgent need permitted figuring out a simple solution. To filter down to one thread using Notepad++: Copy the angle brackets and thread number to clipboard. E.g. “[12]” Menu -> TextFX Viz -> Hide Lines [...]
Archive for the ‘Development (General)’ Category
Filter log4net to a single thread using Notepad++
Posted: April 30, 2011 in Development (General)Tags: log4j, log4net, Notepad++, one, single, thread
TeamCity is great, I had it up and running with Automated Tests in just minutes. But.. attempting to make a Release Build generated the following error. Googling shows many people have the same error and I only found ugly solutions that required manual registry editing, copying of files etc: c:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(2015, 9): error MSB3091: Task failed [...]
It has been five years since I first used NUnit and have used it with great success on almost every project since then. This post briefly reflects the pros and cons of Automated Developer Testing I experienced. . Zero Defects can be the norm Given a serious amount of control on projects I insist on [...]
Basic trivia to those with long Microsoft development backgrounds, but I only learned this recently. In a nutshell Release v’s Debug simply enables/disables compilation options. With one minor tweak we can deliver Release Mode builds with Debug Symbols. Compile time and JIT optimization is not affected, but you will get lines numbers in logged stack traced traces. [...]
Atlanta’s Java User Group is excellent. Tonight Justin Gehtland talked about his new book Better, Faster, Lighter Java. It was a thoroughly enjoyable evening, even with the numerous (and almost all inaccurate) .Net jibes. Prior to the main event Burr Sutter (who I already knew) led a great discussion with the audience on a raft [...]
GIGO, Garbage In, Garbage Out; Even before my first high school Computer Class back in 1982 this term was well known to me and my few programmer friends. It is up there with Goto considered harmful. This blog tries to explain the why GIGO is no excuse for failure in your own code: Recently, while [...]
Several companies running ASP.Net experience this problem. They have several web applications and need common authentication. Out of the box ASP.Net makes the user login in to each different application. I know of several organizations where this was a frustration to hundreds if not thousands of user. Luckily the fix is trivial. Open up machine.config [...]
It is while since I wrote this code-snippet, but at the time many DataGrid experts said it could not be done. After about twenty minutes of trying to understand some DataGrid events a working solution was found: if (this.dataGrid.EditItemIndex > -1) { // Update the DataGrid this.dataGrid_UpdateCommand( this.dataGrid, new DataGridCommandEventArgs( this.dataGrid.Items[this.dataGrid.EditItemIndex], this.dataGrid, new System.Web.UI.WebControls.CommandEventArgs(“Update”, “”))); [...]
How often have you had to fix a run-time error and taken hours or even days to track down the root cause? Using the Fail-Fast policy can all but eliminate such troubles. The key concept is to fail early, that is as soon as you can programmatically detect bad data exists throw an exception reporting [...]