Blog - .NET, ASP.NET, AJAX, Ruby and more

Category Archives: C#

Silverlight 4 Multi-Binding Converter Enhancement

We have been using Colin Eberhardt’s MultiBinding Converter for Silverlight for quite a while now. It was great until we realized a problem.  When the MultiBinding Converter was off screen (hidden), it would throw a binding error stating that it couldn’t convert null to whatever (in our case it was an integer in one converter [...]

Also posted in .NET, Silverlight | Tagged | Comments closed

Book Review – Manning The Art of Unit Testing

To some, “unit testing” is a four letter word.  While it’s unfortunate, the feeling is justified by poor experiences, lack of knowledge, and so on.  Personally, I’ve had mixed experiences with unit tests.  I’m sure many of you have encountered similar situations.  After reading The Art of Unit Testing by Roy Osherove, I feel far [...]

Also posted in Review, Testing | Tagged , , | Comments closed

Get and Set Properties using .NET Reflection

Introduction I would like to set the text value on a textbox control. It sounds easy enough. First, I would like to create a textbox web control then I would like to access one of its properties “Text” and set the text to “Hello World”. Well what do you need to do to write your [...]

Also posted in .NET, Reflection | Tagged | Comments closed

ASP.NET AJAX Page Methods

Technorati Tags: Page Methods,UpdatePanel,AJAX,ASP.NET If you’ve read things of mine, such as my Wrox Blox Hands On ASP.NET AJAX Control Toolkit, or posts on the ASP.NET Forums, you may have noticed I talk about using ASP.NET AJAX Page Methods lots of the time.  Lots of developers using ASP.NET AJAX overuse the UpdatePanel, or use it [...]

Also posted in .NET, AJAX, ASP.NET, JavaScript, WCF, Web Services | Tagged , | Comments closed

C# 3.0 – Auto-Implemented Read-Only Properties

Technorati Tags: C# This isn’t a new topic by far, but I still encounter the question of how to implement a read-only auto-implemented property, so here it goes. As I’m sure you are aware, C# 3.0 has a wonderful feature known as auto-implemented properties (sometimes referred to as Automatic Properties).  These clean up our code [...]

Also posted in .NET | Tagged , | Comments closed