October 2004 Blog Posts

ASP.NET 2.0 Profile Data Source Control

When building web sites in ASP.NET 2.0 that use the membership features you're inevitably going to use the Profile to store some custom properties (you know the stuff; Address, email, Theme, etc). You're probably also going to have an 'update your settings' type page to allow users to edit their profile properties, so you code a page with a bunch of TextBox controls, setting their values from the Profile, then a button to update the profile from the entered data. It's just a bit tedious, especially if these controls are within a template, where you end up doing a ton...

posted @ Friday, October 29, 2004 4:34 PM | Feedback (4)

Po'Girl

Saw Po' Girl again the other day. Wonderful, truly wonderful. Well worth it if you get a chance.

posted @ Friday, October 29, 2004 11:13 AM | Feedback (0)

John Peel Dies

A sad day indeed. For those across the pond John Peel was a bastion of British radio. One of the few people who didn't toe the playlist line, and championed unknown acts and world music. The world is a sadder place without him.

posted @ Tuesday, October 26, 2004 3:15 PM | Feedback (1)

ASP.NET 2.0 Navigation and Security Trimming

Since I posteded a reference to a forum post I've done more investigating, and feel this is worth mentioning. The ASP.NET 2.0 site map framework uses, by default, and XML file to define the menu structure, as a set of XML nodes. Each of these can have a 'roles' attribute, allowing a command delimited list of roles, to which that menu item applies; that is, the menu item shouldn't be shown to people not in any of the roles. I myself fell into the trap of thinking this doesn't work, and confusion comes from two areas. First you have to explicitly...

posted @ Saturday, October 16, 2004 11:29 AM | Feedback (19)

ASP.NET 2.0 Menus, Roles and SecurityTrimming

The SiteMap architecture of ASP.NET 2.0 allows roles to be defined for each menu item, thus restricting their view to only users who are in that role. This requires the securityTrimming attribute to be added to the siteMapProvider, but I'd never been able to get this to work, and assumed it was a just a simple bug in the beta. I now learn that it's not a bug, and the solution is pretty simple. Danny Chen explains it in this forum post. Simple really.

posted @ Friday, October 15, 2004 9:36 AM | Feedback (0)

Finally, someone gets a clue

I listen to music all of the time, especially on planes and trains. I few years ago I bought into the minidisc market, knowing full well I'd eventally move to some form of MP3 player - at the time the memory/microdrives were just too expensive. My current player is a Frontier Labs NexII, which I bought for two reasons. First it uses Compact Flash cards (or microdrives), so is easily upgradeable; I stick to CF cards as they are pretty cheap and don't suck the battery like a, err, big sucky thing from planet suck. Secondly it uses 2...

posted @ Wednesday, October 13, 2004 1:06 PM | Feedback (-167)

Road Trip

This is pretty cool.

posted @ Monday, October 11, 2004 5:03 PM | Feedback (0)

The darling of british folk

It's not hard to understand why Kate Rusby is described as the darling of British folk music. She is simply wonderful. I may be slightly biased as, in my eyes, she can do no wrong, but that doesn't mean she's not fantastic. Last night it Birmingham she dazzled my socks off. From the opening "ello" in her broad Barnsley accent to the closing number was simply glorious. What I wasn't expecting were the funny stories explaining the songs, where she tends to go off on a tangent digging herself into a hole of obscure people and situations. The 7 year fish,...

posted @ Saturday, October 09, 2004 11:57 AM | Feedback (4)