Repository Factory
Don Smith is hinting at a new data access guidance package and is hoping for some feedback. Really looking forward to this!
Read More
The Repository Factory from Microsoft Patterns & Practices comes with a cool RepositoryFactory Class that maps Repository Interfaces to Repository Classes for a bit of loose coupling in your ASP.NET and Winform Applications. For more robust IoC Services, one could use Castle Windsor to serve the Repository Classes as well as other services in your .NET Applications. Here is an example.
Read More
The Repository Factory generates repository classes as partial classes which allows a developer to define custom properties and method in the data access layer in a separate partial class so the Repository Factory guidance automation recipes do not overwrite hand coded behavior.
Read More
The Repository Factory generates interfaces for each repository class in the data access layer which allows one to add call handlers from the Policy Injection Application Block to the interfaces to help with features like caching, validation, etc.
Read More
Based on a couple of requests in the CodePlex RepositoryFactory Forums, I have made the following source code available for those interested in passing in a connection string during runtime to the RepositoryFactory Class as opposed to reading the connection string from configuration.
Read More
I uploaded the Enterprise Library Configuration Editor Plug-In to the Repository Factory Source Code this morning. This allows a developer to view and manage the Repository Factory Configuration Section visually within the Enterprise Library Configuration Editor.
Read More
The Repository Factory has been released from Microsoft Patterns & Practices, which provides some nice code generation benefits for generating business entities, stored procedures, and a data access layer for you winform and web applications.
Read More
David Hayden is speaking to the Tampa .NET Developer Group on Thursday, October 18th, 2007 on the Repository Factory. In addition, David will talk about using the Policy Injection Application Block and Validation Application Block with the Repository Factory as well as creating a plug-in for Enterprise Library Design-Time Support.
Read More
Repository Factory gets Enterprise Library Configuration GUI Design Time support for reading and persisting repository classes to the web.config and app.config files.
Read More
The Data Access Guidance Package in the Web Service Software Factory is now a separate Guidance Package called the Repository Factory. It has some nifty improvements like a RepositoryFactory Class, Configuration Section, and generation of Interfaces.
Read More