Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Microsoft alternative to S#arp Architecture and underlying technologies

As stated in another post S#arp Architecture combines ASP.NET MVC with other frameworks and tools like

  • NHibernate 2.0.1
  • NHibernate.Validator
  • Fluent NHibernate
  • Castle Windsor
  • Rhino Mocks

I understand that it is less of a framework, and more of a set of best practices, supporting DDD and encouraging TDD in every stage of the process.

However, all the tools and frameworks S#arp is based on, are third-party products, supported by the community. Even though I question neither the quality of these products, nor the commitment of the people supporting them, it would be interesting to see if Microsoft will be offering an alternative to this approach.

I understand that EF v4.0 will manage to cover most of the shortcomings of its previous releases and that MVC will get updated to its next version, but still, this is far from the comprehensive solution offered by S#arp and its components.

So, what about Microsoft's answer to the S#arp Architecture?

like image 242
Chris Vosnidis Avatar asked Nov 17 '09 11:11

Chris Vosnidis


2 Answers

NHibernate 2.0.1
Linq to Sql (now redundent as it's been replaced with Linq to Entities)

NHibernate.Validator
There's no official equivalent. ASP.NET MVC 2.0 has validation (look for DataAnnotation Validation Support), and ValidationAspects works with Unity.

Update: infact DataAnnotations aren't a MVC thing but part of System.ComponentModel introduced in 3.5 SP1.

Fluent NHibernate
Not needed, as the Linq to SQL XML and code behind is generated by the designer.

Castle Windsor
Microsoft Unity

Rhino Mocks
Microsoft doesn't have a mocking engine, although MOQ is produced by a Microsoft MVP.

like image 72
Chris S Avatar answered Sep 20 '22 16:09

Chris S


Microsoft has the Web Client Software Factory which is produced by the Patterns and Practices team at Microsoft.

alt text http://i.msdn.microsoft.com/Bb264518.wcsf_corechallenges(en-us,MSDN.10).gif

like image 37
Jonathan Parker Avatar answered Sep 19 '22 16:09

Jonathan Parker