Images in this post missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at imagehelp@codebetter.com
S#arp Architecture Beta 1.0 now available!

I'm ridiculously relieved to announce that S#arp Architecture 1.0 Beta has been released at http://code.google.com/p/sharp-architecture/downloads/list.  Along with completely updated documentation (in /docs) and migration guidance (in /VersionHistory.txt), this release has a number of big improvements to developing your S#arp Architecture project, including:

  • Fully customizable CRUD Scaffolding generation built right into the Visual Studio template-created projects,
  • Inclusion of CommonServiceLocator to provide IoC agnosticism,
  • Removal of manual custom repository registration to Castle Windsor...they're now registered to Windsor during app init with voodoo magic (thanks Kyle Baley for the voodoo magic!),
  • Introduction of a formal solution structure to help organize S#arp Architecture applications,
  • Compatible with previous versions of ASP.NET MVC on the development machine (you can create/edit S#arp Architecture projects without installing ASP.NET MVC at all),
  • Inclusion of view "areas" which are seamlessly supported as subfolders under the Views folder,
  • NHibernate auto mapping is now available (thanks Jay Oliver!),
  • Validation is now abstracted, similarly to CommonServiceLocator...use NHibernate Validator out of the box or
    supply your own! (thanks Luis Abreu for being a pain in the arse until this change was made! ;),
  • Latest update of dependencies such as MvcContrib, Json.NET, Fluent NHibernate and others,
  • Additional NHibernate Validator support including ridiculously simple means to ensure the uniqueness of any domain object,
  • Simplification and reorganization of base objects to better reflect domain driven development needs,
  • Completely updated documentation with lots of new content.

And to give you an idea of what stands between 1.0 Beta and 1.0:

  • Await impatiently for the release of ASP.NET MVC 1.0,
  • Add support for multiple databases,
  • Add a WCF integration example,
  • Add an example of LINQ for NHibernate,
  • and that's about it!

For this release, a big thanks goes out to Lee Carter, Jay Oliver, Simone Busoli, Luis Abreu, Kyle Baley, and Frank Laub for the terrific insight, suggestions and all around assistance.

If you're new to S#arp Architecture and want to learn more, be sure to check out some of the following:

Time for me to go reintroduce myself to my wife and kids!

Billy McCafferty


Posted 01-19-2009 10:57 PM by Billy McCafferty
Filed under:

[Advertisement]

Comments

Reflective Perspective - Chris Alcock » The Morning Brew #268 wrote Reflective Perspective - Chris Alcock » The Morning Brew #268
on 01-20-2009 3:16 AM

Pingback from  Reflective Perspective - Chris Alcock  » The Morning Brew #268

Rod wrote re: S#arp Architecture Beta 1.0 now available!
on 01-20-2009 3:33 AM

Thanks a lot for putting this out. S#arp Architecture is a great learning tool, and it has something not very common on cutting-edge projects like this, a very good documentation.

Jonathan Adams wrote re: S#arp Architecture Beta 1.0 now available!
on 01-20-2009 4:32 AM

Thanks for putting the hard work in,  the crazy thing is I only started to use this yesterday and today come beta 1.  Excellent

DotNetShoutout wrote S#arp Architecture Beta 1.0 now available
on 01-20-2009 6:34 AM

Thank you for submitting this cool story - Trackback from DotNetShoutout

Steve wrote re: S#arp Architecture Beta 1.0 now available!
on 01-20-2009 8:13 AM

Awesome..  Couple of questions:

"Removal of custom repository registration to Castle Windsor...it's now done with voodoo magic (thanks Kyle Baley for the voodoo magic!),"

Does this mean no Castle Windsor?  Instead a custom jobbie?  If so, can I ask why?  ie.  I use Windsor for other items related to the IoC - event wiring, etc... the facilities.

I'm not sure I like custom stuff over proven stuff where you can get questions answered on the forums, etc...

Great work - thanks

Billy McCafferty wrote re: S#arp Architecture Beta 1.0 now available!
on 01-20-2009 9:07 AM

Steve,

To clarify, we're still definitely using Castle Windsor...just no more need to register each and every custom repository that you have.  It's done automatically via reflection during application initialization.  The code that Kyle Baley came up with to do so is pretty slick.

DotNetKicks.com wrote S#arp Architecture Beta 1.0 now available!
on 01-20-2009 9:16 AM

You've been kicked (a good thing) - Trackback from DotNetKicks.com

Dew Drop - January 20, 2009 | Alvin Ashcraft's Morning Dew wrote Dew Drop - January 20, 2009 | Alvin Ashcraft's Morning Dew
on 01-20-2009 9:51 AM

Pingback from  Dew Drop - January 20, 2009 | Alvin Ashcraft's Morning Dew

Hokey Doodling wrote S#arp
on 01-20-2009 11:48 AM

S#arp

Lance wrote re: S#arp Architecture Beta 1.0 now available!
on 01-20-2009 11:59 AM

Thanks a ton for releasing this.  The documentation itself has been a valuable learning tool.

Adam wrote re: S#arp Architecture Beta 1.0 now available!
on 01-21-2009 1:18 AM

I am fairly new to asp.net mvc, and mvc as a whole. Can anyone suggest some good resources to learn about the technologies, patterns, etc. to get started with S#arp architecture? (TDD, DDD, NHibernate, etc.)

Ste wrote re: S#arp Architecture Beta 1.0 now available!
on 01-21-2009 3:05 AM

Big thanks to you and other contributors for releasing latest release of S#arp.  As Rod before me said, this is a great learning tool for creating loosely coupled and maintainable applications.

However, I'm starting to have this nagging feeling that S#arp has reached a size and complexity, that it is more suitable for use in enterprise applications.  The architecture tries to be all things to all men.  I'm no Java expert, but one of the criticisms you read about Java applications are they are over-engineered.  Instead of code smell, this is more like architecture smell.

Having said all that, it probably says more about my techical competence than anything else.

Rodrigo wrote re: S#arp Architecture Beta 1.0 now available!
on 01-21-2009 6:04 AM

I was reading the docs , and created an application from scratch and I am getting this error:

Method not found: 'Castle.Windsor.IWindsorContainer Castle.Windsor.IWindsorContainer.AddComponentLifeStyle(System.String, System.Type, Castle.Core.LifestyleType)'.

Endy wrote re: S#arp Architecture Beta 1.0 now available!
on 01-21-2009 6:52 AM

Looks interesting - I will keep my eye on this project! :-)

