Tom spoke about the major Software factories that are in use now –
- Web Client Software Factory
- Web Services Software Factory
- Smart client Software Factory
- Mobile Client Software Factory
He gave a demo on the current Web Service Software Factory and also the yet to be released newer version of it. The new version is an interesting one, as you first define the model using DSL and then let the Software factory generate the code after that. I actually like this approach, but Darren got me thinking about the frequency at which the p&p team make breaking changes. All the guidance automation that people would have built/extended using the old Service Software factory would now be rendered redundant. Not a very good thought for people who would have done that.
Having said that I have to admit I am looking forward to playing around with the new “Modeling edition” Service Factory.
There are people who love EntLib and people who hate it. I would like to see myself somewhere in the middle. At Tech Ed today, Tom Hollander presented on EntLib 3.1 – he did not cover on the usual Application blocks that exist for Exception handling, logging, data access etc and instead concentrated on the two new ones – Validation Application Block and Policy Injection Application block.
The key areas that he covered in his presentation were –
- How the Validation Application Block can be used to specify validation either using Attributes, programmatically or even in the configuration. He also spoke about how it is integrates nicely with ASP .NET, Win Forms and WCF
- The Validation App Block contains rules to do the most common validations such as Null checking, Range checking, Validation using regular expressions, checking for characters and date lengths, property conversions, etc
- How the Policy Injection Application block can be used for separating cross-cutting concerns from business logic