3

I am trying architect a big project which using Entity Framework. It's extendable application. I need to create some BLL, which I can use from Api controllers, Web controllers and another modules. I need to provide access to the db entities. But I want to control and add some logic for any changes of them. And I don't know which is the best way to implement it. Maybe I need to create some class such as controllers or to create proxies/wrappers for entities. Are there some patterns I can use?

p.s.w.g
  • 146,324
  • 30
  • 291
  • 331
Aries
  • 128
  • 5
  • Designing application questions are out of scope for SO. Please try to make your question more concrete... – Alexei Levenkov Mar 01 '13 at 21:51
  • If you want a ready-made plugin architecture, use MEF or MAF. (See http://stackoverflow.com/questions/835182/) But as Alexei points out, this question is a bad fit for StackOverflow. Try to post questions about *actual code*. – Eric Lippert Mar 01 '13 at 21:56

1 Answers1

0

I think that you need to use MEF. It is powerful framework for extensible applications. http://mef.codeplex.com/

Viacheslav Kovalev
  • 1,745
  • 12
  • 17