-1

What is controller layer and where we put this in our 3-tier architecture?

1)UI
2)Business Logic Layer
3)Data Access Layer

I search in net but unable to get exact ans.Any links or sample example helps to understand better.Thanks.

  • I am not using mvc just simple asp.net web site so i want to know how I use controller layer in 3-tier architecture? – Shree Feb 18 '13 at 5:58
0

The controller layer is at the UI. It is basically "controlling" what action should take place in your application. Since you tagged this with asp.net, you should consider looking at Microsoft's version of this structure (called MVC for Model, View, Controller) - ASP.NET MVC

Edit: Seeing your comment, I've never attempted to shoe-horn MVC into the old WebForms way of life, but it looks like others have - codeproject

0

The controller handles user input. It is how the user controls your application. It's usually part of MVC: Model (data), View (screen), Controller (input device). The whole of MVC lives in the UI layer, with the model being passed around to the business and data layers (often after having been mapped to another entity).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.