Quick note: There are rare comments for commits in svn, which is bad especially for opensource...

ASP.NET MVC Archived Buzz, Page 1 wrote ASP.NET MVC Archived Buzz, Page 1
on 01-21-2009 12:20 PM

Pingback from  ASP.NET MVC Archived Buzz, Page 1

Nicolas wrote re: S#arp Architecture Beta 1.0 now available!
on 01-22-2009 9:06 AM

I see in your TransactionAttribute that the rollback mechanism is absent. Is there a reason for this?

Billy McCafferty wrote re: S#arp Architecture Beta 1.0 now available!
on 01-25-2009 5:30 PM

Nicholas,

You can use anyRepository.DbContext.RollbackTransaction() to do what you're requesting.

Nicolas wrote re: S#arp Architecture Beta 1.0 now available!
on 01-25-2009 6:33 PM

I understand that, but why not doing it in the attribute? I added it on my side, but I would prefer to know the reason why you don't put it there yourself.

Billy McCafferty wrote re: S#arp Architecture Beta 1.0 now available!
on 01-25-2009 6:37 PM

@Ste,

As you implied, it's very geared towards enterprise applications (which is itself a very subjective term).  It's always best for any project team to review a number of approaches to determine which best fits their needs.

@Rodrigo,

If you are still encountering this problem, please raise the issue on the #arch discussion board and I can better assist further.  Thanks!

@Endy,

The VersionHistory.txt in the root of the trunk details all changes; but you're right, I should start including more comments on commits.

Billy McCafferty wrote re: S#arp Architecture Beta 1.0 now available!
on 01-25-2009 6:39 PM

@Nicolas,

Now I see what you're saying.  Any exceptions will force a rollback by default, so it doesn't have to be explicitly handled OnActionExecuted.

Nicolas wrote re: S#arp Architecture Beta 1.0 now available!
on 01-26-2009 7:39 AM

At what level of the code is a rollback forced?

Billy McCafferty wrote re: S#arp Architecture Beta 1.0 now available!
on 01-26-2009 10:21 AM

Hi Nicholas,

If an exception exists, the rollback will occur when the session is closed within SharpArch.Web/NHibernate/WebSessionStorage

Rick Minerich's Development Wonderland wrote Discoveries This Week 01/30/2009
on 01-30-2009 2:47 PM

The beauty of clean syntax and deep abstraction is an often overlooked feature of functional programming. 

C-W Stenberg wrote re: S#arp Architecture Beta 1.0 now available!
on 02-01-2009 6:52 PM

Hello!

I just wanted to ask if you or someone else in sharparch team have looked on this? www.codeplex.com/Sculpture

Seems really intresting and useful for this project.

Thank you for your good and useful work

Concerned wrote re: S#arp Architecture Beta 1.0 now available!
on 08-30-2009 2:33 PM

I've looked at svn repository and there has not been any activity on this since 7/2009. Is this another framework that will die away, just like subsonic and others?

Billy McCafferty wrote re: S#arp Architecture Beta 1.0 now available!
on 08-30-2009 4:22 PM

Heh.  The lack of activity is intentional...I don't want people to have to upgrade every week since the release.  I'll be releasing quarterly updates...but thanks for the lack of confidence nonetheless.

Pharmk161 wrote re: S#arp Architecture Beta 1.0 now available!
on 12-09-2010 11:44 PM

Hello! febdafg interesting febdafg site!

Pharme257 wrote re: S#arp Architecture Beta 1.0 now available!
on 12-17-2010 12:24 AM

Hello! gcddadk interesting gcddadk site!

watches wrote re: S#arp Architecture Beta 1.0 now available!
on 04-28-2011 10:05 AM

very good post

About The CodeBetter.Com Blog Network
CodeBetter.Com FAQ

Our Mission

Advertisers should contact Brendan

Subscribe
Google Reader or Homepage

del.icio.us CodeBetter.com Latest Items
Add to My Yahoo!
Subscribe with Bloglines
Subscribe in NewsGator Online
Subscribe with myFeedster
Add to My AOL
Furl CodeBetter.com Latest Items
Subscribe in Rojo

Member Projects
DimeCasts.Net - Derik Whittaker

Friends of Devlicio.us
Red-Gate Tools For SQL and .NET

NDepend

SlickEdit
 
SmartInspect .NET Logging
NGEDIT: ViEmu and Codekana
LiteAccounting.Com
DevExpress
Fixx
NHibernate Profiler
Unfuddle
Balsamiq Mockups
Scrumy
JetBrains - ReSharper
Umbraco
NServiceBus
RavenDb
Web Sequence Diagrams
Ducksboard<-- NEW Friend!

 



Site Copyright © 2007 CodeBetter.Com
Content Copyright Individual Bloggers

 

Community Server (Commercial Edition)