开发者

Microsoft alternative to S#arp Architecture and underlying technologies

As stated in another post S#arp Architecture combines ASP.NET MVC with other fram开发者_运维百科eworks 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?


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.


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


Microsoft provides The Unity Application Block for a dependency injection container if you are looking for the Microsoft alternative to the Castle Windsor container.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