tags:

views:

71

answers:

1

Hi, I am new to ASP.net MVC architecture. I have read in some articles that Model will contain business and data access logic. So does this mean that i have to implement the business and data access layrers in side model folder? And it is obviously not possible to add class libraries (business layer and Data access layer of n tier) in Model folder. SO please let me know how to design business and data layer if i dont want to include my LINQ queries in Controller.

Thanks, Amith

A: 

If you have an existing Business Object/Data Layer, just reference those DLLs, you dont need to use the Models folder. MVC uses DTO/ViewData objects a lot, those can go in the Models folders if you dont put them in your dlls.

Mark Redman
ok..but this is a new application. I have to write new business and datalayer.
Shetty