Which pattern does the MVC Application follow?
I want to know by Default, which pattern does the MVC Application follow?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jignesh TrivediPosted Feb 20, 2013, 6:08 AM
hi,
we can also use repository pattern with asp.net application as well as window base application.
it is not complasory to use repository pattern with MVC
it depend on your type of application and need of application we can use any pattern like dependacy injection pattren, single ton etc...
hope this will help you.
Vijay YadavPosted Feb 20, 2013, 4:45 AM
Thanks for your reply.
I got your point and would go through the link provided by you. As you said MVC itself is a architectural pattern then why we use repository pattern for that? Please forgive me as I don't have any knowledge about Pattern.
Jignesh TrivediPosted Feb 20, 2013, 4:17 AM
Hi,
as per my knowledge, MVC itself architectural pattern.
The Model-View-Controller (MVC) architectural pattern separates an application into three main components: the model, the view, and the controller.
please refer
http://msdn.microsoft.com/en-us/library/ff649643.aspx
now microsoft built in support to MVC architecture
please refer
http://msdn.microsoft.com/en-us/library/dd381412%28v=vs.108%29.aspx
hope this will help you.