The Patterns in Action application is a very flexible system in which we show, well, Patterns in Action.
The Patterns and Architecture provide a lot of flexibility allowing you to run 4 different UI platforms (WebForms, MVC, WinForms, and WPF) against the same architecture. In addition you can use one of three data layers: ADO.NET, LINQ-to-SQL, or Entity Framework, simply by changing a setting in the web.config file.
The Spark platform is highly optimized for simplicity and performance. For data access it uses ADO.NET only. And patterns used include Repository, Unit of Work, CQRS, and Active Record. In many situations Spark is the better choice (we think).
Hope this helps.
Jack Poorte, Aug 26, 2013
Having thought about this I realise my mistake.
One of the important things for setting up a Breeze Web API is the Metadata so I created a Breeze Dao in the Data Layer and bubbled this up through to the Service Layer and the wrapped it in the Web API Controller, but, of course, I still have to write a new controller which is probably worth it.
The next question is to evaluate switching from a PIA structure or Spark design...
Do you have stress testing results comparing PIA and Spark...? If not it may be worth creating them.
[PS is posting to yoursefl the same as talking to yourself? lol]
Mark Pow, Aug 20, 2013