Browse by Tags

All Tags » AOP (RSS)

AOP with StructureMap Container by thangchung

Source code for this post can be found in my git . The first thing I want to say is what is a AOP? So we need to know about the definition of it, yes starting now. Aspect Oriented Programming (AOP) was originally developed in the late 1980’s at the Xerox...

DRY with Lambda Expression (errors management) by thangchung

In my current project, I have made a miracle with Lambda Expression. Have you ever implemented something like this: public abstract class GenericRepository <TEntity> : IRepository <TEntity> where TEntity : class , IEntity { private readonly...

NHibernate 3 and Autofac, can go together? (part 2) by thangchung

In part 1, I introduced about NHibernate and domain model for News Management System . And today, I will continue to show you about Autofac and how to make Autofac can understand all core instances of NHIbernate. If you do not read part 1, please read...

NHibernate 3 and Autofac, can go together? (part 1) by thangchung

In this post, I intend to explain about NHibernate and integrated it with Autofac . And some content that I will write as: NHibernate Introduce about NHibernate 3 Fluent NHibernate and its conventions Relationship Mapping (1-1, 1-*, *-*), value object...
More Posts