I’d like a dead simple explanation of policy injection for less-informed co-workers. Where is a good resource for this? I learned about policy injection from the entlib help files, which I’m sure aren’t the best option.
I’d like a dead simple explanation of policy injection for less-informed co-workers. Where is
Share
The MSDN documentation for Policy Injection has a pretty clear explanation:
Simply put, the PI block lets developers define a set of policies that specify the behavior of objects in the system. So your core business logic, such as the code that calculates profit per unit in a fiscal year (one concern), is separated from the logging of that execution of logic (another, but more often used, concern).
The same documentation says that the PI block is not AOP because:
So trying to look at PI from an AOP perspective can muddy the waters a bit.