One Way to Solve Collection Validation in Silverlight 3

In one of my current projects I used Datagrid’s with RowDetail forms for editing the ItemSource collection.  This created  a unique issue with exception throwing from the entities so the form will provide immediate response to the user.  This became very difficult to accomplish with the fact that the entities were provided by WCF (the Domain Service – we are not using RIA).   Now the issue is that the WCF ONLY provides the implementation of the entity and not the entity itself, so in short terms no exception is thrown to the UI; however we would receive the general service fault exception from the service.

To overcome this I used the shared entity model and included them in both the Silverlight frontend and WCF backend.  Now this is great solution; however if the user does not enter the form field well no instant feedback.

So for this opportunity, I created a .Validate method on the object and had it produce an error collection as well as return a true/false.

This option now allowed me to validate the object in ItemSource collection, so now the application can bulk save and evaluate the collection of data rather than one field at a time.

I will post an example of this process in the near future as well as how to do it.

BizTalk 2009

Why BizTalk?

BizTalk 2009 is a message broker SOA tool.  It is used to connect disparate systems and provided an entry point for connecting to your customers.  BizTalk does come at a cost; however with the “built-in” functionality it can cut development costs.

Some Features:

  • Retry Capabilities
  • Transaction Traceability
  • BAM (Business Activity Monitoring
  • Reliable (durable) messages
  • LOB (Line of Business) Adapters to fit most integration points (Siebel, Oracle, HiPPA)

What’s New in BizTalk 2009 (Captured from

BizTalk Server 2009 introduces enhancements and new features in four main areas:

  • Support for the latest platforms from Microsoft including server, database and development environment.
  • Enhanced developer productivity and new application life cycle management experience for development teams.
  • New capabilities for implementing agile SOA integration solutions across heterogeneous technologies and Line of Business systems.
  • Enhanced B2B and RFID capabilities to allow the implementation of flexible end-to-end supply chain management and asset tracking solutions.
Top New Features

BizTalk Server 2009 introduces enhancements and new features in four main areas:

Updated Platform Support

  • Support for Visual Studio 2008 SP1
  • Support for .NET Framework 3.5 SP1
  • Support for Windows Server 2008
  • Virtualization support with Hyper-V
  • Support for SQL Server 2008

Developer & Team Productivity

  • New Application Lifecycle Management (ALM) experience – with Support for TFS – integrated source control, bug tracking, unit testing, MSBuild automation
  • Enhanced Developer Productivity with Visual Studio project system updates & Map Debugging

SOA and Web Services

  • ESB Toolkit 2.0
  • New UDDI v3 Web Services Registry
  • New and enhanced LOB adapters (Oracle eBusiness Suite, SQL Server)
  • Enhanced host systems integration (WebSphere MQ, CICS, IMS)
  • Enhanced BAM support

Business to Business Integration

  • New Mobile RFID Platform
  • New RFID device management and industry standards support
  • Enhanced Support for EDI and AS2 Protocols and Drummond certification
  • Updated SWIFT Support and SWIFTReady Financial EAI Gold certification

Enough on the sales pitch, my next post will dive into the factoids and creating your first BizTalk application.

Barcamp Tampa

I had the opportunity to spoke this weekend at Barcamp Tampa.  I did a my presentation on LINQ 4.0 and a session on Silverlight (was impromptu).  My Silverlight session was video taped, so I will post as soon as it is available.

I was joined by Joe, Russ, Nikita (did mobile market place), and Stan (open source with Microsoft) – was a great event and very productive, so you may want to catch it next year.

To follow Barcamp Tampa –

Connections to SQL Server files (*.mdf) require SQL Server Express 2005 to function properly. Error in Visual Studio 2008…

In VS 2008 Menu select Tools and from the Options window, select Database Tools > Data Connections.

Make sure the SQL Server Instance Name(blank for default) – is set to the instance of SQLExpress installed.

You may leave this blank if only one instance is installed