WPF Binding, INotifyPropertyChanged and Linq

August 31, 2007

This is the first of a couple of tips I would like to share reguarding WPF. WPF binding is extremely powerful, but you are bound to run into a few issues, especially if, like myself, you have no WinForms experience. As I was writing my small LiveSpaceToBlogML GUI, I used binding in order to populate an object called ConversionOptions, which pretty much held all the data on the form. The form look something like this (a pretty simplified version, in order to focus on what matters): <Window x:Class="LiveSpaceToBlogML.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" ...

IsolatedStorage to the Rescue

August 18, 2007

Up until recently I've been totally unaware to an extremely useful .NET feature known as IsolatedStorage. It goes like this. Let's say you have a client application, right? And that application needs to store some data, right? Some user preferences maybe. Thing is, trying to simply write that data into a file can be a problem. Your application might not have the permissions needed to write to the file system. In fact, if we're talking about a browser application, that's a very likely situation. Here IsolatedStorage comes to our rescue. It allows you to write application or assembly specific...
no comments

Careful with that FreeTextBox

August 13, 2007

I came in need of an ASP.NET text box control that allows the user to enter rich text. Quickly enough I found FreeTextBox, an awesome control that is widely used in several well-known projects (such as Community Server, which hosts the blog you're currently reading). And, as it name suggests, the basic version of the control (which is more than enough for my needs) is free. So I started playing around with it a bit, throwing it in a web-page, editing some HTML and posting the page. Boom. ...A potentially dangerous Request.Form value was detected fromthe client... Well, of course. ASP.NET...

Converting a Windows Live Spaces blog to BlogML

August 11, 2007

My old blog resided in Windows Live Spaces, and I needed a way to move all its contents to the new place. I was quickly introduced BlogML, which is an XML standard that represents the entire contents of a blog. Still, I needed a way to convert a Live Space to BlogML, and I found a converter created by Jason Stangroome. It works by requiring you to enable e-mail publishing for your live space, and then uses the Live Space MetaWeblog API to do the conversion. Jason's work is great, and can be obtained from the BlogML repository (you won't find it...
tags: ,

A New Start

Hello, and welcome to the brand new version of Doron's .NET Space! If you don't know me yet, my name is Doron Yaacoby, and I've been immersed in the .NET world in the last couple of years. I've been blogging for about 6 months. It's a bit disconcerting, moving to a new blog. You worry about your readers, about the platform. It's rather like moving to a new home. It is also an opportunity, to reach a new crowd, and to escape the limitations of the old place. The transition was made by porting my old blog to the...