This is most occurred .NET interview questions raised by every interviewer who is very eager and curious to know your working style on your actual project. So here we have highlighted some of them.
Q. Explain architecture of your MVC project?
A. As the name implies we are following the traditional MVC architecture.
Controller handle the user interaction logic, View have the UI part and Model contain the business logic and data.
Q. What about the data access layer?
A. We had a separate layer for that. Business class in the model layer was talking to data access layer.
Q. Any specific reason for making direct connection between Business layer and data access layer.
A. It’s a small project. There is hardly any chance of data access layer to get change.
In one of the previous project we have implemented Repository pattern and made business layer and data access layer loosely coupled.
Q. Interesting..What about the view and model binding? Do you always bind model to view directly?
A. it depends sometimes we bring up ViewModel in between. See the following video on ViewModel to know more.
For technical trainings on various topics like WCF, MVC, Business Intelligence, Design Patterns, WPF, TFS and basic fundamentals feel free to contact SukeshMarla@Gmail.com or visit www.sukesh-marla.com