Hi all,
I've checked in everything for the RC release of S#arp Architecture
with the exception of updated documentation. The /trunk/
VersionHistory.txt has all of the details for this release, including
exact version/revision-numbers of included dependencies. There will
be no breaking changes introduced between this RC release and 1.0
(assuming
ASP.NET MVC adheres to this commitment as well).
In the RC release, the only non-trivial breaking change to the
SharpArch libraries is the renaming of Entity.ID to Entity.Id. (I
have left an obsolete ID getter for now to assist with this
transition.) The CRUD scaffolding generator has also received a lot
of attention for the sake of end-to-end generation and extensibility.
Although it's just a little more work to define an entity and its
properties, it now does a lot more for you...no longer will you need
to go into the code, after the scaffolding has been generated, to add
validation attributes, test values and designate domain signature
properties - it's all done via the scaffolding command itself now.
The highlights of this release include:
* Compatible with
ASP.NET MVC RC (obviously)
* VS template project now includes Fluent NHibernate auto persistence
mapping by default
* Much more powerful and extensible CRUD scaffolding generator - it's
completely touch-up free for many scenarios
* Performance of unit tests using SQLite has been improved 20% (thanks
Jay Oliver!)
* Integration of domain validation with MVC model binding has been
introduced via a new ValidatableModelBinder (thanks David Hayden and
Austin Bain!)
* Added crazy cool anti-forgery voodoo magic to the CRUD scaffolding
generator for creating, editing and deleting items (uh, thanks MVC
team!)
After I update the documentation to reflect the latest code check-ins,
an "official" release will be ready to go. With that said, please
feel free to grab the code off the trunk which represents the RC code
if you don't want to wait for the docs to be updated.
Billy McCafferty