Chain of Responsibility design pattern

Let’s explain the pattern step by step ; The chain-of-responsibility pattern is a design pattern consisting of a source of command objects and a series of processing objects.This design pattern is situated insi behavioral patterns. Avoid coupling the sender of a request to its receiver by giving more than one object a chance to handle the request. Chain the receiving objects and …

Continue reading ‘Chain of Responsibility design pattern’ »

EF Codefirst with Design Patterns

I frequently use codefirst approach of  Entity Framework in my asp.net mvc projects. Thefore I want to do much more flexible,independency using design patterns and that project is output. Briefly; Factory Pattern : ContextFactory Singleton Pattern : ContextFactory and UnitOfWork UnitOfWork Pattern  Repository Pattern :  Generic Repository Decorator Pattern : RepositoryDecoratorBase – CachableRepository, LoggableRepository, AuditableRepository Dependency Injection : …

Continue reading ‘EF Codefirst with Design Patterns’ »