Click here to Skip to main content
15,888,006 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
ok so if a standard n-tier architecture looks like this

Web
BAL
DLL
Datasource

what does an n-tier architecture using ado.net entity model and MEF look like..?
Posted
Comments
[no name] 10-Dec-11 19:11pm    
Generally I don’t think an architecture depends on tools….

1 solution

Entity Framework is just a means of accessing the data, so it falls within the DAL, Data Access Layer. MEF is used is in the business layer.
 
Share this answer
 
v2
Comments
webpeon80 10-Dec-11 19:13pm    
your a legend, for some reason ive been thinking the architecture is totally different and now i understand why i havent been able to find any learning materials based around this...

side question on MEF, would it not be better to place this inside the BLL - bussiness logic layer, with another project specifically for any interfaces that it may use like this

Web
BLL - MEF
Interfaces - MEF components
DAL - Ado Entity
DataSource
[no name] 10-Dec-11 19:33pm    
Sorry, I mistyped. MEF is more of a business layer function
webpeon80 10-Dec-11 19:38pm    
Thanks Mark,

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900