Dapper

Herkese merhaba, Bu makalede sizlere stackoverflow tarafından geliştirilen micro orm kütüphanesi olan Dapper dan bahsediyor olacağım.Dapper Entity Framework gibi tam bir ORM (Object Relation Mapper) kütüphanesi değildir. Diğer ORM kütüphaneleri ile karşılaştırıldığında en dikkat çekici özelliği performansıdır. Neredeyse ADO.NET kadar hızlıdır. Büyük ölçekli .NET projelerinde veri erişimi için ado.net yerine tercih edilebilecek en iyi alternatif …

Continue reading ‘Dapper’ »

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’ »

Command Query Responsibility Separation

You can find about “Command Query Responsibility” many article here and here by Martin Fowler Queries: Return a result and do not change the observable state of the system (are free of side effects). Commands: Change the state of a system but do not return a value. Single Model: COS model : I studied on command …

Continue reading ‘Command Query Responsibility Separation’ »

Pluggable application modular in asp.net mvc

Previously ,i shared an a headed  sample module design with asp.net mvc concept. In this post,I’ll illustrate designing our large-scale asp.net mvc web projects using the areas. You’ll develop a web application using asp.net mvc, this web application has many sub-applications or module.You create an area inside core mvc project for these sub-applications and so …

Continue reading ‘Pluggable application modular in asp.net mvc’ »