Skip to content

Monthly Archives: March 2009

Untie LINQ to SQL Connection String from Application Settings

26-Mar-09

Did you know that by default LINQ to SQL defines your connection string in more than one place if you define your LINQ to SQL classes out from a web app, such as a data access layer class library? Under “Application Settings” stored as Settings.settings and compiled in with your code rendering it unchangeable without [...]

Silverlight 3.0 Beta Released. Look how far we've come…

25-Mar-09

Anyone who knows me, will know that I have been an advocate of Silverlight for a very long time, since the very beginning in fact; I just knew Microsoft could be on to something big if they played their cards right.  I even defended it when people called it names such as ‘fatso‘ … err, [...]

Normalizing Your Database: The Basics

25-Mar-09

Are you interested to learn more about database normalisation? or not sure really what it’s about? Or chances are if you’ve worked with, or created your own database, you’ve performed database normalisation without even knowing it. Well I found a great article on this topic and it’s definitely a keeper. Anyway the below is shamelessly [...]

Printing Web Application Version Number in ASP.NET MVC

24-Mar-09

This is a quick and easy way I found to print the current version number as outlined in your AssemblyInfo.cs file for printing in an ASP.NET MVC view: [sourcecode language='html'] Replacing MyController of course with your appropriate MVC controller name. This technique may not just apply to ASP.NET MVC, I suppose if you fed the [...]

MIX '09 Session Recordings

24-Mar-09

No doubt you’re aware of the Microsoft MIX ’09 Developers and Designers Conference happening in Las Vegas right now and are busy rummaging around on visitmix.com to download all the session videos.  Well alas, Mike Swanson has been kind enough to produce a complete list of the video sessions from MIX in an easy to [...]

WPF Blurriness/Washed Out-ness Explained

20-Mar-09

This has bugged me since the beginning of time! OK, since the beginning of ever seeing WPF forms and controls. Have you ever noticed that WPF elements looks blurry and washed out compared to non-WPF elements? WPF: (sorry to pick on you NCover, but you were open at the time) Non-WPF: Can you spot the [...]

Console2: A Great Command Prompt Enhancer

20-Mar-09

I’ve been working with TeamCity and NAnt build scripts a lot lately, and as a result I’ve found myself in and out of cmd.exe and one of my text editors of choice a lot lately. So based on all this usage, I wanted to gear up my environment for maximum productivity, so the very first [...]

A Great Day: ASP.NET MVC 1.0 RTW Released!

19-Mar-09

ASP.NET MVC 1.0 RTW (Release To Web) has now officially been released earlier today, go check the write out over at Phil’s Blog. *uninstall’s RC2 I just installed and installs RTW =:)*

Cool Stuff in the System.Web.Mvc.UrlHelper Namespace!

18-Mar-09

^^ Not sure what’s going on here with my theme, that title is feeling a little courageous so let’s just line break a bit and pretend it isn’t overlapping my article… As well as your typical Html Helpers for ASP.NET MVC in System.Web.Mvc.Html which aids in rendering html for use in your MVC work, have [...]

Unexpected Behaviour with ASP.NET MVC SelectList SelectedValue

17-Mar-09

Well I’ll be darned. I just spent half an hour today debugging what I thought was a strange oddity today with an ASP.NET MVC Html.DropDownList(), specifically within it’s SelectList element on a simple “add / edit” detail screen on an ASP.NET MVC web form. I had this code: [sourcecode language='html'] Basically stating that when launching [...]

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...