Version 0.7.2 with MVC Preview 3 and NH 2.0 Beta 2

Rating: No reviews yet
Downloads: 2159
Released: Jul 10, 2008
Updated: Jul 15, 2008 by wmccafferty
Dev status: -not yet defined by owner-

Recommended Download

Source Code SharpArchitecture_0.7.2.zip
source code, 1972K, uploaded Jul 14, 2008 - 1256 downloads

Other Available Downloads

Documentation Base Architecture and Development Guidelines.doc
documentation, 222K, uploaded Jul 15, 2008 - 903 downloads

Release Notes

This release represents a major upgrade to the infrastructure of S#arp Architecture - but the overall structure, with respect to application layering, is untouched. This release is far simpler to work with than previous versions while still providing plenty of flexibility. A huge thanks goes out to Frank Laub who has provided terrific feedback and guidance on making S#arp Architecture simpler while using it on real-world web applications. This releases many changes include:
  • NHibernate 2.0 Beta 1 integration is now included.
  • Integration with Spring.NET has been dropped. Spring.NET is a fantastic library with world class AOP, IoC support, and many other modules. But for S#arp Architecture, a simpler approach was found for performing dependency injection without the need for external configuration files. If you're still in need of many of Spring.NET's terrific libraries, you'll want to take a look at release 0.6.* which comes preconfigured with Spring.NET.
    • The ~/SpringConfig folder no longer exists
    • There is no more SpringInteropController
    • The Spring XML generator has been dropped from ProjectBase
  • GenericDAO now uses the native NHibernate session.
  • HTTP Modules are no longer needed to support the Open-Session-in-View pattern for NHibernate session management.
  • All configuration, such as the DB connection string, is now just within web.config.
  • Concrete types needed for Dependency injection are now declared at the top of each dependency interface; e.g., ISupplierDao.
  • NHibernate session storage mechanisms, for both web and unit-tests/winforms have been added to ProjectBase.Data and ProjectBase.Web.
  • The Identity attribute has been renamed to DomainSignature to better reflect its purpose.
  • Controllers now simply inherit from the base MVC Controller.
  • ProjectBase.Web.ControllerFactory has been introduced with built in dependency injection.

I'm confident you'll be very pleased with the changes and would highly recommend upgrading your project if you're already using this framework and do not need the many powerful utilities found within Spring.NET. The Updated documentation to reflect the changes in this new version of S#arp Architecture will be coming soon.

0.7.1
  • Added ProjectBase.Data.NHibernate.DaoTests as base class for DAO NUnit tests. This class wraps each test in a transaction and rolls it back when complete.
  • Unit test for CustomersController has been added
  • Spring related log4net configuration has been removed from App.config

0.7.2
  • Upgraded to NHibernate 2.0 Beta 2

Reviews for this release

No reviews yet for this release.