Tuesday, September 05, 2006

XML Notepad 2006 (Free utility for editing XML Files)

XML Notepad 2006 (Free utility for editing XML Files): "If found this little utility over the weekend that helps with creating/editing XML files, which I hate having to do by hand. It's a FREE download from Microsoft Downloads.

Here's some of the features:

Tree View synchronized with Node Text View for quick editing of node names and values.
Incremental search (Ctrl+I) in both tree and text views, so as you type it navigates to matching nodes.
Cut/copy/paste with full namespace support.
Drag/drop support for easy manipulation of the tree, even across different instances of XML Notepad and from the file system.
Infinite undo/redo for all edit operations.
In place popup multi-line editing of large text node values.
Configurable fonts and colors via the options dialog.
Full find/replace dialog with support for regex and XPath.
Good performance on large XML documents, loading a 3mb document in about one second.
Instant XML schema validation while you edit with errors and warnings shown in the task list window.
Intellisense based on expected elements and attributes a"

Sunday, September 03, 2006

Question of the Week - Validation Code Reuse

Question of the Week - Validation Code Reuse: "Last Friday while out on the ARCast Down Under Tour in Perth Australia someone came up to me with a question about sharing code between the client and server side in an SOA. I have to admit that after 2 weeks on the road with constant presentations I wasn't thinking too clearly and I couldn't remember how to do this. I knew I had done something like this before so here I am 5 miles above the Indian Ocean on my way to Kuala Lumpur and I decided to take this challenge on. Here goes.

Question: How can I share validation logic between server side code and client side code in my SOA?


First off let’s begin with some basics of validation in SOA. The most basic rule of all is that you should validate the content of messages. Never trust client side validation code only because anybody can create an XML message and send it to you. But suppose that you do control the client and the server and you want to share validation code across both of them. Th"