Sam Stephens: Free-spirited Software
Learnings, ponderings, and questions from my life as a software developer
Browse: Home / 2010 / October

Using JQuery to create a table with folding details rows

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 | Leave a response

MSBuild and including extra files from multiple builds

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 | 1 Response

Parsing Event Logs using System.Diagnostics.Eventing.Reader

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 | 1 Response

Subscribe

Search

Categories

  • .NET
  • Android
  • C#
  • Javascript
  • Meta
  • MSBuild
  • Opinion
  • Ruby
    • Rails
  • Shell scripting
  • Wordpress

Archives

  • December 2012
  • May 2012
  • March 2012
  • February 2012
  • January 2012
  • November 2011
  • October 2011
  • May 2011
  • February 2011
  • January 2011
  • December 2010
  • November 2010
  • October 2010

Websites

  • A List Apart
  • The Daily WTF
  • Ars Technica

My other sites

  • On Twitter
  • On LinkedIn
  • On Stack Overflow

Blogroll

  • charlie.collins's blog
  • The Radioactive Yak
  • Android Developers Blog
  • Scott Hanselman's Computer Zen
  • ScottGu's Blog
  • Mark's Blog
  • Dare Obasanjo aka Carnage4Life
  • Ayende @ Rahien
  • The WHATWG Blog
  • Fabulous Adventures In Coding
  • Ajaxian
  • Tatham Oddie
  • Marcin On ASP.NET
  • Object Mentor Blog: Category Uncle Bob's Blatherings
  • Schneier on Security
  • CommonsWare

Copyright © 2013 Sam Stephens: Free-spirited Software.

Powered by WordPress and Hybrid.

The opinions expressed on this site are my own and do not necessarily represent those of my employer. Contact me.