Tuesday, June 02, 2009

In C#: generate a class for an XML file

For my own reference as musch as anything.

Often it's useful to have a helper class to work with a complicated XML document. Unfortunately, I seem to most often need to do this for documents for which there is no official schema.

Here's a quick way to get things done using xsd.exe.

"C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\xsd.exe"
config.xml

"C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\xsd.exe"
config.xsd /classes /language:CS /namespace:MyNamespace
/out:"C:\path\to\desired\dir"

Monday, June 01, 2009

Friday, May 29, 2009

Thursday, May 28, 2009

Every Developer Should Know ... no more

I had this grand idea for blogging. I'd blog about all those things that it amazes me that other developers don't know.  The things that I thought every developer should know, but, it seems so many don't.

In amongst some other grander ideas it was also intended to encourage me to blog more and more frequently.

Unfortunately having 'another blog' didn't motivated me to blog more frequently, it just became an extra pressure.  It therefore seemed an excellent candidate for things to face the cut when I decided to rationalise what I spend my time on.

Until the domain expires it will point here and the original posts are at http://everydeveloper.blogspot.com/

I've also imported most of the posts into this blog (http://blog.mrlacey.co.uk/search/label/evdevshokno). Hopefully I finish some of the draft posts too. - Perhaps.

Wednesday, May 27, 2009

DDD South West

Last weekend I attended DDD South West.  It was a really good day and I recommend it to anyone.

I once again took the opportunity to give a grok talk on Mobile Web 2.0 and MDBF. The slides from this can be seen below.
Again this talk was well received and I had lots of positive feedback.

Here's a few pics from the day:

 
Quite a venue.
Guy looking like he's talking to an empty room


He wasn't!

Some people enjoying the sunshine in a break.

crowds for snacks

Cream teas in the afternoon!

The main room

More people relaxing outside

Another of the rooms.