How do I write pluggable Modules in asp.net and EF?

VisualEvolution

New Member
My solution has a tired architecture:
  • DTO : Simple DataTransferObjects. It's shared between tiers
  • DAL: It's just the only project that knows about EF
  • Business: It has core business functionality and uses the DALservices to perform it's tasks
  • Web: UI tier
Now I want to create a new pluggable module with usercontrols. I found that it's better to use a separate web application project for each new pluggable module. the end-user then has the ability to add or remove this pluggabe module to it's application.My question is:Where do I have put the DTO, Business, and DAL classes of this new module?[*]Putting the mentioned classes in it's own project means I lose layering.(It needs to have it's own data access and business layer)[*]Putting the mentioned classes in related tiers means I lose pluggability.(DAL grows, BLL grows and when the end-user removes this module, DLLs still have deleted module's methods! Also Web-Tier needsto stop and restart cuase of new dlls)
 
Back
Top