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 [...]
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, [...]
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 [...]
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 [...]
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 [...]
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 [...]
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 [...]
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 =:)*
^^ 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 [...]
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 [...]