Saturday, January 29, 2011

ArcObjects CreateFeatureClass throws exception 2147216889

ArcObjects always throw cryptic errors that don't provide enough information. When I received this error it turned out I wasn't assigning a SpatialReference. This article helped me figure out this was the problem.

Friday, January 14, 2011

Using Json with AJAX

I came across this interesting article on how to use Json with WCF. Specifically, the "d" parameter stands out. This feature is specific to WCF/webHttpBinding, because I've consumed Json services before and this parameter was not available. For more information check out the article.

Tuesday, January 11, 2011

Closable tab control in WPF

Doing a Google search I found probably 5 different ways to implement this feature in the first page. They are all valid (and some more complex than what I need). This article is the one I used to and I strongly recommend it if you are new to WPF. If you want a more advanced implementation then this article is what you need.

Monday, January 10, 2011

MVVM resources

There are probably more than 10 different implementations of MVVM. For example, just to list a few:


Personally, I like Karl's implementation; it's really well documented and easy to understand.

Sunday, January 9, 2011

WPF patterns

This is a good article on how to use WPF and MVC. Is this the best approach? Should I be using MVVM? What's really MVVM? I am not sure since I am still learning WPF, but will post about it as soon as I find out!

Saturday, January 8, 2011

Bug reporting

Users (even developers are users many times) always expect software to "just work". What happens when this is not the case? For example, I accessed blogger using Chrome and couldn't add a new post, so I had to use Firefox. It's really annoying, but the best we can do in those cases is report the bug.

As developers, bug reports are the best tool we have to improve the software. After all, how can we fix a problem that we don't know exists? I've used tools like BugNET and JIRA to track defects, but the tool is not important as long as you track defects.