I am new in Asp.net MVC.i have created mvc application using datasource but i want mvc application using n tier architecture..same as like asp.net application generally they have Presentation layer Busineess layer and Data Layer.
I want to create mvc Application using n tier architecture...any help or demo link which followed mvc n tier architecture..
Your ASP.NET MVC controller can talk to whatever classes you have in your n-tier application.
For example, your ProductsController
would call your ProductsBusiness
layer, which would call your ProductRepository
which in turn queries the database.
Your controller should be very this, so there shouldn't really be too much logic in there. One way to look at it is to imagine you had to replace the entire ASP.NET MVC UI layer - so anything you want to reuse should be lower down. Another way to visualise this is to imagine writing a second UI that needs to re-use the business layer to do all the same things.
So your controller in your MVC application is a layer above your other n-tier layers.