Jaimal Chohan

Archive for April 2008

Custom Configuration Sections

Posted by: jaimalchohan on: April 29, 2008

Custom configuration sections were revamped in .net 2.0 and are a great way to validate and manage your applications configuration with a minimal amount of work.

Instead of storing multiple keys in the you can consolidate your keys into their own cleaner and clearer section. Consider the following section. This is a really [...]

.NET XML Serialization & T-SQL XML – DateTime

Posted by: jaimalchohan on: April 29, 2008

Today whilst trying to validate an XML document in Sql Server 2005, which had been passed in as a paramater from .Net, I came accross an issue with DateTime serialization.
XML Date Time Sepcification

The W3C XML Schema Scpeification specifies that a valid datetime is the following

2008-04-28T22:45:32+01:00

The first portion before the ‘T’ is obviously the date. [...]

.NET XML Serialization & T-SQL XML – DateTime

Posted by: jaimalchohan on: April 29, 2008

Today whilst trying to validate an XML document in Sql Server 2005, which had been passed in as a paramater from .Net, I came accross an issue with DateTime serialization.
XML Date Time Sepcification

The W3C XML Schema Scpeification specifies that a valid datetime is the following

2008-04-28T22:45:32+01:00

The first portion before the ‘T’ is obviously the date. [...]

Asynchronous Programming Part 1 – Delegates

Posted by: jaimalchohan on: April 26, 2008

Asynchronous Programming Part 1 – Delegates
Asynchronous Programming is the ability to perform multiple operations at the same time. For example, connect to a web service whilst at the same time connecting to a database and still responding to user input (avoiding a ‘frozen’ window).

To understand and be able to use Asynchronous programming techniques there are [...]