Creating an excel-like grid for ASP.NET
I have been searching around for a while because I was in the need for an ASP.NET control similar to asp:GridView, but with following huge differences: All rows and their cells must be in edit mode all...
View ArticleCalling an Oracle Stored Proc with CLOB from System.Data.OracleClient
You might have stumbled upon this and it might have made you tear your hair just as it did to me. When you try to call a stored procedure from .NET using System.Data.OracleClient, you won’t be able to...
View ArticleTwo Useful Classes When Using Excel COM Interop
There are two known problems when working with Excel Interop. After having used Excel and shut down your application, an Excel process still “hangs” in background. When your Excel installation is...
View ArticleUsing Eric Hynds’ multiselect with knockout
Eric Hynds has crafted an awesome enhanced multiselection dropdown as a jQuery UI widget which enhances a normal <select multiple> list. Unfortunately, as many jQuery UI widgets, it manipulates...
View ArticleMajor take-aways from ScrumMaster course
I took my ScrumMaster course three weeks ago and had the honour to take it with Jeff Sutherland as our teacher. This course was very insightful – a pity that it was so short! So I guess 90% of my...
View ArticleUnit Tests: An AAA-conform way to expect exceptions
I like the way how NUnit supports expected exceptions in unit tests – as opposed to some other frameworks, where you have to misuse a try-catch block try { DoSomething(); Assert.Fail("exception...
View ArticleGeneric Types are prettier than Dictionaries
If you need to pass key-value-pairs to a method you can find many modern implementations prefer to take them as an “object” rather than a dictionary. This allows you to create a anonymous object which...
View ArticleDo not fix code duplication – solve it
When you find two identical or near-identical pieces of code in your codebase this is identified as code duplication. There are many resources to learn why code duplication is an issue. When you find...
View ArticleNo more copy & paste in my IDE
This is day one of my new trial. I have removed the key shortcuts for copy & paste from Visual Studio. I have seen too much of code duplication, some of it bears my very own signature. More often...
View ArticlePolymorph Razor Views
As an object-orientation-spoiled programmer, when you come to use an HTML rendering engine such as Razor you will soon start to wish for the same couple of design advantages that object orientation...
View ArticleNew Feature Request: [Rotten] attribute
This is an inoffical new feature request – I am floating between sarkasm and really considering to implement this. Here it is, I proudly present: The [Rotten] attribute* * Other candidate names are:...
View ArticleClosures leading to “Type not marked as serializable” exception
Today I faced a SerializationException that refered to some anonymous inner class stating it was not serializable, when IIS tried to store the session in the ASP.NET State Service: Type...
View ArticleDrive your Meetings with Google Maps
Google Maps is optimized to find your way from A to B. In your meetings you usually want to achieve the same. That’s why, suprisingly, Google Maps gives you perfect guidance on how to drive your...
View Article