fr3dr1k on November 13th, 2009

You know the feeling when you see someone use a property and you go, nice, I never knew that. Well last night that happened to me after reading Scott Hanselman’s article on Windows Powershell. In the article he created a script that automatically downloaded his podcasts. To do this he use the System.Uri class which [...]

  • Share/Bookmark

Continue reading about Using System.Uri’s Segments property and List().ForEach

fr3dr1k on November 12th, 2009

I have been using Inkscape now for a while and I was surprised to see XAML as an export format. This means that I can design UI elements in Inkscape and re-use them in Visual Studio 2008 for WPF/Silverlight applications. This means that I do not have to buy Expression Design, which is a bargain.

  • Share/Bookmark

Continue reading about Inkscape supports XAML

fr3dr1k on November 10th, 2009

I got a Google Wave invite earlier this week and I must admit I have not logged in again since and honestly I have not felt compelled to, but that may just be me. Maybe it is just me, maybe I am not as forward and revolutionary thinking as the people over at Google. To [...]

  • Share/Bookmark

Continue reading about Will email truly die?

fr3dr1k on November 4th, 2009

Today I had this scenario where I wanted to post items from multiple HTML input elements to a generic handler (.ashx) file without using the action attribute of the form. Specifying the action meant that that you are navigated away from the page where the action is happening, which means re-creating UI logic. How did [...]

  • Share/Bookmark

Continue reading about Getting POST values with an ASHX file

fr3dr1k on November 2nd, 2009

I have come across two ways querying XElements or XAttributes: Make an object IEnumerable and loop through the results Use the Single() method to return a single object only Typically you may have a situation where you write some Linq-to-XML like this: IEnumerable attrib = from att in elemInner.Attributes() where (string)att.Name.ToString() == “sectionName” select att; [...]

  • Share/Bookmark

Continue reading about Getting a single XAttribute or XElement

Get Adobe Flash playerPlugin by wpburn.com wordpress themes