posted on Thursday, June 30, 2005 6:34 PM
by
Benjy
BTS Diary 4- Let sleeping dogs lie
DAAB : The Ent Lib data block is still not behaving itself, so we've taken the soft option. Since the service we were working on is a web service, BTS doesnt really care that it uses Ent Lib, so we managed to hide the DAAB behind the web service so the two dont quarrel. For now we decided to let sleeping dogs lie.
Architectural Consistency Woes: The sad thing is that I'm struggling with getting the DAAB to insert NTEXT data into a database. It complains that SqlCommandWrapper cannot be used due to some protection level. See my GDN Message Forum post for details. Bah! Humbug! Now I've temporarily lost consistency in the architecture cos some services are using Ent Lib and the others are simple direct SQL Connections. Still, I need to get things done and I cant insist on consistency at the expense of getting things to work, can I? That would be too ivory tower-ish. Perhaps in a later iteration, when we've delivered some concrete stuff and can spend some time digging around, we will be able to find out what the problem is.
Deploying Ent Lib: On another, but related track I had some good feedback from Tom Hollander in the new GDN Ent Lib workspace where I asked if we could deploy code to production while retaining the MS namespaces (some people said that it had to be changed in the old App Block days) and how do we handle the issue of several components sharing Ent Lib DLLs when deploying.
But there is some satisfaction. Iteration-1 of my system is now 95% done. I can transform the source data, call the load service and archive the files (source and transformed versions) to a database at completion. We are now re-factoring the namespaces for all the projects and custom components to get some consistency into it. Future iterations will involve dynamic mapping, content enrichment patterns, possibly some de-batching and aggregators and so on. Will keep posting.