Skip to content

Monthly Archives: July 2009

Updating Multiple Child Objects And/Or Collections in ASP.NET MVC Views

27-Jul-09

Have you found yourself using ASP.NET MVC quite merrily building views and controllers and master/detail forms with 1-1 objects from your database to your view and now you’ve hit a hairy case which has ruined everything when you have a child and/or child collection object you also need to update on the form (or multiple [...]

LINQ to SQL Generic Repository

27-Jul-09

After my last post regarding the strange NotSupportedException I was receiving on my generic repository, I thought it might be fitting to post what my LINQ to SQL generic repository looks like and what it’s all about. WHAT’S A REPOSITORY? A repository defines methods which allow you to access data from your data model, typically [...]

Twitter Weekly Updates for 2009-07-26

26-Jul-09

How to instantiate instance of object where type is unknown – needed this today, awesome! http://tr.im/tD0d # "Secret of Monkey Island: Special Edition" (http://tr.im/tDfr) and "Tales of Monkey Island" EP 1 (http://tr.im/tDfY) available!..MI Heaven! # Street Fighter IV – Man, we are going back in time for games! Lovin' it! (http://bit.ly/sT2ez # Best review eva! [...]

The mapping of interface member [...] is not supported

22-Jul-09

I was working with LINQ to SQL today to bind some data to a drop down list in ASP.NET MVC, when I encountered this strange exception I’ve never seen before: System.NotSupportedException: The mapping of interface member IDbTable.StatusID is not supported. I figured I knew what triggered the problem, and that being due to the new [...]

Twitter Weekly Updates for 2009-07-19

19-Jul-09

I know I'm slow to the "Google Wave" party, but damn can't wait to use it: http://wave.google.com/ # For those who have not seen "Microsoft Surface Parody" http://bit.ly/qYomO #

T4 Toolbox Offers Alternate LINQ to SQL Class Generator: Explained & What It Can Do For You

14-Jul-09

If you aren’t up with the know, T4 Templates or the Text Template Transformation Toolkit is a Microsoft template-driven code generation toolkit baked right into Visual Studio 2008 (and available in Visual Studio 2005 as an additional download) which allows you to do some pretty cool stuff in the way of code generation — that [...]

Twitter Weekly Updates for 2009-07-12

12-Jul-09

Expensive http://twitpic.com/9nsmp #captcha # Cool. The really twisted "Requiem for a Dream" website is still up. Go check it out with headphones. http://www.requiemforadream.com/ #

Twitter Weekly Updates for 2009-07-05

05-Jul-09

RT @onojw: Compose #WPF applications using pre-defined designer created views #XAML(AppModels) http://bit.ly/tA1Xd # Very, very cool – New & Improved ASP.NET MVC T4 Template to make life easier. http://tr.im/qf2T # Very, very cool – New & Improved ASP.NET MVC T4 Template to make life easier. http://tr.im/qf2T and http://tr.im/qf5n # Do only developers use the term [...]

Really Simple “Single Call” Trick for jQuery Watermark Plugin

01-Jul-09

If you guys haven’t seen this terrific jQuery Watermark Plugin go check it out over here. I just installed it today and found a nice way to watermark all my input boxes by a neat jQuery .each() trick. If you’ve used this plugin but got a bit annoyed having to invoke the watermark and set [...]

My name is Graham O'Neale and I'm a software architect from Gold Coast, Australia. I am an overtime thinker, full time coder and awake part time in the real world. I have a keen interest in software development, particularly in the realm of programming (C#, ASP.NET, ASP.NET MVC, LINQ (2 SQL), Entity Framework, Silverlight, Blend, WCF, WPF) and a keen interest in the cutting edge and innovation. I have a new found love for design patterns, ALT.NET practices and well crafted software architecture. The purpose of this blog is to express any thoughts, findings, tips and gripes along my travels in the wonderful world of coding and technology...