May 2008 Entries
A colleague has been asking how to do this and I've found a great post written years ago. I've linked it here...

Bookmark with :
Digg It! DZone StumbleUpon Technorati Reddit Del.icio.us Newsvine Furl Blinklist
I've compiled a list of the Technorati tags that I use on this site. Find out more here...

Bookmark with :
Digg It! DZone StumbleUpon Technorati Reddit Del.icio.us Newsvine Furl Blinklist
This is just a quick addendum to a colleague's post about using JSON in .NET. Read more for an example and a link to the original post.

Bookmark with :
Digg It! DZone StumbleUpon Technorati Reddit Del.icio.us Newsvine Furl Blinklist
Have you ever wanted to change the default namespace of an XmlDocument in .NET. It's not as easy as it might be.

Bookmark with :
Digg It! DZone StumbleUpon Technorati Reddit Del.icio.us Newsvine Furl Blinklist
I'm currently reading "Enterprise Architecture as Strategy" by Jeanne W. Ross, et al., published by Harvard Business School Press. I recommend that you obtain a copy and read it if you are interested or involved in enterprise architecture or business IT strategy.

Bookmark with :
Digg It! DZone StumbleUpon Technorati Reddit Del.icio.us Newsvine Furl Blinklist
Today I've been talking to some of our developers about generics in C#. As part of it, we worked through an example, the Badger Example, which I've reproduced here for those intrigued!

Bookmark with :
Digg It! DZone StumbleUpon Technorati Reddit Del.icio.us Newsvine Furl Blinklist
I've been looking at the C# specification for the new keyword when used on a class member declaration and thought I'd share my findings. If you are a die-hard C# coder then you won't find anything new here, but of course that doesn't mean that you already know it! Maybe it would be better to check...

Bookmark with :
Digg It! DZone StumbleUpon Technorati Reddit Del.icio.us Newsvine Furl Blinklist
Have you ever wanted to remove a handler from an event, but haven't had a reference to the object receiving the event, or perhaps you don't even know what type the object has! .NET hides the details of events but with a bit of help from the Reflection classes, you can edit the handlers for your own purposes.

Bookmark with :
Digg It! DZone StumbleUpon Technorati Reddit Del.icio.us Newsvine Furl Blinklist
I was recently asked why some expressions didn't seem to be doing what the developer intended. Typically, this was due to the use of the short or byte data types. This post is a brief discussion on the related parts of the C# Language Specification (version 3.0).

Bookmark with :
Digg It! DZone StumbleUpon Technorati Reddit Del.icio.us Newsvine Furl Blinklist
I'm in the process of writing a Visual Studio template extension to automate the creation of Windows Communication Foundation components. As part of the Wizard, I want to allow users to configure options based on various enumerations. To help with this, I've developed a generic control that extends a ComboBox to manage a set of allowed values automatically. This way, the same code can be used with any .NET enumeration type.

Bookmark with :
Digg It! DZone StumbleUpon Technorati Reddit Del.icio.us Newsvine Furl Blinklist
Following my earlier post about WCF service design guidelines, I've created some WCF code snippets to simplify the implementation of services, operations, messages and data contracts.

Bookmark with :
Digg It! DZone StumbleUpon Technorati Reddit Del.icio.us Newsvine Furl Blinklist
Some of you might have recognised that we are using a customised version of the SubText blogging engine for these blogs. Recently, I've made some changes to support additional feeds and I thought I'd share them with you.

Bookmark with :
Digg It! DZone StumbleUpon Technorati Reddit Del.icio.us Newsvine Furl Blinklist
Microsoft has released an article comparing the performance of WCF and .NET 2.0 distributed application technologies such as ASMX web services, WSE web services, COM+ applications and .NET 2.0 remoting. The results are surprising.

Bookmark with :
Digg It! DZone StumbleUpon Technorati Reddit Del.icio.us Newsvine Furl Blinklist
I'm currently writing a service that needs to provide long-lived callback behaviour to a large number of clients. In this case, the WCF session semantics are not appropriate and so I can't use the ServiceContractAttribute's CallbackContract property.

Bookmark with :
Digg It! DZone StumbleUpon Technorati Reddit Del.icio.us Newsvine Furl Blinklist
The content of this post was written in response to a query by a colleague wanting to reclaim memory used by a .NET component used as part of a legacy application. Concerns were also raised about memory leaks in .NET. In this post I describe some of the basics of .NET and COM memory management, and how to explicitly manage .NET component memory use.

Bookmark with :
Digg It! DZone StumbleUpon Technorati Reddit Del.icio.us Newsvine Furl Blinklist