By SamStephens on October 25, 2010
I improved an implementation of a table in which each row is clickable to toggle the visibility of a detail row below it. The previous implementation gave each row a numbered id, and applied a separate onClick function to each row. I realised a more efficient approach would be to apply appropriate classes to the table, and use a function that runs across the table and applies the appropriate event handlers.
Posted in Javascript | Tagged HTML, Javascript, JQuery |
By SamStephens on October 18, 2010
I was involved in changing an existing web application to be packaged by MSDeploy recently.
The package had to include files from external directories, as there are images, CSS and Javascript files that come outside the web application project. I needed to work out how to do this with MSDeploy.
Posted in MSBuild | Tagged MSBuild, MSDeploy, Packaging |
By SamStephens on October 11, 2010
I’ve just had to analyse a bunch of Event Logs that contain exceptions, produced from a load testing exercise. I needed to turn them into a summary of the counts of each class of exception that occurred. After a little research, I found out about the existence of the System.Diagnostics.Eventing.Reader class, which will parse event logs from either the local or a remote computer, or from an EVTX file.
Posted in .NET, C# | Tagged .NET, C#, Event logs, XML |