Author Archives: Will
Was fighting an annoying aspx / R# error for a couple of hours this morning. I’ve reported this as a bug to R#: http://www.jetbrains.net/jira/browse/RSRP-96241 The basic problem: R# doesn’t highlight correctly if your Inherits directive is not fully qualified. Even … Continue reading
I’ll be spending the next two days at a Agile Open Northwest. If you’re at the conference, come find me. :) Otherwise I’ll be blogging about anything I find especially insightful.
I’ve spent most of the past couple of days mapping a legacy database with NHibernate. Here’s how the design of this database probably went down: Pointy Haired Boss: We’ve decided to cut costs by paying you per primary key instead … Continue reading
Simple enough, it looks like some standards nazi went through and renamed the Login to Logon in several places for RC1. Unfortunately it did not get renamed in the Web.config for the redirect on failed login url. <authentication … Continue reading
As I’m sure you noticed, MVC RC1 is out now. In reading through the release notes I found this: “The overloads for DropDownList and ListBox helper methods were reworked to fix various usability problems that were reported by customers.” Thanks … Continue reading
Sometimes using a stock photo can help sell your product. Perhaps this one is trying to convince the buyer what not to do. Or something.
By some strange combination of beta and pre-release candidate installs I managed to create some serious conflicts with ASP.NET MVC. Thereby producing this wonderful little error: Compiler Error Message: CS0433: The type ‘System.Web.Mvc.FormMethod’ exists in both ‘c:\WINDOWS\assembly\GAC_MSIL\System.Web.Mvc\220.127.116.11__31bf3856ad364e35\System.Web.Mvc.dll’ and ‘c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET … Continue reading
This took me forever to find online, so I’m posting it here for the next helpless soul. If you need to round datetimes coming out of sql to the nearest 5 minutes, here you go. dateadd(mi,(datepart(mi,dateadd(mi,1,DateTimeColumn))/5)*5,dateadd(hh,datediff(hh,0,dateadd(mi,1, DateTimeColumn)),0))
If you want to hear random drivel about my life, I’ve started a personal blog over at willshaver.com. I will continue to use this one for software related posts.