May 2008 Blog Posts
Thursday, May 8, 2008 6:10 AM | Comments

This post is out of date This post is outdated and has significantly enhanced with a new version. Please see LINQ Audit Trail V2 In a project I am currently working on, we had a fairly common requirement of recording an Audit Trail of any data changes. The requirements were typical, provide a running log of any changes in the database, including: What table was modified? What fields changed? Who made the change? When did it occur? Naturally, there are many ways to tackle this problem. In the past I have either relied on writing database Triggers for the tables, or wrote the Auditing logic right into the stored procedure that was doing the modification. But this time, since the project is utilizing...

Wednesday, May 7, 2008 6:01 AM | Comments

So as you can see I've been playing with ASP.NET MVC in my free time lately. But as it turns out I learned something totally unrelated to MVC while I was editing the default stylesheet that MVC Preview 2 ships with. #mainContent { padding: 30px 30px 15px 30px; background-color: #FFF; border-bottom: 3px groove #4b6f92; margin-bottom: 30px; _height: 1px; /* only IE6 applies CSS properties starting with an underscrore */ } I can't believe I never knew about this. I have read 3 CSS books in the past few years and don't recall ever reading about this hack. So while it isn't the end-all solution to fixing CSS bugs in IE6, I think it should come in pretty handy in the future now that I know it exists. I found this URL to WellStyled which describes the hack in more detail....